Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

陈少旭 8 months ago
parent
commit
fcd6d7b5c3

+ 54 - 1
src/api/drug/drug.js View File

731
 export function ModifySelfDrugWarehouse(data,patient_id,warehousing_time,warehousing_id){
731
 export function ModifySelfDrugWarehouse(data,patient_id,warehousing_time,warehousing_id){
732
  
732
  
733
   return request({
733
   return request({
734
-    url:"/api/drug/modifyselfdrugwarehouse?patient_id="+patient_id+"warehousing_time="+warehousing_time+"&warehousing_id="+warehousing_id,
734
+    url:"/api/drug/modifyselfdrugwarehouse?patient_id="+patient_id+"&warehousing_time="+warehousing_time+"&warehousing_id="+warehousing_id,
735
     method:"post",
735
     method:"post",
736
     data:data,
736
     data:data,
737
   })
737
   })
818
     method:"post",
818
     method:"post",
819
     data:params,
819
     data:params,
820
    })
820
    })
821
+}
822
+
823
+export function getSelfDrugQuery(params){
824
+  
825
+  return request({
826
+    url:"/api/drug/getselfdrugquery",
827
+    method:"get",
828
+    params:params
829
+  })
830
+}
831
+
832
+export function checkSelfOutDrugQuery(params){
833
+  
834
+  return request({
835
+    url:"/api/drug/checkselfdrugoutquery",
836
+    method:"Get",
837
+    params:params
838
+  })
839
+}
840
+
841
+export function returnCheckSelfOutDrugQuery(params){
842
+  
843
+   return request({
844
+    url:"/api/drug/returncheckselfoutdrugquery",
845
+    method:"get",
846
+    params:params,
847
+   })
848
+}
849
+
850
+export function returnSelfCheckWarehouse(params){
851
+ 
852
+  return request({
853
+    url:"/api/drug/returnselfcheckwarehouse",
854
+    method:"get",
855
+    params:params,
856
+  })
857
+}
858
+
859
+export function getSelfDrugFlow(params){
860
+  return request({
861
+    url:"/api/drug/getselfdrugflow",
862
+    method:"Get",
863
+    params:params,
864
+  })
865
+}
866
+
867
+export function getSelfDrugBatchNumberList(params){
868
+ 
869
+  return request({
870
+    url:"/api/drug/getselfdrugbatchnumberlist",
871
+    method:"Get",
872
+    params:params
873
+  })
821
 }
874
 }

+ 32 - 5
src/router/modules/selfPreparedMedicine.js View File

12
     isChild: true
12
     isChild: true
13
   },
13
   },
