huangyw 2 年之前
父節點
當前提交
d21e071493

+ 4 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue 查看文件

@@ -1850,7 +1850,7 @@ export default {
1850 1850
       getDialysisRecord(this.queryParams).then((response) => {
1851 1851
         if (response.data.state == 1) {
1852 1852
           this.adminUser = response.data.data.users;
1853
-          this.xtdate = response.data.data.xtdate;
1853
+          // this.xtdate = response.data.data.xtdate;
1854 1854
           this.users = response.data.data.users;
1855 1855
           this.patientInfo = response.data.data.patientInfo;
1856 1856
           this.patientInfo.birth = uParseTime(
@@ -2339,6 +2339,7 @@ export default {
2339 2339
     }
2340 2340
 
2341 2341
     const xtdate = this.$route.query && this.$route.query.xtdate;
2342
+    console.log(xtdate,'xtdate')
2342 2343
     const xtno = this.$route.query && this.$route.query.xtno;
2343 2344
     if (
2344 2345
       typeof xtdate === "string" &&
@@ -2348,6 +2349,8 @@ export default {
2348 2349
     ) {
2349 2350
       this.queryParams.xtdate = xtdate;
2350 2351
       this.queryParams.xtno = xtno;
2352
+      this.xtdate = xtdate
2353
+
2351 2354
       this.getDialysisRecord();
2352 2355
     } else {
2353 2356
       this.$message.error("参数不齐");

+ 3 - 3
src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue 查看文件

@@ -113,13 +113,13 @@
113 113
                 >  (
114 114
                 <label-box
115 115
                   :isChecked="
116
-                    prescription.displace_liqui_part == 1 ? true : false
116
+                    prescription.mode_id == 2 && prescription.displace_liqui_part == 1 ? true : false
117 117
                   "
118 118
                   showValue="前稀释"
119 119
                 ></label-box>
120 120
                 <label-box
121 121
                   :isChecked="
122
-                    prescription.displace_liqui_part == 2 ? true : false
122
+                    prescription.mode_id == 2 && prescription.displace_liqui_part == 2 ? true : false
123 123
                   "
124 124
                   showValue="后稀释"
125 125
                 ></label-box>
@@ -127,7 +127,7 @@
127 127
                   ,置换量
128 128
                   <span style="width: 50px; display: inline-block">
129 129
                     {{
130
-                      prescription.displace_liqui_value
130
+                      prescription.displace_liqui_value && prescription.mode_id == 2
131 131
                         ? prescription.displace_liqui_value
132 132
                         : "/"
133 133
                     }}