Browse Source

批量打印

XMLWAN 4 years ago
parent
commit
1087e440f2

+ 16 - 2
src/store/modules/globalConfig.js View File

490
         sodium: 1,
490
         sodium: 1,
491
         calcium: 1,
491
         calcium: 1,
492
         bicarbonate: 1
492
         bicarbonate: 1
493
-      }
493
+      },
494
       // 15: { id: 15, name: 'HD前置换', dialysis_duration: 1, replacement_way: 2, hemodialysis_machine: 1, blood_filter: 2, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 },
494
       // 15: { id: 15, name: 'HD前置换', dialysis_duration: 1, replacement_way: 2, hemodialysis_machine: 1, blood_filter: 2, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 },
495
       // 16: { id: 16, name: 'HD后置换', dialysis_duration: 1, replacement_way: 2, hemodialysis_machine: 1, blood_filter: 2, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 },
495
       // 16: { id: 16, name: 'HD后置换', dialysis_duration: 1, replacement_way: 2, hemodialysis_machine: 1, blood_filter: 2, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 },
496
       // 17: { id: 17, name: 'HDF前置换', dialysis_duration: 1, replacement_way: 1, hemodialysis_machine: 2, blood_filter: 1, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 },
496
       // 17: { id: 17, name: 'HDF前置换', dialysis_duration: 1, replacement_way: 1, hemodialysis_machine: 2, blood_filter: 1, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 },
497
       // 18: { id: 18, name: 'HDF后置换', dialysis_duration: 1, replacement_way: 1, hemodialysis_machine: 2, blood_filter: 1, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 }
497
       // 18: { id: 18, name: 'HDF后置换', dialysis_duration: 1, replacement_way: 1, hemodialysis_machine: 2, blood_filter: 1, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 }
498
-
498
+      19: {
499
+        id: 19,
500
+        name: 'UF',
501
+        dialysis_duration: 1,
502
+        replacement_way: 1,
503
+        hemodialysis_machine: 2,
504
+        blood_filter: 1,
505
+        perfusion_apparatus: 2,
506
+        blood_flow_volume: 1,
507
+        dialysate_flow: 1,
508
+        kalium: 1,
509
+        sodium: 1,
510
+        calcium: 1,
511
+        bicarbonate: 1
512
+      }
499
     },
513
     },
500
     anticoagulants_confit: { // 抗凝剂
514
     anticoagulants_confit: { // 抗凝剂
501
       1: {
515
       1: {

+ 74 - 25
src/xt_pages/dialysis/components/consumables.vue View File

42
         </div>
42
         </div>
43
       </div>
43
       </div>
44
       <div>
44
       <div>
45
-        <!-- <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">导出</el-button> -->
45
+        <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">导出</el-button>
46
         <el-button size="small" type="primary" @click="statistics">统计表</el-button>
46
         <el-button size="small" type="primary" @click="statistics">统计表</el-button>
47
       </div>
47
       </div>
48
     </div>
48
     </div>
64
         <el-table-column
64
         <el-table-column
65
           align="center"
65
           align="center"
66
           prop="name"
66
           prop="name"
67
-          v-for="item,index in good_types"
67
+          v-for="(item,index) in good_types"
68
           :key="index"
68
           :key="index"
69
           :label="item"
69
           :label="item"
70
         >
70
         >
139
 
139
 
140
         good_types: [],
140
         good_types: [],
141
         arrKey:[],
141
         arrKey:[],
142
+        arrList:[],
142
 
143
 
143
       }
144
       }
144
     },
145
     },
189
           arrlist.push(desc)
190
           arrlist.push(desc)
190
           return desc
191
           return desc
191
         }
192
         }
192
-       console.log("arrlist---------",arrlist)
193
         return ""
193
         return ""
194
        
194
        
195
         // else if (good_user != null && good_user.length <= 0) {
195
         // else if (good_user != null && good_user.length <= 0) {
213
             this.$message.error(response.data.msg)
213
             this.$message.error(response.data.msg)
214
             return false
214
             return false
