Browse Source

8月5日,79打印单预览

yq1 7 months ago
parent
commit
b7127476b0
1 changed files with 10 additions and 3 deletions
  1. 10 3
      src/pages/main/template/DialysisPrintOrderServentynine.vue

+ 10 - 3
src/pages/main/template/DialysisPrintOrderServentynine.vue View File

@@ -285,11 +285,11 @@
285 285
                 <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
286 286
                 <td v-if="advice_index === 3">较干体重增加量:</td>
287 287
                 <td v-if="advice_index === 3">
288
-                  {{ patientInfo.total_dialysis +patientInfo.user_sys_before_count >0 && afterdialysis.weight_after != 0
288
+                  {{predialysis.dry_weight !=0 && afterdialysis.weight_after != 0
289 289
                     ? (afterdialysis.weight_after - predialysis.dry_weight).toFixed(2): 0 }}kg
290 290
                 </td>
291 291
                 <td v-if="advice_index === 4">净脱水量:</td>
292
-                <td v-if="advice_index === 4">{{ afterdialysis.actual_ultrafiltration }}ml</td>
292
+                <td v-if="advice_index === 4">{{ afterdialysis.actual_ultrafiltration }}L</td>
293 293
                 <td v-if="advice_index === 5">透后体重:</td>
294 294
                 <td v-if="advice_index === 5">{{ afterdialysis.weight_after }}kg</td>
295 295
                 <td v-if="advice_index === 6">本次透析体重下降量:</td>
@@ -844,7 +844,7 @@ export default {
844 844
           }
845 845
 
846 846
           this.advices = response.data.data.advices;
847
-          console.log("医嘱", this.advices);
847
+          console.log("医嘱", response.data.data);
848 848
           var doctorAdevieInfo = response.data.data.advices;
849 849
           var tableAdvice = doctorAdevieInfo;
850 850
           if (tableAdvice.length === 0) {
@@ -930,6 +930,13 @@ export default {
930 930
             tableAdvice.push(obj2);
931 931
             this.tableAdvice = tableAdvice;
932 932
           }
933
+          if (tableAdvice.length === 6) {
934
+            console.log('6666666',tableAdvice.length);
935
+            var obj = { advice_name: "", start_time: "" };
936
+            tableAdvice.push(obj);
937
+
938
+            this.tableAdvice = tableAdvice;
939
+          }
933 940
 
934 941
           if (tableAdvice.length >7) {
935 942
             // var obj = { advice_name: "", start_time: "" };