Browse Source

库存显示展示

XMLWAN 2 years ago
parent
commit
587c625c00

+ 6 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

1514
                                   "
1514
                                   "
1515
                                   >【开始透析】</template
1515
                                   >【开始透析】</template
1516
                                 >
1516
                                 >
1517
-                                <template
1517
+                                <!-- <template
1518
                                   v-if="
1518
                                   v-if="
1519
                                     record.dialysis_order &&
1519
                                     record.dialysis_order &&
1520
                                     monitor_record.operate_time ==
1520
                                     monitor_record.operate_time ==
1521
                                       record.dialysis_order.end_time
1521
                                       record.dialysis_order.end_time
1522
                                   "
1522
                                   "
1523
                                   >【结束透析】</template
1523
                                   >【结束透析】</template
1524
-                                >
1524
+                                > -->
1525
                                 {{ monitor_record.end }}
1525
                                 {{ monitor_record.end }}
1526
                                 {{ monitor_record.symptom }} &nbsp;{{
1526
                                 {{ monitor_record.symptom }} &nbsp;{{
1527
                                   monitor_record.dispose
1527
                                   monitor_record.dispose
3007
             }
3007
             }
3008
             if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
3008
             if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
3009
               this.records[i].monitor_records[j].end = "【结束透析】";
3009
               this.records[i].monitor_records[j].end = "【结束透析】";
3010
-            }
3010
+             }
3011
+             if(this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == ""){
3012
+               this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】"
3013
+             }
3011
             }
3014
             }
3012
           }
3015
           }
3013
           for (const recordIndex in this.records) {
3016
           for (const recordIndex in this.records) {

+ 3 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_sixty.vue View File

2687
             if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
2687
             if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
2688
               this.records[i].monitor_records[j].end = "【结束透析】";
2688
               this.records[i].monitor_records[j].end = "【结束透析】";
2689
             }
2689
             }
2690
+             if(this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == ""){
2691
+               this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】"
2692
+             }
2690
             }
2693
             }
2691
           }
2694
           }
2692
           console.log("hhhhhhhhh",this.records)
2695
           console.log("hhhhhhhhh",this.records)

+ 4 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyTwo.vue View File

392
                       >置换方式:
392
                       >置换方式:
393
                        <label-box
393
                        <label-box
394
                          :isChecked="
394
                          :isChecked="
395
-                          record.prescription.displace_liqui_part == 1 ? true : false
395
+                          record.prescription.displace_liqui_part == 1  ? true : false
396
                           "
396
                           "
397
                          showValue="前"
397
                          showValue="前"
398
                          ></label-box
398
                          ></label-box
403
                           "
403
                           "
404
                           showValue="后"
404
                           showValue="后"
405
                         ></label-box>
405
                         ></label-box>
406
-                          &nbsp; (总量:{{
406
+                          &nbsp; (总量:
407
+                          <span v-if="record.prescription.mode_id == 2 || record.prescription.mode_id == 5 || record.prescription.mode_id == 12">{{
407
                             record.prescription.displace_liqui_value
408
                             record.prescription.displace_liqui_value
408
                               ? record.prescription.displace_liqui_value
409
                               ? record.prescription.displace_liqui_value
409
                               : "/"
410
                               : "/"
410
                           }}L)
411
                           }}L)
412
+                          </span>
411
                       </span>&nbsp;
413
                       </span>&nbsp;
412
                   </td>
414
                   </td>
413
                 </tr>
415
                 </tr>

+ 3 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyTwo.vue View File

411
                   "
411
                   "
412
                   showValue="后"
412
                   showValue="后"
413
                 ></label-box>
413
                 ></label-box>
414
-                &nbsp; (总量:{{
414
+                &nbsp; (总量:
415
+                <span v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12">{{
415
                   prescription.displace_liqui_value
416
                   prescription.displace_liqui_value
416
                     ? prescription.displace_liqui_value
417
                     ? prescription.displace_liqui_value
417
                     : "/"
418
                     : "/"
418
                 }}L)
419
                 }}L)
420
+                </span>
419
               </span>
421
               </span>
420
             </td>
422
             </td>
421
           </tr>
423
           </tr>