215
           } else {
215
           } else {
216
-
216
+           
217
             this.list = []
217
             this.list = []
218
             this.good_types = []
218
             this.good_types = []
219
             this.allGoodInfo = []
219
             this.allGoodInfo = []
226
             for (let a = 0; a <  res.data.good_type.length; a++){
226
             for (let a = 0; a <  res.data.good_type.length; a++){
227
               Object.keys(res.data.good_type[a]).map(item => {
227
               Object.keys(res.data.good_type[a]).map(item => {
228
                 if(item == 'type_name'){
228
                 if(item == 'type_name'){
229
-                  arr.push(item)
229
+                  arr.push('name')
230
                 }
230
                 }
231
               })
231
               })
232
               this.good_types.push(res.data.good_type[a].type_name)
232
               this.good_types.push(res.data.good_type[a].type_name)
233
             }
233
             }
234
+
234
             this.arrKey.push(...arr)
235
             this.arrKey.push(...arr)
235
           
236
           
236
             this.allGoodInfo = res.data.dialysis_goods
237
             this.allGoodInfo = res.data.dialysis_goods
250
 
251
 
251
                 }
252
                 }
252
                 arr.push(obj)
253
                 arr.push(obj)
253
-
254
-
255
               }
254
               }
256
 
255
 
257
 
256
 
268
             }
267
             }
269
 
268
 
270
 
269
 
271
-            for (let a = 0; a <  this.list.length; a++){
270
+           for (let a = 0; a <  this.list.length; a++){
272
               for (let b = 0; b <  this.list[a].good_type.length; b++){
271
               for (let b = 0; b <  this.list[a].good_type.length; b++){
273
 
272
 
274
                 if(this.list[a].good_type[b].id > 0){
273
                 if(this.list[a].good_type[b].id > 0){
277
 
276
 
278
               }
277
               }
279
             }
278
             }
280
-
279
+           
280
+          //  console.log("99999999",this.list)
281
+           let a = [] 
282
+          this.list.map(item => {
283
+            a.push(item.good_type)
284
+          })
285
+          // console.log('aaaaaaaaa',a)
286
+          let b = []
287
+       
288
+          a.map(item => {
289
+            let obj = []
290
+            item.map((it,index) => {
291
+              let i = 0
292
+              let c = {}
293
+              let str = 'name' + index
294
+              c[str] = it.name
295
+              obj.push(c)
296
+              
297
+            })
298
+            
299
+            b.push(obj)
300
+          })
301
+          var temp = []
302
+          // console.log('bbbbbbbbbb',b)
303
+          for(let i=0;i<b.length;i++){
304
+            var objC = {...b[i]}
305
+            temp.push(objC)
281
           }
306
           }
282
-
283
-         console.log("list222222",this.list)
284
-
285
-        })
286
-
287
-
288
-
289
-
290
-
291
-
292
-
293
-
307
+       
308
+          // console.log("temp--------",temp)
309
+          var tempTwo = []
310
+          temp.map(item => {
311
+            let obj = []
312
+            Object.values(item).map(it => {
313
+              obj.push(it)
314
+            })
315
+            let obj2 = {}
316
+            obj.map((i,ind) => {
317
+            
318
+              let str = 'name' + ind
319
+              obj2[str] = i[str]
320
+            })
321
+            tempTwo.push(obj2)
322
+            console.log(325556574342354234234,tempTwo)
323
+          })
324
+          
325
+          this.arrList.push(...tempTwo)
326
+          console.log("cccccccc",this.arrList)
327
+          }
328
+        })  
294
       },
329
       },