14
   children: [
14
   children: [
15
+    // {
16
+    //   path: '/stock/selfstockquery',
17
+    //   component: () => import('@/xt_pages/stock/selfPreparedMedicine/stockquery'),
18
+    //   name: 'stockquery',
19
+    //   meta: { title: '库存查询', noCache: true }
20
+
21
+    // },
22
+
23
+    {
24
+      path:'/stock/selfdrugquery',
25
+      component: () => import('@/xt_pages/stock/selfPreparedMedicine/selfDrugQuery'),
26
+      name: 'stockquery',
27
+      meta: { title: '自备药库存查询', noCache: true }
28
+
29
+    },
30
+
15
     {
31
     {
16
       path: '/stock/selfwarehouse/info',
32
       path: '/stock/selfwarehouse/info',
17
       component: () => import('@/xt_pages/stock/selfPreparedMedicine/warehouseInfo'),
33
       component: () => import('@/xt_pages/stock/selfPreparedMedicine/warehouseInfo'),
58
       hidden: true,
74
       hidden: true,
59
       is_menu: false,
75
       is_menu: false,
60
     },
76
     },
61
-    {
62
-      path: '/stock/selfstockquery',
63
-      component: () => import('@/xt_pages/stock/selfPreparedMedicine/stockquery'),
64
-      name: 'stockquery',
65
-      meta: { title: '库存查询', noCache: true }
66
 
77
 
78
+    {
79
+      path: '/stock/selfwarehouse/selfdrugflow',
80
+      component: () => import('@/xt_pages/stock/selfPreparedMedicine/selfDrugFlow'),
81
+      name: 'selfdrugflow',
82
+      meta: { title: '自备药流水', noCache: true },
83
+      hidden: true,
84
+      is_menu: false,
67
     },
85
     },
68
 
86
 
87
+    {
88
+      path: '/stock/selfwarehouse/selfdrugbatchnumber',
89
+      component: () => import('@/xt_pages/stock/selfPreparedMedicine/selfDrugBatchNumber'),
90
+      name: 'selfdrugflow',
91
+      meta: { title: '自备药批次', noCache: true },
92
+      hidden: true,
93
+      is_menu: false,
94
+    },
95
+    
69
     {
96
     {
70
       path: '/stock/selfPreparedMedicineIndex',
97
       path: '/stock/selfPreparedMedicineIndex',
71
       component: () => import('@/xt_pages/stock/selfPreparedMedicine/index'),
98
       component: () => import('@/xt_pages/stock/selfPreparedMedicine/index'),

+ 31 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_seventeen.vue View File

184
                     
184
                     
185
                     <span style="display:inline-block;">
185
                     <span style="display:inline-block;">
186
                     <label-box :isChecked="record.prescription.anticoagulant == 7 ? true : false" showValue="低分子肝素钠"></label-box>:
186
                     <label-box :isChecked="record.prescription.anticoagulant == 7 ? true : false" showValue="低分子肝素钠"></label-box>:
187
-                    <label-box :isChecked="record.prescription.anticoagulant == 6 ? true : false" showValue="低分子肝素钙"></label-box>:
187
+                    <!-- <label-box :isChecked="record.prescription.anticoagulant == 6 ? true : false" showValue="低分子肝素钙"></label-box>: -->
188
                     <label-box :isChecked="record.prescription.anticoagulant == 8 ? true : false" showValue="依诺肝素"></label-box>:
188
                     <label-box :isChecked="record.prescription.anticoagulant == 8 ? true : false" showValue="依诺肝素"></label-box>:
189
                     <label-box :isChecked="record.prescription.anticoagulant == 16 ? true : false" showValue="低分子量肝素钙"></label-box>:
189
                     <label-box :isChecked="record.prescription.anticoagulant == 16 ? true : false" showValue="低分子量肝素钙"></label-box>:
190
                     </span>
190
                     </span>
191
-                    <span style="display:inline-block;">
191
+                    <!-- <span style="display:inline-block;">
192
                         <div style="display:inline-block;width:30px;text-align:center">
192
                         <div style="display:inline-block;width:30px;text-align:center">
193
-                            {{ record.prescription.anticoagulant == 7 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "/" }}
193
+                            {{ record.prescription.anticoagulant == 7 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
194
+                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
195
+                            {{ record.prescription.anticoagulant == 6 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
196
+                            {{ record.prescription.anticoagulant == 8 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
197
+                            {{ record.prescription.anticoagulant == 16 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
194
                         </div>
198
                         </div>
195
                         <span v-if="record.prescription.anticoagulant == 5">mg</span>
199
                         <span v-if="record.prescription.anticoagulant == 5">mg</span>
196
                         <span v-if="record.prescription.anticoagulant == 4">mg</span>
200
                         <span v-if="record.prescription.anticoagulant == 4">mg</span>
199
                         <span v-if="record.prescription.anticoagulant == 1">mg</span>
203
                         <span v-if="record.prescription.anticoagulant == 1">mg</span>
200
                         <span v-if="record.prescription.anticoagulant == 6">iu</span>
204
                         <span v-if="record.prescription.anticoagulant == 6">iu</span>
201
                         <span v-if="record.prescription.anticoagulant == 7">iu</span>
205
                         <span v-if="record.prescription.anticoagulant == 7">iu</span>
202
-                    </span>
206
+                        <span v-if="record.prescription.anticoagulant == 8">iu</span>
207
+                        <span v-if="record.prescription.anticoagulant == 1">iu</span>
208
+                    </span> -->
203
                     <span style="display:inline-block;">
209
                     <span style="display:inline-block;">
204
                         <label-box :isChecked="record.prescription.anticoagulant == 2 ? true : false" showValue="普通肝素"></label-box>
210
                         <label-box :isChecked="record.prescription.anticoagulant == 2 ? true : false" showValue="普通肝素"></label-box>
205
                     </span>
211
                     </span>
206
                     <span style="display:inline-block;">
212
                     <span style="display:inline-block;">
207
                         首剂:
213
                         首剂:
208
                         <div style="display:inline-block;width:30px;text-align:center">
214
                         <div style="display:inline-block;width:30px;text-align:center">
209
-                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "/" }}
215
+                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
216
+                            {{ record.prescription.anticoagulant == 6 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
217
+                            {{ record.prescription.anticoagulant == 7 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
218
+                            {{ record.prescription.anticoagulant == 8 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
219
+                            {{ record.prescription.anticoagulant == 16 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
210
                         </div>
220
                         </div>
211
                         <span v-if="record.prescription.anticoagulant == 5">mg</span>
221
                         <span v-if="record.prescription.anticoagulant == 5">mg</span>
212
                         <span v-if="record.prescription.anticoagulant == 4">mg</span>
222
                         <span v-if="record.prescription.anticoagulant == 4">mg</span>
215
                         <span v-if="record.prescription.anticoagulant == 1">mg</span>
225
                         <span v-if="record.prescription.anticoagulant == 1">mg</span>
216
                         <span v-if="record.prescription.anticoagulant == 6">iu</span>
226
                         <span v-if="record.prescription.anticoagulant == 6">iu</span>
217
                         <span v-if="record.prescription.anticoagulant == 7">iu</span>
227
                         <span v-if="record.prescription.anticoagulant == 7">iu</span>
228
+                        <span v-if="record.prescription.anticoagulant == 8">iu</span>
229
+                        <span v-if="record.prescription.anticoagulant == 16">iu</span>
218
                     </span>
230
                     </span>
219
                     <span style="display:inline-block;">
231
                     <span style="display:inline-block;">
220
                         维持:
232
                         维持:
221
                         <div style="display:inline-block;width:30px;text-align:center">
233
                         <div style="display:inline-block;width:30px;text-align:center">
222
-                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi : "/" }}
234
+                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi : "" }}
235
+                            {{ record.prescription.anticoagulant == 6 && record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi : "" }}
236
+                            {{ record.prescription.anticoagulant == 7 && record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi : "" }}
237
+                            {{ record.prescription.anticoagulant == 8 && record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi : "" }}
238
+                            {{ record.prescription.anticoagulant == 16 && record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi : "" }}
223
                         </div>
239
                         </div>
224
                         <span v-if="record.prescription.anticoagulant == 5">ml/h</span>
240
                         <span v-if="record.prescription.anticoagulant == 5">ml/h</span>
225
                         <span v-if="record.prescription.anticoagulant == 4">mg/h</span>
241
                         <span v-if="record.prescription.anticoagulant == 4">mg/h</span>
228
                         <span v-if="record.prescription.anticoagulant == 1">mg/h</span>
244
                         <span v-if="record.prescription.anticoagulant == 1">mg/h</span>
229
                         <span v-if="record.prescription.anticoagulant == 6">iu/h</span>
245
                         <span v-if="record.prescription.anticoagulant == 6">iu/h</span>
230
                         <span v-if="record.prescription.anticoagulant == 7">iu/h</span>
246
                         <span v-if="record.prescription.anticoagulant == 7">iu/h</span>
247
+                        <span v-if="record.prescription.anticoagulant == 8">iu/h</span>
248
+                        <span v-if="record.prescription.anticoagulant == 16">iu/h</span>
231
                     </span>
249
                     </span>
232
                     <span style="display:inline-block;">
250
                     <span style="display:inline-block;">
233
                         总量:
251
                         总量:
234
                         <div style="display:inline-block;width:30px;text-align:center">
252
                         <div style="display:inline-block;width:30px;text-align:center">
235
-                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "/" }}
253
+                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "" }}
254
+                            {{ record.prescription.anticoagulant == 6 && record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "" }}
255
+                            {{ record.prescription.anticoagulant == 7 && record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "" }}
256
+                            {{ record.prescription.anticoagulant == 8 && record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "" }}
257
+                            {{ record.prescription.anticoagulant == 16 && record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "" }}
236
                         </div>
258
                         </div>
237
                         <span v-if="record.prescription.anticoagulant == 5">mg</span>
259
                         <span v-if="record.prescription.anticoagulant == 5">mg</span>
238
                         <span v-if="record.prescription.anticoagulant == 4">mg</span>
260
                         <span v-if="record.prescription.anticoagulant == 4">mg</span>
241
                         <span v-if="record.prescription.anticoagulant == 1">mg</span>
263
                         <span v-if="record.prescription.anticoagulant == 1">mg</span>
242
                         <span v-if="record.prescription.anticoagulant == 6">iu</span>
264
                         <span v-if="record.prescription.anticoagulant == 6">iu</span>
243
                         <span v-if="record.prescription.anticoagulant == 7">iu</span>
265
                         <span v-if="record.prescription.anticoagulant == 7">iu</span>
266
+                        <span v-if="record.prescription.anticoagulant == 8">iu</span>
267
+                        <span v-if="record.prescription.anticoagulant == 16">iu</span>
244
                     </span>
268
                     </span>
245
                     <span style="display:inline-block;">
269
                     <span style="display:inline-block;">
246
                     <label-box :isChecked="record.prescription.anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>
270
                     <label-box :isChecked="record.prescription.anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>

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

119
                       .blood_access_part_id
119
                       .blood_access_part_id
120
                       ? record.assessment_before_dislysis
120
                       ? record.assessment_before_dislysis
121
                           .blood_access_part_id
121
                           .blood_access_part_id
122
-                      : 0
122
+                      : ''
123
                   }}
123
                   }}
124
                   {{ bloodAccessParOperaName(record.assessment_before_dislysis.blood_access_part_opera_id) }}
124
                   {{ bloodAccessParOperaName(record.assessment_before_dislysis.blood_access_part_opera_id) }}
125
                   <!-- {{ blood_access_part_opera_name }} bloodAccessParOperaName-->
125
                   <!-- {{ blood_access_part_opera_name }} bloodAccessParOperaName-->
909
             </table>
909
             </table>
910
           </div>
910
           </div>
911
 
911
 
912
-          <div  style="border: 1px solid black;border-bottom:none;width: 99%;">
912
+          <div  style="border: 1px solid black;border-bottom:none;width: 99%;box-sizing: border-box;">
913
             <div class="row" style="display: flex;">
913
             <div class="row" style="display: flex;">
914
               <div class="inline_block" style="flex: 1">
914
               <div class="inline_block" style="flex: 1">
915
                 上机护士:
915
                 上机护士:
1101
               <div class="inline_block" style="flex: 1">
1101
               <div class="inline_block" style="flex: 1">
1102
                 穿刺:
1102
                 穿刺:
1103
                 <div class="under_line"
1103
                 <div class="under_line"
1104
-                  style="width: 90px; text-align: center"
1104
+                  style="width: 70%; text-align: center;white-space: normal;"
1105
                 >
1105
                 >
1106
                   {{ record.assessment_after_dislysis.internal_fistula ? record.assessment_after_dislysis.internal_fistula : "/" }}
1106
                   {{ record.assessment_after_dislysis.internal_fistula ? record.assessment_after_dislysis.internal_fistula : "/" }}
1107
                 </div>
1107
                 </div>
1110
               <div class="inline_block" style="flex: 1">
1110
               <div class="inline_block" style="flex: 1">
1111
                 透析器:
1111
                 透析器:
1112
                 <div class="under_line"
1112
                 <div class="under_line"
1113
-                  style="width: 90px; text-align: center"
1113
+                  style="width: 74%; text-align: center;white-space: normal;"
1114
                 >
1114
                 >
1115
                   {{ record.assessment_after_dislysis.cruor ? record.assessment_after_dislysis.cruor : "/" }}
1115
                   {{ record.assessment_after_dislysis.cruor ? record.assessment_after_dislysis.cruor : "/" }}
1116
                 </div>
1116
                 </div>

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

400
                         血管通路:
400
                         血管通路:
401
                         <div
401
                         <div
402
                           class="under_line"
402
                           class="under_line"
403
-                          style="width: 200px; text-align: center"
403
+                          style="width: 280px; text-align: center"
404
                         >
404
                         >
405
                           {{
405
                           {{
406
                             record.assessment_before_dislysis &&
406
                             record.assessment_before_dislysis &&
408
                               .blood_access_part_id
408
                               .blood_access_part_id
409
                               ? record.assessment_before_dislysis
409
                               ? record.assessment_before_dislysis
410
                                   .blood_access_part_id
410
                                   .blood_access_part_id
411
-                              : 0
411
+                              :  ""
412
                           }}
412
                           }}
413
                           {{
413
                           {{
414
-                            record.assessment_before_dislysis &&
415
-                            record.assessment_before_dislysis
416
-                              .blood_access_part_opera_name
417
-                              ? record.assessment_before_dislysis
418
-                                  .blood_access_part_opera_name
419
-                              : ""
414
+                            bloodAccessParOperaName(record.assessment_before_dislysis.blood_access_part_opera_id)
420
                           }}
415
                           }}
421
                         </div>
416
                         </div>
422
                       </div>
417
                       </div>
3014
                         实际超滤量:
3009
                         实际超滤量:
3015
                         <div
3010
                         <div
3016
                           class="under_line"
3011
                           class="under_line"
3017
-                          style="width: 100px; text-align: center"
3012
+                          style="width: 80px; text-align: center"
3018
                         >
3013
                         >
3019
                           {{
3014
                           {{
3020
                             record.assessment_after_dislysis &&
3015
                             record.assessment_after_dislysis &&
3798
     };
3793
     };
3799
   },
3794
   },
3800
   created() {
3795
   created() {
3796
+   
3801
     var bloodAccessParOpera = getDataConfig(
3797
     var bloodAccessParOpera = getDataConfig(
3802
       "hemodialysis",
3798
       "hemodialysis",
3803
       "vascular_access_desc"
3799
       "vascular_access_desc"
3804
     );
3800
     );
3801
+    this.bloodAccessParOpera = bloodAccessParOpera
3805
     this.way_arr = getDataConfig("hemodialysis", "way");
3802
     this.way_arr = getDataConfig("hemodialysis", "way");
3806
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
3803
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
3807
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");
3804
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");
3869
           this.records = this.records.concat(resp.data.schedules);
3866
           this.records = this.records.concat(resp.data.schedules);
3870
 
3867
 
3871
           //华池
3868
           //华池
3872
-          if(this.org_id == 0 || this.org_id ==10440){
3869
+          if(this.org_id ==10440){
3873
 
3870
 
3874
           var parint_id =0
3871
           var parint_id =0
3875
 
3872
 
3931
             }
3928
             }
3932
           }
3929
           }
3933
           for (const recordIndex in this.records) {
3930
           for (const recordIndex in this.records) {
3934
-            var dlegh = 0;
3935
-            if (
3936
-              this.records[recordIndex].monitor_records &&
3937
-              this.records[recordIndex].monitor_records.length < 8
3938
-            ) {
3939
-              dlegh = 8 - this.records[recordIndex].monitor_records.length;
3940
-            } else {
3941
-              dlegh = 0;
3942
-            }
3943
-            if (dlegh > 0) {
3944
-              if (
3945
-                typeof this.records[recordIndex].monitor_records ===
3946
-                  "undefined" ||
3947
-                this.records[recordIndex].monitor_records == null
3948
-              ) {
3949
-                this.records[recordIndex].monitor_records = [];
3950
-              }
3951
-              for (let index = 0; index < dlegh; index++) {
3952
-                this.records[recordIndex].monitor_records.push([]);
3953
-              }
3954
-            }
3931
+            var dlegh = this.records[recordIndex].monitor_records.length;
3932
+            // if (this.records[recordIndex].monitor_records &&this.records[recordIndex].monitor_records.length < 8) {
3933
+            //   dlegh = this.records[recordIndex].monitor_records.length;
3934
+            // } else {
3935
+            //   dlegh = 0;
3936
+            // }
3937
+            // if (dlegh > 0) {
3938
+            //   if (
3939
+            //     typeof this.records[recordIndex].monitor_records ===
3940
+            //       "undefined" ||
3941
+            //     this.records[recordIndex].monitor_records == null
3942
+            //   ) {
3943
+            //     this.records[recordIndex].monitor_records = [];
3944
+            //   }
3945
+            //   for (let index = 0; index < dlegh; index++) {
3946
+            //     this.records[recordIndex].monitor_records.push([]);
3947
+            //   }
3948
+            // }
3955
 
3949
 
3956
             this.records[recordIndex].isShowZero = false;
3950
             this.records[recordIndex].isShowZero = false;
3957
             if (this.records[recordIndex].patient.user_org_id == 9535) {
3951
             if (this.records[recordIndex].patient.user_org_id == 9535) {
4099
 
4093
 
4100
 
4094
 
4101
           if(this.records!=null && this.records.length>0){
4095
           if(this.records!=null && this.records.length>0){
4102
-            console.log("进啦地方大丰")
4096
+           
4103
             for(let i=0;i<this.records.length;i++){
4097
             for(let i=0;i<this.records.length;i++){
4104
               this.records[i].new_his_advices = []
4098
               this.records[i].new_his_advices = []
4105
                 for(let j=0;j<this.records[i].his_advices.length;j++){
4099
                 for(let j=0;j<this.records[i].his_advices.length;j++){
4430
       }
4424
       }
4431
       return displace_liqui_part_name;
4425
       return displace_liqui_part_name;
4432
     },
4426
     },
4427
+    bloodAccessParOperaName(id) {
4428
+      if (id in this.bloodAccessParOpera) {
4429
+        return this.bloodAccessParOpera[id].name;
4430
+      }
4431
+      return "";
4432
+    },
4433
   },
4433
   },
4434
 };
4434
 };
4435
 </script>
4435
 </script>

+ 63 - 43
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

13
            
13
            
14
             <span style="position: absolute;left: 20%;top: 3%">
14
             <span style="position: absolute;left: 20%;top: 3%">
15
               透前称重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
15
               透前称重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
16
-            
17
             </span>
16
             </span>
17
+
18
+          
18
            
19
            
19
             <span style="position: absolute;left: 30%;top: 3%">
20
             <span style="position: absolute;left: 30%;top: 3%">
20
               干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
21
               干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
23
               衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:""}}kg
24
               衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:""}}kg
24
             </span> -->
25
             </span> -->
25
             <span style="position: absolute;left:38%;top: 3%">
26
             <span style="position: absolute;left:38%;top: 3%">
26
-              上次透后体重:{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg
27
+              上次透后体重:
28
+               <span v-if="this.$store.getters.xt_user.template_info.org_id!=0 && this.$store.getters.xt_user.template_info.org_id!=10702">{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg</span> 
29
+               <span v-if="this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10702">{{last_record&&(last_record.weight_after-last_record.additional_weight).toFixed(2)?(last_record.weight_after-last_record.additional_weight).toFixed(2):""}}kg</span> 
27
             </span>
30
             </span>
28
 
31
 
29
-            <span style="position: absolute;left:50%;top: 3%">
32
+            <span style="position: absolute;left:51%;top: 3%">
30
               4小时超滤量上限(5%):
33
               4小时超滤量上限(5%):
31
               <span v-if="predialysis!=null && ((predialysis.dry_weight)*0.05) >0 "></span> {{(predialysis.dry_weight*0.05).toFixed(2)}}
34
               <span v-if="predialysis!=null && ((predialysis.dry_weight)*0.05) >0 "></span> {{(predialysis.dry_weight*0.05).toFixed(2)}}
32
               kg
35
               kg
33
             </span>
36
             </span>
34
-            <span style="position: absolute;left: 70%;top: 3%">
37
+            <span style="position: absolute;left: 70%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id!=0&&this.$store.getters.xt_user.template_info.org_id!=10702">
35
               透前血压:  {{predialysis&&predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:""  }} / {{ predialysis&&predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:"" }} mmHg
38
               透前血压:  {{predialysis&&predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:""  }} / {{ predialysis&&predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:"" }} mmHg
36
             </span>
39
             </span>
37
 
40
 
38
-            <!-- <span style="position: absolute;left: 20%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id == 0 || this.$store.getters.xt_user.template_info.org_id ==10702">
39
-              透前体重:{{predialysis&&(predialysis.weight_before - predialysis.additional_weight).toFixed(2)?(predialysis.weight_before-predialysis.additional_weight).toFixed(2):"" }} kg
41
+            <span style="position: absolute;left: 70%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id==0||this.$store.getters.xt_user.template_info.org_id==10702">
42
+             衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:"" }} kg
43
+            </span>
44
+
45
+            <span style="position: absolute;left: 80%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id == 0 || this.$store.getters.xt_user.template_info.org_id ==10702">
46
+              体重增长:{{predialysis&&((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2)?((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2):"" }} kg
40
             
47
             
41
-            </span> -->
48
+            </span>
42
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
49
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
43
             <el-form
50
             <el-form
44
                     ref="dialysisPrescription"
51
                     ref="dialysisPrescription"
347
                     </el-col>
354
                     </el-col>
348
 
355
 
349
                     <el-col :span="8" v-if="anticoagulant!=undefined && anticoagulant.shouji != -1 && isShows('首剂')  && dialysisPrescription.anticoagulant!=1 && dialysisPrescription.anticoagulant!=12">
356
                     <el-col :span="8" v-if="anticoagulant!=undefined && anticoagulant.shouji != -1 && isShows('首剂')  && dialysisPrescription.anticoagulant!=1 && dialysisPrescription.anticoagulant!=12">
350
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 &&
351
-                        this.$store.getters.xt_user.template_info.template_id != 54 &&
352
-                        this.$store.getters.xt_user.template_info.org_id != 10340 &&
353
-                        this.$store.getters.xt_user.template_info.org_id != 10432 &&
354
-                        this.$store.getters.xt_user.template_info.org_id != 9829 &&
355
-                        this.$store.getters.xt_user.template_info.org_id != 10440 &&
356
-                        this.$store.getters.xt_user.template_info.org_id != 10469 &&
357
-                        this.$store.getters.xt_user.template_info.org_id != 10471 &&
358
-                        this.$store.getters.xt_user.template_info.org_id != 10495 &&
359
-                        this.$store.getters.xt_user.template_info.org_id != 10375 &&
360
-                        this.$store.getters.xt_user.template_info.org_id != 10600">
361
-                       <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 &&
362
-                          this.$store.getters.xt_user.template_info.template_id != 45 &&
363
-                          this.$store.getters.xt_user.template_info.org_id != 10346 &&
364
-                          this.$store.getters.xt_user.template_info.org_id != 10387 &&
365
-                          this.$store.getters.xt_user.template_info.org_id != 10495 &&
366
-                          this.$store.getters.xt_user.template_info.org_id != 10375 &&
367
-                          this.$store.getters.xt_user.template_info.org_id != 10551 &&
368
-                          this.$store.getters.xt_user.template_info.org_id != 10600
369
-                           ">
370
-                            <el-form-item
371
-                                    v-if='dialysisPrescription.anticoagulant != 1 &&
372
-                                    this.$store.getters.xt_user.template_info.template_id != 21 &&
373
-                                     this.$store.getters.xt_user.template_info.template_id != 23 &&
374
-                                      this.$store.getters.xt_user.template_info.template_id != 38 &&
375
-                                       this.$store.getters.xt_user.template_info.org_id != 9987 &&
376
-                                        this.$store.getters.xt_user.template_info.org_id!=9990'
377
-                                    :label="'首剂(' + anticoagulant.shouji_unit + ') : '" prop="anticoagulant_shouji"
378
-                                    :rules="isCheckmust('首剂')">
357
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 &&  this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 &&this.$store.getters.xt_user.template_info.org_id != 10495 &&this.$store.getters.xt_user.template_info.org_id != 10375 &&this.$store.getters.xt_user.template_info.org_id != 10600 && this.$store.getters.xt_user.template_info.org_id != 10702">
358
+                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 &&this.$store.getters.xt_user.template_info.template_id != 45 &&this.$store.getters.xt_user.template_info.org_id != 10346 &&this.$store.getters.xt_user.template_info.org_id != 10387 &&this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 &&this.$store.getters.xt_user.template_info.org_id != 10551 && this.$store.getters.xt_user.template_info.org_id != 10600">
359
+                            <el-form-item v-if='dialysisPrescription.anticoagulant != 1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.org_id != 9987 &&  this.$store.getters.xt_user.template_info.org_id!=9990' :label="'首剂(' + anticoagulant.shouji_unit + ') : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
379
 
360
 
380
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
361
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
381
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
362
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
382
 
363
 
383
-                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
384
-                                          v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
364
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1" v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
385
                             </el-form-item>
365
                             </el-form-item>
386
 
366
 
387
                             <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant==7 &&
367
                             <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant==7 &&
452
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
432
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
453
                             </el-form-item>
433
                             </el-form-item>
454
 
434
 
455
-                            <el-form-item v-else :label="'首剂(' + anticoagulant.shouji_unit + ') : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
435
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 13" :label="'首剂(AXaIU) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
436
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
437
+                                          v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
438
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
439
+                                          v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
440
+                            </el-form-item>
441
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 11" :label="'首剂(AXaIU) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
442
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
443
+                                          v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
444
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
445
+                                          v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
446
+                            </el-form-item>
447
+
448
+                            <el-form-item  v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 11 && dialysisPrescription.anticoagulant != 13" :label="'首剂(' + anticoagulant.shouji_unit + ') : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
456
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
449
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
457
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
450
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
458
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
451
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
466
 
459
 
467
 
460
 
468
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.weichi != -1 && isShows('维持')  && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
461
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.weichi != -1 && isShows('维持')  && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
469
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 9671  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 && this.$store.getters.xt_user.template_info.org_id != 10600">
462
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 9671  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 && this.$store.getters.xt_user.template_info.org_id != 10600 && this.$store.getters.xt_user.template_info.org_id != 10702">
470
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 ">
463
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 ">
471
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
464
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
472
                                           v-if="anticoagulant.weichi != -1 &&
465
                                           v-if="anticoagulant.weichi != -1 &&
539
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
532
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
540
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
533
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
541
                             </el-form-item>
534
                             </el-form-item>
542
-                            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" v-else
535
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 13" :label="'维持(AXaIU) : '"
536
+                            prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
537
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
538
+                                          v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
539
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
540
+                                          v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
541
+                            </el-form-item>
542
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 11" :label="'维持(AXaIU) : '"
543
+                            prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
544
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
545
+                                          v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
546
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
547
+                                          v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
548
+                            </el-form-item>
549
+                            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" 
550
+                            v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 11 && dialysisPrescription.anticoagulant != 13"
543
                             prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
551
                             prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
544
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
552
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
545
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
553
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
562
 
570
 
563
 
571
 
564
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.zongliang != -1 && isShows('总量') && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
572
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.zongliang != -1 && isShows('总量') && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
565
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 && this.$store.getters.xt_user.template_info.org_id != 10551 && this.$store.getters.xt_user.template_info.org_id != 10600">
573
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 && this.$store.getters.xt_user.template_info.org_id != 10551 && this.$store.getters.xt_user.template_info.org_id != 10600 && this.$store.getters.xt_user.template_info.org_id != 10702">
566
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495">
574
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495">
567
                             <el-form-item
575
                             <el-form-item
568
                                     v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375  && this.$store.getters.xt_user.template_info.org_id != 10551 && this.$store.getters.xt_user.template_info.org_id != 10600'
576
                                     v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375  && this.$store.getters.xt_user.template_info.org_id != 10551 && this.$store.getters.xt_user.template_info.org_id != 10600'
624
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
632
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
625
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
633
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
626
                             </el-form-item>
634
                             </el-form-item>
627
-                            <el-form-item v-else :label="'总量(' + anticoagulant.zongliang_unit + ') : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
635
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 13" :label="'总量(AXaIU) : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
636
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
637
+                                          v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
638
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
639
+                                          v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
640
+                            </el-form-item>
641
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 11" :label="'总量(AXaIU) : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
642
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
643
+                                          v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
644
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
645
+                                          v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
646
+                            </el-form-item>
647
+                            <el-form-item v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 11 && dialysisPrescription.anticoagulant != 13" :label="'总量(' + anticoagulant.zongliang_unit + ') : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
628
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
648
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
629
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
649
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
630
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
650
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"

+ 9 - 8
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

387
                 org_id == 10599 || 
387
                 org_id == 10599 || 
388
                 org_id == 10612 ||
388
                 org_id == 10612 ||
389
                 org_id == 10617 ||
389
                 org_id == 10617 ||
390
-                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635) &&
390
+                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635 || org_id ==10702) &&
391
                 org_id!=10387
391
                 org_id!=10387
392
             "
392
             "
393
           >
393
           >
458
               && org_id!=10432 && org_id!=10445
458
               && org_id!=10432 && org_id!=10445
459
               && org_id!=10410 && org_id!=10495 &&
459
               && org_id!=10410 && org_id!=10495 &&
460
                org_id!=10485 && org_id!=10395 && org_id!=10375
460
                org_id!=10485 && org_id!=10395 && org_id!=10375
461
-               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10697 && org_id!=10635)
461
+               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10697 && org_id!=10635  && org_id!=10702)
462
               || org_id == 10387
462
               || org_id == 10387
463
             "
463
             "
464
           >
464
           >
529
                 org_id == 10410 ||
529
                 org_id == 10410 ||
530
                 org_id == 10495  ||
530
                 org_id == 10495  ||
531
                 org_id == 10395
531
                 org_id == 10395
532
-                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635)
532
+                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635 || org_id ==10702)
533
                 && org_id!=10387
