Browse Source

11月15 打印单

yq1 1 week ago
parent
commit
2b6aca3a59

+ 7 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue View File

43
                   <td width="50">年 龄:</td>
43
                   <td width="50">年 龄:</td>
44
                   <td width="180">
44
                   <td width="180">
45
                     <div class="under-line">
45
                     <div class="under-line">
46
-                      &nbsp;{{ checkIdCardNo(record.patient.id_card_no) }}
46
+                      &nbsp;
47
+                      <span v-if="checkIdCardNo(record.patient.id_card_no)<100">
48
+                        {{ checkIdCardNo(record.patient.id_card_no) }}
49
+                      </span>
50
+                      <span v-else>
51
+                        {{ record.patient.age }}
52
+                      </span>
47
                     </div>
53
                     </div>
48
                   </td>
54
                   </td>
49
                   <td width="80">岁</td>
55
                   <td width="80">岁</td>

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue View File

1300
                             {{
1300
                             {{
1301
                               monitor.displacement_quantity
1301
                               monitor.displacement_quantity
1302
                                 ? monitor.displacement_quantity
1302
                                 ? monitor.displacement_quantity
1303
-                                : ""
1303
+                                : "0"
1304
                             }}
1304
                             }}
1305
                           </span>
1305
                           </span>
1306
                         </td>
1306
                         </td>
3040
 
3040
 
3041
         this.users = response.data.data.users;
3041
         this.users = response.data.data.users;
3042
         this.patientInfo = response.data.data.patientInfo;
3042
         this.patientInfo = response.data.data.patientInfo;
3043
+        console.log('this.patientInfo11111',this.patientInfo);
3043
 
3044
 
3044
         this.patientInfo.birth = uParseTime(
3045
         this.patientInfo.birth = uParseTime(
3045
           this.patientInfo.birthday,
3046
           this.patientInfo.birthday,

+ 9 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue View File

26
               <td width="50">年 龄:</td>
26
               <td width="50">年 龄:</td>
27
               <td width="150">
27
               <td width="150">
28
                 <div class="under-line">
28
                 <div class="under-line">
29
-                  &nbsp;{{ checkIdCardNo(patientInfo.id_card_no) }}
29
+                  &nbsp;
30
+                  <span v-if="checkIdCardNo(patientInfo.id_card_no)<100">
31
+                    {{ checkIdCardNo(patientInfo.id_card_no) }}
32
+                  </span>
33
+                  <span v-else>
34
+                    {{ patientInfo.age }}
35
+                  </span>
30
                 </div>
36
                 </div>
31
               </td>
37
               </td>
32
               <td width="60">岁</td>
38
               <td width="60">岁</td>
914
       getDialysisRecord(this.queryParams).then(response => {
920
       getDialysisRecord(this.queryParams).then(response => {
915
         if (response.data.state === 1) {
921
         if (response.data.state === 1) {
916
           this.total = response.data.data.total;
922
           this.total = response.data.data.total;
917
-
923
+          console.log('response.data.data',response.data.data);
924
+          
918
           this.adminUser = response.data.data.users;
925
           this.adminUser = response.data.data.users;
919
           this.users = response.data.data.users;
926
           this.users = response.data.data.users;
920
           var patientInfo = response.data.data.patientInfo;
927
           var patientInfo = response.data.data.patientInfo;