295
       selectSchedulType(scheduleType) {
330
       selectSchedulType(scheduleType) {
296
         this.schedulType = scheduleType
331
         this.schedulType = scheduleType
333
 
368
 
334
        exportList(){
369
        exportList(){
335
          import('@/vendor/Export2Excel').then(excel => {
370
          import('@/vendor/Export2Excel').then(excel => {
336
-         const tHeader = this.good_types
337
-         const filterVal = this.arrKey
371
+         
338
         
372
         
339
-         const data = this.formatJson(filterVal, this.list)
373
+       
374
+         var arrTwo = []
375
+         for(let i=0;i<this.arrKey.length;i++){
376
+            arrTwo.push('name'+i)
377
+         }
378
+         console.log("arrKey88888",arrTwo)
379
+
380
+        //  console.log("9999999",this.list)
381
+         const tHeader = this.good_types
382
+         const filterVal = arrTwo
383
+         console.log("thedad",tHeader)
384
+         console.log("filterval",filterVal)
385
+         console.log("33333",this.arrList)
386
+         const data = this.formatJson(filterVal,this.arrList)
387
+         console.log("data",data)
388
+      
340
          excel.export_json_to_excel({
389
          excel.export_json_to_excel({
341
            header: tHeader,
390
            header: tHeader,
342
            data,
391
            data,
345
           this.downloadLoading = false
394
           this.downloadLoading = false
346
         })
395
         })
347
        },
396
        },
348
-       formatJson(filterVal, jsonData) {
397
+      formatJson(filterVal, jsonData) {
349
         return jsonData.map(v => filterVal.map(j => v[j]));
398
         return jsonData.map(v => filterVal.map(j => v[j]));
350
       },
399
       },
351
 
400
 

+ 9 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

174
           </el-col>
174
           </el-col>
175
 
175
 
176
           <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
176
           <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
177
+
177
             <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23' :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
178
             <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23' :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
178
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
179
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
179
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
180
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
180
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
181
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
181
                         v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
182
                         v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
182
             </el-form-item>
183
             </el-form-item>
184
+
183
             <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23' :label="'首剂(mg) : '">
185
             <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23' :label="'首剂(mg) : '">
184
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
186
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
185
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
187
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
1933
         this.isVisibility = false
1935
         this.isVisibility = false
1934
       },
1936
       },
1935
       changeThisAnticoagulant: function(val) {
1937
       changeThisAnticoagulant: function(val) {
1938
+        console.log("val-----",val)
1936
         var thismode = val
1939
         var thismode = val
1937
         if (isNaN(thismode) || thismode <= 0) {
1940
         if (isNaN(thismode) || thismode <= 0) {
1938
           return false
1941
           return false
1948
           this.anticoagulant.weichi_unit = 'mg/h'
1951
           this.anticoagulant.weichi_unit = 'mg/h'
1949
           this.anticoagulant.zongliang_unit = 'mg'
1952
           this.anticoagulant.zongliang_unit = 'mg'
1950
         }
1953
         }
1954
+
1955
+       if (this.$store.getters.xt_user.template_info.template_id == 27 && val == 4) {
1956
+          this.anticoagulant.shouji_unit = 'ml'
1957
+          this.anticoagulant.weichi_unit = 'ml'
1958
+          this.anticoagulant.zongliang_unit = 'ml'
1959
+        }
1951
       },
1960
       },
1952
       handleCommit: function() {
1961
       handleCommit: function() {
1953
         if (this.dialysisPrescription.anticoagulant == '低分子肝素') {
1962
         if (this.dialysisPrescription.anticoagulant == '低分子肝素') {

+ 8 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

507
                       <td v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12" width="50">
507
                       <td v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12" width="50">
508
                         置换量<br />(ml)
508
                         置换量<br />(ml)
509
                       </td>
509
                       </td>
510
+                      <td width="200" v-if="org_id == 9919">ktv</td>
510
                       <td width="200">病情变化及处理</td>
511
                       <td width="200">病情变化及处理</td>
511
-
512
+                     
512
                       <!-- <td width="100">时间</td>
513
                       <!-- <td width="100">时间</td>
513
                   <td width="30">T<br>C°</td>
514
                   <td width="30">T<br>C°</td>
514
                   <td width="30">P<br/>次/分</td>
515
                   <td width="30">P<br/>次/分</td>
555
                       <td v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time > dialysisOrder.end_time) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time))" style="width:50px">
556
                       <td v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time > dialysisOrder.end_time) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time))" style="width:50px">
556
                         {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }}
557
                         {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }}
557
                       </td>
558
                       </td>