533
                 && org_id!=10387
534
             "
534
             "
535
           >
535
           >
584
               org_id!=10432 &&
584
               org_id!=10432 &&
585
               org_id!=10445 &&
585
               org_id!=10445 &&
586
               org_id!=10410 && org_id!=10495
586
               org_id!=10410 && org_id!=10495
587
-              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635) ||
587
+              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635  && org_id!=10702) ||
588
               org_id == 10387
588
               org_id == 10387
589
             "
589
             "
590
           >
590
           >
1681
                 org_id== 10432 ||
1681
                 org_id== 10432 ||
1682
                 org_id== 10445 ||
1682
                 org_id== 10445 ||
1683
                 org_id== 10410 ||
1683
                 org_id== 10410 ||
1684
-                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id ==10667 || org_id == 10693 || org_id ==10697 || org_id ==10635) &&
1684
+                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id ==10667 || org_id == 10693 || org_id ==10697 || org_id ==10635 || org_id ==10702) &&
1685
                 org_id!=10387
1685
                 org_id!=10387
1686
             "
1686
             "
1687
           >
1687
           >
1729
               org_id!=10445 &&
1729
               org_id!=10445 &&
1730
               org_id!=10410 &&
1730
               org_id!=10410 &&
1731
               org_id!=10485 &&
1731
               org_id!=10485 &&
1732
-              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693 && org_id!=10697 && org_id!=10635)
1732
+              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693 && org_id!=10697 && org_id!=10635 && org_id!=10702)
1733
               || org_id == 10387
1733
               || org_id == 10387
1734
             "
1734
             "
1735
           >
1735
           >
1802
                 org_id == 10599 ||
1802
                 org_id == 10599 ||
1803
                 org_id ==10612 || 
1803
                 org_id ==10612 || 
1804
                 org_id ==10617 || 
1804
                 org_id ==10617 || 
1805
-                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635)
1805
+                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635 || org_id == 10702)
1806
                 && org_id!=10387 && org_id!=10694
1806
                 && org_id!=10387 && org_id!=10694
1807
             "
1807
             "
1808
           >
1808
           >
1874
               org_id!=10667 &&
1874
               org_id!=10667 &&
1875
               org_id!=10693 &&
1875
               org_id!=10693 &&
1876
               org_id!=10697 &&
1876
               org_id!=10697 &&
1877
-              org_id!=10635
1877
+              org_id!=10635 &&
1878
+              org_id!=10702
1878
               )
1879
               )
1879
               || org_id == 10387 || org_id == 10694
1880
               || org_id == 10387 || org_id == 10694
1880
             "
1881
             "

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

20
           <th v-if="isShow('血流量1')" width="92px">血流量(ml/min)</th>
20
           <th v-if="isShow('血流量1')" width="92px">血流量(ml/min)</th>
21
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
21
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
22
           <th v-if="isShow('跨膜压1')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
22
           <th v-if="isShow('跨膜压1')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
23
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677  || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
24
-          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
23
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677  || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
24
+          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
25
           <th v-if=" isShow('超滤量1')"  width="76px"> 超滤量(ml) </th>
25
           <th v-if=" isShow('超滤量1')"  width="76px"> 超滤量(ml) </th>
26
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
-          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
26
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
+          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
28
           <th v-if="isShow('超滤率2')" width="92px">超滤率(ml/h)</th>
28
           <th v-if="isShow('超滤率2')" width="92px">超滤率(ml/h)</th>
29
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
29
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
30
           <th v-if="isShow('钠浓度1')" width="92px">钠浓度(mmol/L)</th>
30
           <th v-if="isShow('钠浓度1')" width="92px">钠浓度(mmol/L)</th>

+ 24 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue View File

165
             <td style="text-align:left;padding-left:15px;" colspan="6">
165
             <td style="text-align:left;padding-left:15px;" colspan="6">
166
               
166
               
167
               <span style="display:inline-block;">
167
               <span style="display:inline-block;">
168
-                <label-box :isChecked="anticoagulant == 6? true : false" showValue="低分子肝素钙"></label-box>:
168
+                <!-- <label-box :isChecked="anticoagulant == 6? true : false" showValue="低分子肝素钙"></label-box>: -->
169
                 <label-box :isChecked="anticoagulant == 7 ? true : false" showValue="低分子肝素钠"></label-box>:
169
                 <label-box :isChecked="anticoagulant == 7 ? true : false" showValue="低分子肝素钠"></label-box>:
170
                 <label-box :isChecked="anticoagulant == 8? true : false" showValue="依诺肝素"></label-box>:
170
                 <label-box :isChecked="anticoagulant == 8? true : false" showValue="依诺肝素"></label-box>:
171
                 <label-box :isChecked="anticoagulant == 16? true : false" showValue="低分子量肝素钙"></label-box>:
171
                 <label-box :isChecked="anticoagulant == 16? true : false" showValue="低分子量肝素钙"></label-box>:
172
                
172
                
173
               </span>
173
               </span>
174
-              <span style="display:inline-block;">
174
+              <!-- <span style="display:inline-block;">
175
                   <div style="display:inline-block;width:30px;text-align:center">
175
                   <div style="display:inline-block;width:30px;text-align:center">
176
                       {{ (anticoagulant == 6 || anticoagulant == 7) && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "/" }}
176
                       {{ (anticoagulant == 6 || anticoagulant == 7) && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "/" }}
177
                   </div>
177
                   </div>
182
                   <span v-if="prescription.anticoagulant == 1">mg</span>
182
                   <span v-if="prescription.anticoagulant == 1">mg</span>
183
                   <span v-if="prescription.anticoagulant == 6">iu</span>
183
                   <span v-if="prescription.anticoagulant == 6">iu</span>
184
                   <span v-if="prescription.anticoagulant == 7">iu</span>
184
                   <span v-if="prescription.anticoagulant == 7">iu</span>
185
-              </span>
185
+              </span> -->
186
               <span style="display:inline-block;">
186
               <span style="display:inline-block;">
187
                   <label-box :isChecked="anticoagulant == 2 ? true : false" showValue="普通肝素"></label-box>
187
                   <label-box :isChecked="anticoagulant == 2 ? true : false" showValue="普通肝素"></label-box>
188
               </span>
188
               </span>
189
               <span style="display:inline-block;">
189
               <span style="display:inline-block;">
190
                   首剂:
190
                   首剂:
191
                   <div style="display:inline-block;width:30px;text-align:center">
191
                   <div style="display:inline-block;width:30px;text-align:center">