559
+                      <td width="200" v-if="org_id == 9919">{{monitor.ktv}}</td>
558
                       <td style="line-height:16px;padding:0px;">
560
                       <td style="line-height:16px;padding:0px;">
559
                         <div style="min-height:35px;line-height:35px; overflow:hidden;">
561
                         <div style="min-height:35px;line-height:35px; overflow:hidden;">
560
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
562
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
576
                       <td></td>
578
                       <td></td>
577
                       <td></td>
579
                       <td></td>
578
                       <td v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12" width="50"></td>
580
                       <td v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12" width="50"></td>
581
+                      <td v-if="org_id == 9919"></td>
579
                       <td style="line-height:16px;padding:0px;">
582
                       <td style="line-height:16px;padding:0px;">
580
                         <div style="height:40px;line-height:20px; overflow:hidden;">
583
                         <div style="height:40px;line-height:20px; overflow:hidden;">
581
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
584
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
1162
         zongliang_unit: 'mg',
1165
         zongliang_unit: 'mg',
1163
         gaimingcheng_unit: '',
1166
         gaimingcheng_unit: '',
1164
         gaijiliang_unit: ''
1167
         gaijiliang_unit: ''
1165
-      }
1168
+      },
1169
+      org_id:0,
1166
     }
1170
     }
1167
   },
1171
   },
1168
   methods: {
1172
   methods: {
1780
       'hemodialysis',
1784
       'hemodialysis',
1781
       'vascular_access_desc'
1785
       'vascular_access_desc'
1782
     )
1786
     )
1783
-
1787
+     this.org_id = this.$store.getters.xt_user.org.id
1788
+     console.log("=====",this.org_id)
1784
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
1789
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
1785
 
1790
 
1786
     var bloodAccessParOpera = getDataConfig(
1791
     var bloodAccessParOpera = getDataConfig(

+ 13 - 11
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue View File

22
             </td>
22
             </td>
23
             <td width="30">岁</td>
23
             <td width="30">岁</td>
24
 
24
 
25
-            
25
+
26
             <td width="50">门诊号:</td>
26
             <td width="50">门诊号:</td>
27
             <td width="150">
27
             <td width="150">
28
               <div class="under-line">
28
               <div class="under-line">
352
                       </div>
352
                       </div>
353
                     </td>
353
                     </td>
354
 
354
 
355
-                    
355
+
356
                     <td></td>
356
                     <td></td>
357
                   </tr>
357
                   </tr>
358
                 </tbody>
358
                 </tbody>
574
                     <td width="60">
574
                     <td width="60">
575
                         <div class="under-line">&nbsp;{{ (prescription.anticoagulant == '阿加曲班' || prescription.anticoagulant == '普通肝素') && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}</div>
575
                         <div class="under-line">&nbsp;{{ (prescription.anticoagulant == '阿加曲班' || prescription.anticoagulant == '普通肝素') && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}</div>
576
                     </td>
576
                     </td>
577
-                    <td width="10">mg,</td>
577
+                    <td width="10">ml,</td>
578
                     <td width="60">追加量</td>
578
                     <td width="60">追加量</td>
579
                     <td width="60">
579
                     <td width="60">
580
                         <div class="under-line">&nbsp;{{ (prescription.anticoagulant == '阿加曲班' || prescription.anticoagulant == '普通肝素') && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}</div>
580
                         <div class="under-line">&nbsp;{{ (prescription.anticoagulant == '阿加曲班' || prescription.anticoagulant == '普通肝素') && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}</div>
581
                     </td>
581
                     </td>
582
-                    <td width="10">mg/h</td>
582
+                    <td width="10">ml</td>
583
                     <td width="10">)</td>
583
                     <td width="10">)</td>
584
                     <td width="100">
584
                     <td width="100">
585
                         <label-box :isChecked="prescription.anticoagulant == '无肝素' ? true : false" showValue="无肝素"></label-box>
585
                         <label-box :isChecked="prescription.anticoagulant == '无肝素' ? true : false" showValue="无肝素"></label-box>
770
             <td width="60" style="height:20px;line-height:20px">电导度<br />mS/cm</td>
770
             <td width="60" style="height:20px;line-height:20px">电导度<br />mS/cm</td>
771
             <td width="60" style="height:20px;line-height:20px">血流量<br />ml/分</td>
771
             <td width="60" style="height:20px;line-height:20px">血流量<br />ml/分</td>
772
             <td width="40" style="height:20px;line-height:20px">液温<br />℃</td>
772
             <td width="40" style="height:20px;line-height:20px">液温<br />℃</td>
773
+            <td width="60" style="height:20px;line-height:20px">置换量<br />L</td>
773
             <td width="">特殊记录</td>
774
             <td width="">特殊记录</td>
774
           </tr>
775
           </tr>
775
 
776
 
792
             <td>&nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
793
             <td>&nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
793
             <td>&nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}</td>
794
             <td>&nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}</td>
794
             <td>&nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</td>
795
             <td>&nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</td>
796
+            <td>{{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }}</td>
795
             <td style="text-align:left;padding-left:10px;">
797
             <td style="text-align:left;padding-left:10px;">
796
               <div style="line-height:20px;text-align: left;display: inline-block;">
798
               <div style="line-height:20px;text-align: left;display: inline-block;">
797
                 &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}
799
                 &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}