192
-                      {{ anticoagulant == 2 && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "/" }}
192
+                      {{ anticoagulant == 2 && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}
193
+                      {{ anticoagulant == 6 && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}
194
+                      {{ anticoagulant == 7 && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}
195
+                      {{ anticoagulant == 8 && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}
196
+                      {{ anticoagulant == 16 && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}
193
                   </div>
197
                   </div>
194
                   <span v-if="prescription.anticoagulant == 5">mg</span>
198
                   <span v-if="prescription.anticoagulant == 5">mg</span>
195
                   <span v-if="prescription.anticoagulant == 4">mg</span>
199
                   <span v-if="prescription.anticoagulant == 4">mg</span>
198
                   <span v-if="prescription.anticoagulant == 1">mg</span>
202
                   <span v-if="prescription.anticoagulant == 1">mg</span>
199
                   <span v-if="prescription.anticoagulant == 6">iu</span>
203
                   <span v-if="prescription.anticoagulant == 6">iu</span>
200
                   <span v-if="prescription.anticoagulant == 7">iu</span>
204
                   <span v-if="prescription.anticoagulant == 7">iu</span>
205
+                  <span v-if="prescription.anticoagulant == 8">iu</span>
206
+                  <span v-if="prescription.anticoagulant == 16">iu</span>
201
               </span>
207
               </span>
202
               <span style="display:inline-block;">
208
               <span style="display:inline-block;">
203
                   维持:
209
                   维持:
204
                   <div style="display:inline-block;width:30px;text-align:center">
210
                   <div style="display:inline-block;width:30px;text-align:center">
205
-                      {{ anticoagulant == 2 && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "/" }}
211
+                      {{ anticoagulant == 2 && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}
212
+                      {{ anticoagulant == 6 && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}
213
+                      {{ anticoagulant == 7 && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}
214
+                      {{ anticoagulant == 8 && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}
215
+                      {{ anticoagulant == 16 && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}
206
                   </div>
216
                   </div>
207
                   <span v-if="prescription.anticoagulant == 5">ml/h</span>
217
                   <span v-if="prescription.anticoagulant == 5">ml/h</span>
208
                   <span v-if="prescription.anticoagulant == 4">mg/h</span>
218
                   <span v-if="prescription.anticoagulant == 4">mg/h</span>
211
                   <span v-if="prescription.anticoagulant == 1">mg/h</span>
221
                   <span v-if="prescription.anticoagulant == 1">mg/h</span>
212
                   <span v-if="prescription.anticoagulant == 6">iu/h</span>
222
                   <span v-if="prescription.anticoagulant == 6">iu/h</span>
213
                   <span v-if="prescription.anticoagulant == 7">iu/h</span>
223
                   <span v-if="prescription.anticoagulant == 7">iu/h</span>
224
+                  <span v-if="prescription.anticoagulant == 8">iu/h</span>
225
+                  <span v-if="prescription.anticoagulant == 16">iu/h</span>
214
               </span>
226
               </span>
215
               <span style="display:inline-block;">
227
               <span style="display:inline-block;">
216
                   总量:
228
                   总量:
217
                   <div style="display:inline-block;width:30px;text-align:center">
229
                   <div style="display:inline-block;width:30px;text-align:center">
218
-                      {{ anticoagulant == 2 && prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "/" }}
230
+                      {{ anticoagulant == 2 && prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "" }}
231
+                      {{ anticoagulant == 6 && prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "" }}
232
+                      {{ anticoagulant == 7 && prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "" }}
233
+                      {{ anticoagulant == 8 && prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "" }}
234
+                      {{ anticoagulant == 16 && prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "" }}
219
                   </div>
235
                   </div>
220
                   <span v-if="prescription.anticoagulant == 5">mg</span>
236
                   <span v-if="prescription.anticoagulant == 5">mg</span>
221
                   <span v-if="prescription.anticoagulant == 4">mg</span>
237
                   <span v-if="prescription.anticoagulant == 4">mg</span>
224
                   <span v-if="prescription.anticoagulant == 1">mg</span>
240
                   <span v-if="prescription.anticoagulant == 1">mg</span>
225
                   <span v-if="prescription.anticoagulant == 6">iu</span>
241
                   <span v-if="prescription.anticoagulant == 6">iu</span>
226
                   <span v-if="prescription.anticoagulant == 7">iu</span>
242
                   <span v-if="prescription.anticoagulant == 7">iu</span>
243
+                  <span v-if="prescription.anticoagulant == 8">iu</span>
244
+                  <span v-if="prescription.anticoagulant == 16">iu</span>
227
               </span>
245
               </span>
228
               <span style="display:inline-block;">
246
               <span style="display:inline-block;">
229
                 <label-box :isChecked="anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>
247
                 <label-box :isChecked="anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>

+ 40 - 23
src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue View File

103
                 style=" width: 52%;
103
                 style=" width: 52%;
104
                   text-align: center; white-space: normal;
104
                   text-align: center; white-space: normal;
105
                 ">
105
                 ">
106
-                {{ predialysis.blood_access_part_id }}
107
-                {{ predialysis.blood_access_part_opera_name }}
106
+                {{ predialysis.blood_access_part_id ? predialysis.blood_access_part_id : '' }}
107
+                {{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name : '' }}
108
               </div>
108
               </div>
109
             </div>
109
             </div>
110
             <div class="inline_block" style="flex: 1;" >
110
             <div class="inline_block" style="flex: 1;" >
432
                 v-for="(advice, advice_index) in doctor_advices"
432
                 v-for="(advice, advice_index) in doctor_advices"
433
                 :key="advice_index"
433
                 :key="advice_index"
434
               >
434
               >
435
-                <td style="line-height:35px">
435
+                <td height="32px" style="line-height:35px">
436
                   <span v-if="advice.start_time">
436
                   <span v-if="advice.start_time">
437
                     {{ getTime(advice.start_time, "{h}:{i}") }}
437
                     {{ getTime(advice.start_time, "{h}:{i}") }}
438
                   </span>
438
                   </span>
515
                   />
515
                   />
516
                 </td>
516
                 </td>
517
               </tr>
517
               </tr>
518
+
518
             </tbody>
519
             </tbody>
519
           </table>
520
           </table>
520
         </div>
521
         </div>
626
           </table>
627
           </table>
627
         </div>
628
         </div>
628
 
629
 
629
-        <div  style="border: 1px solid black;border-bottom:none;border-top:none;width: 99%;">
630
+        <div  style="border: 1px solid black;border-bottom:none;border-top:none;width: 99%;box-sizing: content-box;">
630
           <div class="row" style="display: flex;">
631
           <div class="row" style="display: flex;">
631
             <div class="inline_block" style="flex: 1">
632
             <div class="inline_block" style="flex: 1">
632
               上机护士:
633
               上机护士:
722
             <div class="inline_block" style="flex: 1">
723
             <div class="inline_block" style="flex: 1">
723
               穿刺:
724
               穿刺:
724
               <div class="under_line"
725
               <div class="under_line"
725
-                style="width: 90px; text-align: center"
726
+                style="width: 70%; text-align: center;white-space: normal;"
726
               >
727
               >
727
                 {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "/" }}
728
                 {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "/" }}
728
               </div>
729
               </div>
731
             <div class="inline_block" style="flex: 1">
732
             <div class="inline_block" style="flex: 1">
732
               透析器:
733
               透析器:
733
               <div class="under_line"
734
               <div class="under_line"
734
-                style="width: 90px; text-align: center"
735
+                style="width: 74%; text-align: center;white-space:normal;"
735
               >
736
               >
736
                 {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
737
                 {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
737
               </div>
738
               </div>
809
           </div>
810
           </div>
810
         </div>
811
         </div>
811
         <!-- 透析小结 -->
812
         <!-- 透析小结 -->
812
-        <div style="width: 99%;border: 1px solid black;white-space: normal;">
813
+        <div style="width: 99%;border: 1px solid black;white-space: normal;box-sizing: content-box;">
813
           <div style="padding: 5px;">
814
           <div style="padding: 5px;">
814
             <div style="margin-bottom: 10px;">
815
             <div style="margin-bottom: 10px;">
815
               宣教知识:
816
               宣教知识:
1664
           this.patientInfo.first_dialysis_date = "";
1665
           this.patientInfo.first_dialysis_date = "";
1665
         }
1666
         }
1666
         this.check = response.data.data.check;
1667
         this.check = response.data.data.check;
1668
+        console.log('this.check12121',this.check);
1667
         this.xtdate = response.data.data.xtdate;
1669
         this.xtdate = response.data.data.xtdate;
1668
         this.predialysis = response.data.data.PredialysisEvaluation;
1670
         this.predialysis = response.data.data.PredialysisEvaluation;
1669
         console.log('透前评估', this.predialysis)
1671
         console.log('透前评估', this.predialysis)
1891
           this.doctor_advices[index]["isShow"] = 2;
1893
           this.doctor_advices[index]["isShow"] = 2;
1892
         }
1894
         }
1893
 
1895
 
1894
-        console.log("时间我我我哦我我",response.data.data.advices)
1895
-        console.log("新时间我哦我哦",this.doctor_advices)
1896
+        console.log("时间我我我哦我我",response.data.data)
1897
+        console.log("新时间我哦我哦医嘱121",this.doctor_advices)
1896
 
1898
 
1897
 
1899
 
1898
         if(this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633){
1900
         if(this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633){
2080
         }
2082
         }
2081
 
2083
 
2082
 
2084
 
2083
-        if (this.doctor_advices.length + this.projectsOne.length <= 6) {
2084
-            var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
2085
-            this.print_length = 6;
2085
+        // if (this.doctor_advices.length + this.projectsOne.length <= 6) {
2086
+        //   var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
2087
+        //   this.print_length = 6;
2088
+
2089
+        //   for (let index = 0; index < nl; index++) {
2090
+        //     if (
2091
+        //       this.projectsOne[index] == undefined ||
2092
+        //       this.projectsOne[index].length <= 0
2093
+        //     ) {
2094
+        //       this.projectsOne.push([]);
2095
+        //     } else {
2096
+        //       continue;
2097
+        //     }
2098
+        //   }
2099
+        // }
2100
+        if (this.doctor_advices.length <= 5) {
2101
+          console.log('111111',this.doctor_advices.length);
2102
+          var nl = 5
2103
+          this.print_length = 5
2086
 
2104
 
2087
-            for (let index = 0; index < nl; index++) {
2088
-              if (
2089
-                this.projectsOne[index] == undefined ||
2090
-                this.projectsOne[index].length <= 0
2091
-              ) {
2092
-                this.projectsOne.push([]);
2093
-              } else {
2094
-                continue;
2095
-              }
2105
+          for (let index = 0; index < nl; index++) {
2106
+            if (
2107
+              this.doctor_advices[index] == undefined ||
2108
+              this.doctor_advices[index].length <= 0
2109
+            ) {
2110
+              this.doctor_advices.push([])
2111
+            } else {
2112
+              continue
2096
             }
2113
             }
2097
           }
2114
           }
2098
-
2115
+        }
2099
 
2116
 
2100
         this.totollength = this.doctor_advices.length + this.monitors.length;
2117
         this.totollength = this.doctor_advices.length + this.monitors.length;
2101
-        console.log("this.totollength",this.totollength)
2118
+        console.log("this.totollength2222222",this.totollength)
2102
         if (this.totollength > 18) {
2119
         if (this.totollength > 18) {
2103
           var temp_advice_length = 17 - this.monitors.length;
2120
           var temp_advice_length = 17 - this.monitors.length;
2104
           var doctor_advices_1 = [];
2121
           var doctor_advices_1 = [];

+ 11 - 1
src/xt_pages/management/components/UserForm.vue View File

1101
         { id: 2, name: "500mg/l含氯消毒剂" },
1101
         { id: 2, name: "500mg/l含氯消毒剂" },
1102
         { id: 3, name: "1000mg/l含氯消毒剂" },
1102
         { id: 3, name: "1000mg/l含氯消毒剂" },
1103
         { id: 4, name: "1500mg/l含氯消毒剂" },
1103
         { id: 4, name: "1500mg/l含氯消毒剂" },
1104
-        { id: 5, name: "消毒湿巾" }
1104
+        { id: 5, name: "消毒湿巾" },
1105
+        { id: 6, name: "1.85g/L季铵盐" }
1105
       ],
1106
       ],
1106
       // 夜路消毒方式
1107
       // 夜路消毒方式
1107
       sterilizeType: [
1108
       sterilizeType: [
1406
             if (information[index].disinfectant_type === 5) {
1407
             if (information[index].disinfectant_type === 5) {
1407
                information[index].disinfectant_type = "消毒湿巾";
1408
                information[index].disinfectant_type = "消毒湿巾";
1408
             }
1409
             }
1410
+            if (information[index].disinfectant_type === 6) {
1411
+               information[index].disinfectant_type = "1.85g/L季铵盐";
1412
+            }
1409
 
1413
 
1410
             if (information[index].disinfection === 1) {
1414
             if (information[index].disinfection === 1) {
1411
               information[index].disinfection = "已消毒";
1415
               information[index].disinfection = "已消毒";
1989
             if (information[index].disinfectant_type === 5) {
1993
             if (information[index].disinfectant_type === 5) {
1990
               information[index].disinfectant_type = "消毒湿巾";
1994
               information[index].disinfectant_type = "消毒湿巾";
1991
             }
1995
             }
1996
+            if (information[index].disinfectant_type === 6) {
1997
+              information[index].disinfectant_type = "1.85g/L季铵盐";
1998
+            }
1992
 
1999
 
1993
             if (information[index].disinfection === 0) {
2000
             if (information[index].disinfection === 0) {
1994
               information[index].disinfection = "";
2001
               information[index].disinfection = "";
2327
            if (information[index].disinfectant_type === 5) {
2334
            if (information[index].disinfectant_type === 5) {
2328
               information[index].disinfectant_type = "消毒湿巾";
2335
               information[index].disinfectant_type = "消毒湿巾";
2329
             }
2336
             }
2337
+            if (information[index].disinfectant_type === 6) {
2338
+              information[index].disinfectant_type = "1.85g/L季铵盐";
2339
+            }
2330
 
2340
 
2331
             if (information[index].disinfection === 0) {
2341
             if (information[index].disinfection === 0) {
2332
               information[index].disinfection = "";
2342
               information[index].disinfection = "";

+ 8 - 1
src/xt_pages/management/home.vue View File

2999
           { id: 2, name: '500mg/l含氯消毒剂' },
2999
           { id: 2, name: '500mg/l含氯消毒剂' },
3000
           { id: 3, name: '1000mg/l含氯消毒剂' },
3000
           { id: 3, name: '1000mg/l含氯消毒剂' },
3001
           { id: 4, name: '1500mg/l含氯消毒剂' },
3001
           { id: 4, name: '1500mg/l含氯消毒剂' },
3002
-          { id: 5,  name:  "消毒湿巾"}
3002
+          { id: 5,  name:  "消毒湿巾"},
3003
+          { id:6,name:"1.85g/L季铵盐"}
3003
         ],
3004
         ],
3004
         // 夜路消毒方式
3005
         // 夜路消毒方式
3005
         sterilizeType: [
3006
         sterilizeType: [
3988
               if(plan[index].machine_disinfectant === 5){
3989
               if(plan[index].machine_disinfectant === 5){
3989
                  plan[index].machine_disinfectant = "消毒湿巾"
3990
                  plan[index].machine_disinfectant = "消毒湿巾"
3990
               }
3991
               }
3992
+              if(plan[index].machine_disinfectant === 6){
3993
+                 plan[index].machine_disinfectant = "1.85g/L季铵盐"
3994
+              }
3991
 
3995
 
3992
               if (plan[index].disinfectan_way === 0) {
3996
               if (plan[index].disinfectan_way === 0) {
3993
                 plan[index].disinfectan_way = '/'
3997
                 plan[index].disinfectan_way = '/'
4128
               if(plandetail[index].machine_disinfectant === 5){
4132
               if(plandetail[index].machine_disinfectant === 5){
4129
                   plandetail[index].machine_disinfectant = "消毒湿巾"
4133
                   plandetail[index].machine_disinfectant = "消毒湿巾"
4130
               }
4134
               }
4135
+              if(plandetail[index].machine_disinfectant === 6){
4136
+                  plandetail[index].machine_disinfectant = "1.85g/L季铵盐"
4137
+              }
4131
 
4138
 
4132
               if (plandetail[index].disinfectan_way === 0) {
4139
               if (plandetail[index].disinfectan_way === 0) {
4133
                 plandetail[index].disinfectan_way = '/'
4140
                 plandetail[index].disinfectan_way = '/'

+ 4 - 5
src/xt_pages/outpatientTool/components/detailStatistics.vue View File

73
           {{ scope.row.index }}
73
           {{ scope.row.index }}
74
         </template>
74
         </template>
75
       </el-table-column>
75
       </el-table-column>
76
-<!--      <el-table-column align="center" label="处方日期">-->
77
-<!--        <template slot-scope="scope">{{-->
78
-<!--          getTime(scope.row.record_date)-->
79
-<!--        }}</template>-->
80
-<!--      </el-table-column>-->
76
+     <el-table-column align="center" label="处方日期">
77
+        <template slot-scope="scope">
78
+          {{getTime(scope.row.record_date)}}</template>
79
+      </el-table-column>
81
       <el-table-column align="center" label="费用编码">
80
       <el-table-column align="center" label="费用编码">
82
         <template slot-scope="scope">
81
         <template slot-scope="scope">
83
           {{ scope.row.number }}
82
           {{ scope.row.number }}

+ 2 - 2
src/xt_pages/outpatientTool/components/gatherStatistics.vue View File

73
           {{ scope.$index + 1 }}
73
           {{ scope.$index + 1 }}
74
         </template>
74
         </template>
75
       </el-table-column>
75
       </el-table-column>
76
-      <el-table-column align="center" label="处方日期">
76
+      <!-- <el-table-column align="center" label="处方日期">
77
         <template slot-scope="scope">
77
         <template slot-scope="scope">
78
           <span v-if="scope.row.record_date > 0"
78
           <span v-if="scope.row.record_date > 0"
79
             >{{ getTimes(scope.row.record_date) }}
79
             >{{ getTimes(scope.row.record_date) }}
80
           </span>
80
           </span>
81
         </template>
81
         </template>
82
-      </el-table-column>
82
+      </el-table-column> -->
83
       <el-table-column align="center" label="费用分类">
83
       <el-table-column align="center" label="费用分类">
84
         <template slot-scope="scope">
84
         <template slot-scope="scope">
85
           <span v-if="scope.row.type == 1">
85
           <span v-if="scope.row.type == 1">

+ 1 - 23
src/xt_pages/stock/selfPreparedMedicine/addWarehouseInfo.vue View File

969
            }
969
            }
970
         })
970
         })
971
       },
971
       },
972
-      toReturnCheck(){
973
-         const loading = this.$loading({
974
-          lock: true,
975
-          text: "Loading",
976
-          spinner: "el-icon-loading",
977
-          background: "rgba(0, 0, 0, 0.7)",
978
-        });
979
-          var params = {
980
-            warehousing_id:this.warehousing_id,
981
-          }
982
-        toReturnCheckWarehousing(params).then(response=>{
983
-           if(response.data.state == 1){
984
-            var list = response.data.data.list
985
-             this.$message.success("反审核成功!")
986
-             this.showCheck = true
987
-             this.showReturnCheck = false
988
-             loading.close()
989
-           }else{
990
-            this.$message.error("反审核失败!")
991
-            loading.close()
992
-           }
993
-        })
994
-      },
972
+    
995
       changeUnit(val,index){
973
       changeUnit(val,index){
996
     
974
     
997
       },
975
       },

+ 30 - 2
src/xt_pages/stock/selfPreparedMedicine/addWarehouseOut.vue View File

351
   import BreadCrumb from "../../components/bread-crumb";
351
   import BreadCrumb from "../../components/bread-crumb";
352
   import { getDataConfig, getDictionaryDataConfig } from "@/utils/data";
352
   import { getDataConfig, getDictionaryDataConfig } from "@/utils/data";
353
   import { getAllDrugList, postSearchDrugList } from "@/api/data";
353
   import { getAllDrugList, postSearchDrugList } from "@/api/data";
354
-    import { getallPatientList,postSearchSelfDrugList,postSelfDrugWarehouseOut,getSelfDrugBatchNumber} from "@/api/drug/drug"
354
+  import { getallPatientList,postSearchSelfDrugList,postSelfDrugWarehouseOut,getSelfDrugBatchNumber,checkSelfOutDrugQuery} from "@/api/drug/drug"
355
   export default {
355
   export default {
356
     components: { BreadCrumb },
356
     components: { BreadCrumb },
357
     name: "stockIn",
357
     name: "stockIn",
1162
         }
1162
         }
1163
         return total;
1163
         return total;
1164
       },
1164
       },
1165
-    
1165
+      toCheck(){
1166
+         var params = {
1167
+            warehouse_out_id:this.warehouse_out_id,
1168
+            patient_id:this.patient_id,
1169
+         }
1170
+        checkSelfOutDrugQuery(params).then(response=>{
1171
+          if(response.data.state ==1){
1172
+            var warehousingOutInfoList = response.data.data.warehousingOutInfoList
1173
+              var msg =response.data.data.msg
1174
+              if(msg == 1){
1175
+                this.$message.success("审核成功!")
1176
+                this.showCheck = false
1177
+                this.showReturnCheck = true
1178
+                this.$router.back(-1)
1179
+              }
1180
+              if(msg == 2){
1181
+                var drug_name = response.data.data.drug_name
1182
+                var dose = response.data.data.dose
1183
+                var dose_unit = response.data.data.dose_unit
1184
+                var min_number = response.data.data.min_number
1185
+                var min_unit = response.data.data.min_unit
1186
+                var max_unit = response.data.data.max_unit
1187
+                var str = drug_name +" " +dose +dose_unit +"*" + min_number + min_unit +"/" + max_unit;
1188
+                this.$message.error(str+"库存不足,审核失败!")
1189
+              }
1190
+              loading.close()
1191
+          }
1192
+        })
1193
+      }
1166
     
1194
     
1167
     },
1195
     },
1168
     created() {
1196
     created() {

+ 39 - 19
src/xt_pages/stock/selfPreparedMedicine/editWarehouseInfo.vue View File

23
             class="filter-item"
23
             class="filter-item"
24
             >审核</el-button
24
             >审核</el-button
25
           >
25
           >
26
+
27
+          <el-button
28
+            size="small"
29
+            type="primary"
30
+           v-if="is_check == 1 && parseInt(this.$route.query.is_sys) == 0"
31
+            @click="toReturnCheck()"
32
+            class="filter-item"
33
+            >反审核</el-button>
26
         </div>
34
         </div>
27
       </div>
35
       </div>
28
       <div class="app-container" v-loading="loading">
36
       <div class="app-container" v-loading="loading">
340
   import { uParseTime } from "@/utils/tools";
348
   import { uParseTime } from "@/utils/tools";
341
   import {
349
   import {
342
     GetAllDrugInfoByID,
350
     GetAllDrugInfoByID,
343
-    toCheckWarehousingInfo,
344
-    toReturnCheckWarehousing,
345
   } from "@/api/drug/drug_stock";
351
   } from "@/api/drug/drug_stock";
346
   import BreadCrumb from "../../components/bread-crumb";
352
   import BreadCrumb from "../../components/bread-crumb";
347
   import { getDataConfig, getDictionaryDataConfig } from "@/utils/data";
353
   import { getDataConfig, getDictionaryDataConfig } from "@/utils/data";
348
   import { getAllDrugList } from "@/api/data";
354
   import { getAllDrugList } from "@/api/data";
349
-  import { getallPatientList,postSearchSelfDrugList,ModifySelfDrugWarehouse,getSelfDrugWarehouseInfoById,deleteSelfWarehouseInfo} from "@/api/drug/drug"
355
+  import { getallPatientList,postSearchSelfDrugList,ModifySelfDrugWarehouse,getSelfDrugWarehouseInfoById,deleteSelfWarehouseInfo,toCheckSelfWarehousingInfo,returnSelfCheckWarehouse} from "@/api/drug/drug"
350
   export default {
356
   export default {
351
     components: { BreadCrumb },
357
     components: { BreadCrumb },
352
     name: "stockIn",
358
     name: "stockIn",
468
         showReturnCheck:false,
474
         showReturnCheck:false,
469
         patientList:[],
475
         patientList:[],
470
         id:0,
476
         id:0,
477
+        is_check:0,
478
+        is_sys:0,
471
       };
479
       };
472
     },
480
     },
473
     methods: {
481
     methods: {
739
               stockIn: this.recordInfo.recordData,
747
               stockIn: this.recordInfo.recordData,
740
             };
748
             };
741
             console.log("params=---------------",params)
749
             console.log("params=---------------",params)
750
+            console.log("patinet_id-----------",this.patient_id)
751
+            console.log("warehousing_time-----------",this.warehousing_time)
752
+            console.log("warehousing_id--------------",this.warehousing_id)
742
             ModifySelfDrugWarehouse(
753
             ModifySelfDrugWarehouse(
743
               params,
754
               params,
744
               this.patient_id,
755
               this.patient_id,
752
               } else {
763
               } else {
753
                 this.loading = false;
764
                 this.loading = false;
754
                 this.$message.success("保存成功");
765
                 this.$message.success("保存成功");
766
+                this.showCheck = true
767
+                this.showReturnCheck = false
755
                 this.listLoading = false;
768
                 this.listLoading = false;
756
                 var list = response.data.data.list
769
                 var list = response.data.data.list
757
                 var manufacturerList = response.data.data.manufacturerList
770
                 var manufacturerList = response.data.data.manufacturerList
795
                 this.recordInfo.recordData = []
808
                 this.recordInfo.recordData = []
796
                 console.log("list========================",list)
809
                 console.log("list========================",list)
797
                 this.recordInfo.recordData = list
810
                 this.recordInfo.recordData = list
798
-                this.showCheck = true
799
-                this.showReturnCheck = false
811
+               
800
               }
812
               }
801
             });
813
             });
802
           } else {
814
           } else {
929
         });
941
         });
930
          var params = {
942
          var params = {
931
            warehousing_id:this.warehousing_id,
943
            warehousing_id:this.warehousing_id,
944
+           patient_id:this.patient_id
932
          }
945
          }
933
-        toCheckWarehousingInfo(params).then(response=>{
946
+         console.log("praams------",params)
947
+        toCheckSelfWarehousingInfo(params).then(response=>{
934
            if(response.data.state == 1){
948
            if(response.data.state == 1){
935
              var list = response.data.data.list
949
              var list = response.data.data.list
936
              this.$message.success("审核成功!")
950
              this.$message.success("审核成功!")
953
         });
967
         });
954
           var params = {
968
           var params = {
955
             warehousing_id:this.warehousing_id,
969
             warehousing_id:this.warehousing_id,
970
+            patient_id:this.patient_id,
956
           }
971
           }
957
-        toReturnCheckWarehousing(params).then(response=>{
972
+        returnSelfCheckWarehouse(params).then(response=>{
958
            if(response.data.state == 1){
973
            if(response.data.state == 1){
959
             var list = response.data.data.list
974
             var list = response.data.data.list
960
              this.$message.success("反审核成功!")
975
              this.$message.success("反审核成功!")
967
            }
982
            }
968
         })
983
         })
969
       },
984
       },