962
         </tbody>
964
         </tbody>
963
       </table>
965
       </table>
964
       <div style="page-break-after: always;"></div>
966
       <div style="page-break-after: always;"></div>
965
-      
966
-      
967
 
967
 
968
-      
968
+
969
+
970
+
969
     </div>
971
     </div>
970
     <div id='new-dialysis-2' class="dialysis-print-order">
972
     <div id='new-dialysis-2' class="dialysis-print-order">
971
       <!-- <div class="order-yy-name"></div> -->
973
       <!-- <div class="order-yy-name"></div> -->
1001
             </td>
1003
             </td>
1002
             <td width="20"></td>
1004
             <td width="20"></td>
1003
 
1005
 
1004
-            
1006
+
1005
             <td></td>
1007
             <td></td>
1006
           </tr>
1008
           </tr>
1007
         </tbody>
1009
         </tbody>
1036
             <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
1038
             <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
1037
             <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
1039
             <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
1038
           </td>
1040
           </td>
1039
-          
1041
+
1040
           <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
1042
           <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
1041
           <td>
1043
           <td>
1042
             <span v-if="setAdminUserES(advice.execution_staff) == ''">
1044
             <span v-if="setAdminUserES(advice.execution_staff) == ''">
1322
             this.dialysisOrder.DeviceNumber.number
1324
             this.dialysisOrder.DeviceNumber.number
1323
           );
1325
           );
1324
         }
1326
         }
1325
-        
1327
+
1326
       } else {
1328
       } else {
1327
         if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
1329
         if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
1328
           return (
1330
           return (
1335
             this.patientInfo.DialysisSchedule.device_number.number
1337
             this.patientInfo.DialysisSchedule.device_number.number
1336
           );
1338
           );
1337
         }
1339
         }
1338
-        
1340
+
1339
       }
1341
       }
1340
     },
1342
     },
1341
 
1343
 

+ 3 - 0
src/xt_pages/stock/selfPreparedMedicine/query.vue View File

142
          for(let i=0;i<this.tableData.length;i++){
142
          for(let i=0;i<this.tableData.length;i++){
143
             this.tableData[i].margin = (this.tableData[i].Total?this.tableData[i].Total:0) - this.tableData[i].Count
143
             this.tableData[i].margin = (this.tableData[i].Total?this.tableData[i].Total:0) - this.tableData[i].Count
144
          }
144
          }
145
+         console.log("表哥------",this.tableData)
145
          const data = this.formatJson(filterVal, this.tableData)
146
          const data = this.formatJson(filterVal, this.tableData)
147
+         console.log("data",data)
148
+         return
146
          excel.export_json_to_excel({
149
          excel.export_json_to_excel({
147
            header: tHeader,
150
            header: tHeader,
148
            data,
151
            data,