970
-      changeUnit(val,index){
971
-    
972
-      },
973
-       
974
-
975
       //新
985
       //新
976
       getSelfDrugWarehouseInfoById(id){
986
       getSelfDrugWarehouseInfoById(id){
977
         getSelfDrugWarehouseInfoById(id).then(response=>{
987
         getSelfDrugWarehouseInfoById(id).then(response=>{
978
            if(response.data.state == 1){
988
            if(response.data.state == 1){
979
              var info = response.data.data.info
989
              var info = response.data.data.info
990
+             if(info.is_check == 2){
991
+               this.showCheck = true
992
+               this.showReturnCheck = false
993
+             }
994
+             if(info.is_check == 1){
995
+                this.showCheck = false
996
+                this.showReturnCheck = true
997
+             }
980
              this.patient_id = info.patient_id
998
              this.patient_id = info.patient_id
981
-             this.warehousing_time  =this.getTime(info.record_date)
999
+             this.warehousing_time  =this.getTimeOne(info.record_date)
982
              this.manufacturerList = response.data.data.manufacturerList
1000
              this.manufacturerList = response.data.data.manufacturerList
983
              this.dealerList = response.data.data.dealerList
1001
              this.dealerList = response.data.data.dealerList
984
              this.drugTypeList = response.data.data.drugTypeList
1002
              this.drugTypeList = response.data.data.drugTypeList
990
              tempObj["drug_name"] = info.drug.drug_name;
1008
              tempObj["drug_name"] = info.drug.drug_name;
991
              tempObj["max_unit"] = info.max_unit;
1009
              tempObj["max_unit"] = info.max_unit;
992
              tempObj["min_unit"] = info.min_unit,
1010
              tempObj["min_unit"] = info.min_unit,
993
-             tempObj["product_date"] = this.getTime(info.product_date);
994
-             tempObj["expiry_date"] = this.getTime(info.expiry_date);
995
-             tempObj["warehousing_count"] = info.warehousing_count;
1011
+             tempObj["product_date"] = this.getTimeOne(info.product_date);
1012
+             tempObj["expiry_date"] = this.getTimeOne(info.expiry_date);
1013
+             tempObj["warehousing_count"] = info.warehousing_count.toString();
996
              tempObj["remark"] = info.remark;
1014
              tempObj["remark"] = info.remark;
997
              tempObj["dealer"] =this.getDealer(info.dealer) 
1015
              tempObj["dealer"] =this.getDealer(info.dealer) 
998
              tempObj["manufacturer"] = this.getManufacturer(info.manufacturer);
1016
              tempObj["manufacturer"] = this.getManufacturer(info.manufacturer);
1033
             }
1051
             }
1034
             return name
1052
             return name
1035
       },
1053
       },
1054
+      
1036
     },
1055
     },
1037
     created() {
1056
     created() {
1038
       var id =  this.$route.query.id
1057
       var id =  this.$route.query.id
1039
       var is_sys = this.$route.query.is_sys
1058
       var is_sys = this.$route.query.is_sys
1059
+      this.is_sys = is_sys
1060
+      console.log("is_check-=------------------------------------",is_sys)
1040
       var is_check = this.$route.query.is_check
1061
       var is_check = this.$route.query.is_check
1041
-      console.log("id",id)
1042
-      console.log("is_sys",is_sys)
1043
-      console.log("is_check",is_check)
1062
+      console.log("is_check-=------------------------------------",is_check)
1063
+      this.is_check= is_check
1044
       this.drugTypeList = getDictionaryDataConfig("system", "drug_type");
1064
       this.drugTypeList = getDictionaryDataConfig("system", "drug_type");
1045
       this.getallPatientList() 
1065
       this.getallPatientList() 
1046
       this.getSelfDrugWarehouseInfoById(id)
1066
       this.getSelfDrugWarehouseInfoById(id)

+ 60 - 2
src/xt_pages/stock/selfPreparedMedicine/editWarehouseOut.vue View File

23
             class="filter-item"
23
             class="filter-item"
24
             >审核</el-button
24
             >审核</el-button
25
           >
25
           >
26
+
27
+          <el-button
28
+          size="small"
29
+          type="primary"
30
+          v-if="is_check == 1 && parseInt(this.$route.query.is_sys) == 0"
31
+          @click="toReturnCheck"
32
+          class="filter-item"
33
+          >反 审 核</el-button
34
+        >
26
        
35
        
27
         </div>
36
         </div>
28
       </div>
37
       </div>
346
   import {
355
   import {
347
     GetAllConfig,
356
     GetAllConfig,
348
     GetAllDrugInfoByID,
357
     GetAllDrugInfoByID,
349
-    postDrugWarehouse,
350
   } from "@/api/drug/drug_stock";
358
   } from "@/api/drug/drug_stock";
351
   import BreadCrumb from "../../components/bread-crumb";
359
   import BreadCrumb from "../../components/bread-crumb";
352
   import { getDataConfig, getDictionaryDataConfig } from "@/utils/data";
360
   import { getDataConfig, getDictionaryDataConfig } from "@/utils/data";
353
   import { getAllDrugList, postSearchDrugList } from "@/api/data";
361
   import { getAllDrugList, postSearchDrugList } from "@/api/data";
354
-    import { getallPatientList,postSearchSelfDrugList,modifySelfDrugWarehouseOut,getSelfDrugBatchNumber,getSelfDrugWarehouseOutById} from "@/api/drug/drug"
362
+  import { getallPatientList,postSearchSelfDrugList,modifySelfDrugWarehouseOut,getSelfDrugBatchNumber,getSelfDrugWarehouseOutById,checkSelfOutDrugQuery,returnCheckSelfOutDrugQuery} from "@/api/drug/drug"
355
   export default {
363
   export default {
356
     components: { BreadCrumb },
364
     components: { BreadCrumb },
357
     name: "stockIn",
365
     name: "stockIn",
1237
             }
1245
             }
1238
             return name
1246
             return name
1239
       },
1247
       },
1248
+
1249
+      toCheck(){
1250
+         var params = {
1251
+            warehouse_out_id:this.warehouse_out_id,
1252
+            patient_id:this.patient_id,
1253
+         }
1254
+        checkSelfOutDrugQuery(params).then(response=>{
1255
+          if(response.data.state ==1){
1256
+            var warehousingOutInfoList = response.data.data.warehousingOutInfoList
1257
+              var msg =response.data.data.msg
1258
+              if(msg == 1){
1259
+                this.$message.success("审核成功!")
1260
+                this.showCheck = false
1261
+                this.showReturnCheck = true
1262
+                this.$router.back(-1)
1263
+              }
1264
+              if(msg == 2){
1265
+                var drug_name = response.data.data.drug_name
1266
+                var dose = response.data.data.dose
1267
+                var dose_unit = response.data.data.dose_unit
1268
+                var min_number = response.data.data.min_number
1269
+                var min_unit = response.data.data.min_unit
1270
+                var max_unit = response.data.data.max_unit
1271
+                var str = drug_name +" " +dose +dose_unit +"*" + min_number + min_unit +"/" + max_unit;
1272
+                this.$message.error(str+"库存不足,审核失败!")
1273
+              }
1274
+              loading.close()
1275
+          }
1276
+        })
1277
+      },
1278
+      toReturnCheck(){
1279
+         var params = {
1280
+           warehouse_out_id:this.warehouse_out_id,
1281
+           patient_id:this.patient_id,
1282
+         }
1283
+        returnCheckSelfOutDrugQuery(params).then(response=>{
1284
+           if(response.data.state ==1){
1285
+            var out = response.data.data.out
1286
+            this.$message.success("反审核成功!")
1287
+            this.showCheck = true
1288
+            this.showReturnCheck = false
1289
+            loading.close()
1290
+            this.$router.back(-1)
1291
+           }else{
1292
+            this.$message.error(response.data.msg)
1293
+            loading.close()
1294
+            this.$router.back(-1);
1295
+           }
1296
+        })
1297
+      }
1240
     
1298
     
1241
     
1299
     
1242
     },
1300
     },

+ 2 - 6
src/xt_pages/stock/selfPreparedMedicine/stockquery.vue View File

131
 import { uParseTime } from "@/utils/tools";
131
 import { uParseTime } from "@/utils/tools";
132
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
132
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
133
 import { getDictionaryDataConfig,getDataConfig } from "@/utils/data";
133
 import { getDictionaryDataConfig,getDataConfig } from "@/utils/data";
134
-import { getSelfStockQuery } from "@/api/drug/drug"
134
+import { getSelfDrugQuery } from "@/api/drug/drug"
135
 export default {
135
 export default {
136
   name: "stockIn",
136
   name: "stockIn",
137
   created() {
137
   created() {
172
 
172
 
173
      getlist(){
173
      getlist(){
174
          var params ={
174
          var params ={
175
-           type_name:this.type_name,
176
-           start_time:this.start_time,
177
-           end_time:this.end_time,
178
-           keywords:this.keywords,
179
            page:this.page,
175
            page:this.page,
180
            limit:this.limit
176
            limit:this.limit
181
          }
177
          }
182
         console.log("params",params)
178
         console.log("params",params)
183
-       getSelfStockQuery(params).then(response=>{
179
+       getSelfDrugQuery(params).then(response=>{
184
           if(response.data.state == 1){
180
           if(response.data.state == 1){
185
             var stockQuery =  response.data.data.stockQuery
181
             var stockQuery =  response.data.data.stockQuery
186
             console.log("入库",stockQuery)
182
             console.log("入库",stockQuery)

+ 23 - 57
src/xt_pages/stock/selfPreparedMedicine/warehouseInfo.vue View File

37
           style="width: 200px"
37
           style="width: 200px"
38
           v-model.trim="searchKey"
38
           v-model.trim="searchKey"
39
           class="filter-item"
39
           class="filter-item"
40
-          placeholder="单据编码/制单人/药品名称"
40
+          placeholder="药品名称"
41
         />
41
         />
42
         <el-button
42
         <el-button
43
           size="small"
43
           size="small"
191
 
191
 
192
         <el-table-column label="生产厂家" align="center">
192
         <el-table-column label="生产厂家" align="center">
193
           <template slot-scope="scope">
193
           <template slot-scope="scope">
194
+           
194
             {{ getManufacturer(scope.row.manufacturer) }}
195
             {{ getManufacturer(scope.row.manufacturer) }}
195
           </template>
196
           </template>
196
         </el-table-column>
197
         </el-table-column>
207
           </template>
208
           </template>
208
         </el-table-column>
209
         </el-table-column>
209
 
210
 
211
+        <el-table-column label="审核状态" align="center">
212
+          <template slot-scope="scope">
213
+             <span v-if="scope.row.is_check ==1">已审核</span>
214
+             <span v-if="scope.row.is_check ==2">未审核</span>
215
+          </template>
216
+        </el-table-column>
217
+
210
         <el-table-column label="备注" align="center">
218
         <el-table-column label="备注" align="center">
211
           <template slot-scope="scope">
219
           <template slot-scope="scope">
212
              {{ scope.row.remark }}
220
              {{ scope.row.remark }}
274
   exportDrugList,
282
   exportDrugList,
275
 
283
 
276
 } from "@/api/drug/drug_stock";
284
 } from "@/api/drug/drug_stock";
277
-import { getAllDrugList } from "@/api/data";
278
 import { getDictionaryDataConfig } from "@/utils/data";
285
 import { getDictionaryDataConfig } from "@/utils/data";
279
 import BreadCrumb from "../../components/bread-crumb";
286
 import BreadCrumb from "../../components/bread-crumb";
280
   import { getallPatientList,getAllSelfDrugWarehouseInfoList,deleteSelfWarehouseInfo} from "@/api/drug/drug"
287
   import { getallPatientList,getAllSelfDrugWarehouseInfoList,deleteSelfWarehouseInfo} from "@/api/drug/drug"
368
       patient_id:0,
375
       patient_id:0,
369
       patientList:[],
376
       patientList:[],
370
       tableList:[],
377
       tableList:[],
371
-      manufacturerList:[],
372
       dealerList:[],
378
       dealerList:[],
373
       drugTypeList:[],
379
       drugTypeList:[],
374
     };
380
     };
384
         getAllSelfDrugWarehouseInfoList(params).then(response=>{
390
         getAllSelfDrugWarehouseInfoList(params).then(response=>{
385
           if(response.data.state ==1){
391
           if(response.data.state ==1){
386
             var infoList  =  response.data.data.infoList
392
             var infoList  =  response.data.data.infoList
387
-            console.log("infolist22222222222222",infoList)
388
             this.tableList = infoList
393
             this.tableList = infoList
389
             this.manufacturerList = response.data.data.manufacturerList
394
             this.manufacturerList = response.data.data.manufacturerList
395
+            console.log("infolist22222222222222",this.manufacturerList)
390
             this.dealerList = response.data.data.dealerList
396
             this.dealerList = response.data.data.dealerList
391
             this.drugTypeList = response.data.data.drugTypeList
397
             this.drugTypeList = response.data.data.drugTypeList
392
 
398
 
517
     },
523
     },
518
     handleSearch(id) {
524
     handleSearch(id) {
519
       this.WarehouseInfo.warehouseInfoDate = [];
525
       this.WarehouseInfo.warehouseInfoDate = [];
520
-      this.GetOrderDetail(id);
521
       this.dialogVisible = true;
526
       this.dialogVisible = true;
522
     },
527
     },
523
-    GetOrderDetail(order_id) {
524
-      const params = {
525
-        id: order_id,
526
-      };
527
-
528
-      this.WarehouseInfo.warehouseInfoDate = [];
529
-      getDrugWarehouseInfoList(params).then((response) => {
530
-        if (response.data.state == 0) {
531
-          this.$message.error(response.data.msg);
532
-          return false;
533
-        } else {
534
-          var obj = {total_count:0,is_total:1}
535
-          for (let i = 0; i < response.data.data.info.length; i++) {
536
-            response.data.data.info[i].is_total = 0
537
-            this.showOne = true;
538
-            this.WarehouseInfo.warehouseInfoDate.push(
539
-              response.data.data.info[i]
540
-            );
541
-            obj.total_count += (response.data.data.info[i].warehousing_count *response.data.data.info[i].price)
542
-          }
543
-          this.WarehouseInfo.warehouseInfoDate.push(obj)
544
-        
545
-          this.WarehouseInfo.warehouse = response.data.data.warehousing;
546
-          this.getAllDrugList();
547
-        }
548
-      });
549
-    },
550
     handleDelete: function (index, row) {
528
     handleDelete: function (index, row) {
551
-
552
-        this.$confirm('确定删除' + row.name + row.sub_name + '方案吗?', '提示', {
529
+        if(row.is_check ==1){
530
+          this.$message.error("该药品已经审核,不能删除!")
531
+          return false
532
+        }
533
+        if(row.is_sys ==1){
534
+          this.$message.error("该药瓶自动入库,不能删除!")
535
+          return false
536
+        }
537
+        this.$confirm('确定删除吗?', '提示', {
553
           confirmButtonText: '确定',
538
           confirmButtonText: '确定',
554
           cancelButtonText: '取消',
539
           cancelButtonText: '取消',
555
           type: 'warning'
540
           type: 'warning'
650
         .catch(() => {});
635
         .catch(() => {});
651
     },
636
     },
652
     handleCurrentChangeOne(val) {
637
     handleCurrentChangeOne(val) {
653
-      this.GetOrderDetail(val.id);
638
+     
654
     },
639
     },
655
     getTime(val) {
640
     getTime(val) {
656
       if (val < 0) {
641
       if (val < 0) {
671
       }
656
       }
672
       return name;
657
       return name;
673
     },
658
     },
674
-    getAllDrugList() {
675
-      getAllDrugList().then((response) => {
676
-        if (response.data.state == 1) {
677
-          var manufacturerList = response.data.data.manufacturerList;
678
-          this.manufacturerList = manufacturerList;
679
-          this.dealerList = response.data.data.dealerList;
680
-        }
681
-      });
682
-    },
659
+    
683
     getManufacturer(id) {
660
     getManufacturer(id) {
684
       var name = "";
661
       var name = "";
662
+      console.log("manufacturerList-=------",this.manufacturerList)
685
       for (let i = 0; i < this.manufacturerList.length; i++) {
663
       for (let i = 0; i < this.manufacturerList.length; i++) {
664
+
686
         if (id == this.manufacturerList[i].id) {
665
         if (id == this.manufacturerList[i].id) {
687
           name = this.manufacturerList[i].manufacturer_name;
666
           name = this.manufacturerList[i].manufacturer_name;
688
         }
667
         }
734
       });
713
       });
735
     },
714
     },
736
 
715
 
737
-    lili(){
738
-      console.log("exportList",this.exportList)
739
-    },
740
     toExport() {
716
     toExport() {
741
       if (this.order_id == "") {
717
       if (this.order_id == "") {
742
         this.$message.error("请勾选入库单");
718
         this.$message.error("请勾选入库单");
853
         getallPatientList().then(response=>{
829
         getallPatientList().then(response=>{
854
           if(response.data.state ==1){
830
           if(response.data.state ==1){
855
             var patient = response.data.data.patient
831
             var patient = response.data.data.patient
856
-            console.log("patient====",patient)
857
             this.patientList = []
832
             this.patientList = []
858
             var obj = {id:0,name:"全部"}
833
             var obj = {id:0,name:"全部"}
859
             this.patientList.push(obj)
834
             this.patientList.push(obj)
872
         }
847
         }
873
         return name
848
         return name
874
       },
849
       },
875
-      getManufacturer(id){
876
-         var manufacturer_name = ""
877
-         for(let i=0;i<this.manufacturerList.length;i++){
878
-           if(id == this.manufacturerList[i].id){
879
-            manufacturer_name = this.manufacturerList[i].manufacturer_name
880
-           }
881
-         }
882
-         return
883
-      },
884
       getDealerName(id){
850
       getDealerName(id){
885
         var dealer_name = ""
851
         var dealer_name = ""
886
         for(let i=0;i<this.dealerList.length;i++){
852
         for(let i=0;i<this.dealerList.length;i++){