Browse Source

新分支

28169 1 year ago
parent
commit
98e86d4f86

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

1774
                     </table>
1774
                     </table>
1775
                   </td>
1775
                   </td>
1776
                 </tr>
1776
                 </tr>
1777
-                <tr v-if="org_id!=10402">
1777
+                <tr v-if="org_id!=10402 && org_id!=10206 && org_id!=0">
1778
                   <td style="padding: 0; position: relative" colspan="2">
1778
                   <td style="padding: 0; position: relative" colspan="2">
1779
                     <table class="inside_table">
1779
                     <table class="inside_table">
1780
                       <tbody>
1780
                       <tbody>
1946
                   </td>
1946
                   </td>
1947
                 </tr>
1947
                 </tr>
1948
 
1948
 
1949
-                 <tr v-if="org_id == 10402">
1949
+                 <tr v-if="org_id == 10402 || org_id == 0 || org_id == 10206">
1950
                   <td style="padding: 0; position: relative" colspan="2">
1950
                   <td style="padding: 0; position: relative" colspan="2">
1951
                     <table class="inside_table">
1951
                     <table class="inside_table">
1952
                       <tbody>
1952
                       <tbody>

+ 16 - 15
src/xt_pages/dialysis/details/consumable/dialysisParameterCountPrint.vue View File

40
                </tr>
40
                </tr>
41
               </tbody>
41
               </tbody>
42
             </table>
42
             </table>
43
-            
44
-         
43
+
44
+
45
 
45
 
46
           </div>
46
           </div>
47
         </div>
47
         </div>
103
      this.getDialysisParameterGoodList()
103
      this.getDialysisParameterGoodList()
104
     },
104
     },
105
     methods: {
105
     methods: {
106
-    
106
+
107
      getTimeOne(val) {
107
      getTimeOne(val) {
108
         if(val == ""){
108
         if(val == ""){
109
         return ""
109
         return ""
134
             this.startdialogVisible = true
134
             this.startdialogVisible = true
135
             var list = response.data.data.list
135
             var list = response.data.data.list
136
             console.log("list232323223222wid",list)
136
             console.log("list232323223222wid",list)
137
-            
137
+
138
             var anticoagulantList = []
138
             var anticoagulantList = []
139
             if(list!=null && list.length>0){
139
             if(list!=null && list.length>0){
140
               for(let i=0;i<list.length;i++){
140
               for(let i=0;i<list.length;i++){
226
                 hisarr[i].count = hisarr[i].child.length
226
                 hisarr[i].count = hisarr[i].child.length
227
                 this.tableList.push(hisarr[i])
227
                 this.tableList.push(hisarr[i])
228
               }
228
               }
229
-             
229
+
230
             }
230
             }
231
             var dialysisDialyszersArr = []
231
             var dialysisDialyszersArr = []
232
             var dialyzerPerfusionApparaArr = []
232
             var dialyzerPerfusionApparaArr = []
234
             var dialysisStrainerArr = []
234
             var dialysisStrainerArr = []
235
             for(let i=0;i<list.length;i++){
235
             for(let i=0;i<list.length;i++){
236
              for(let j=0;j<list[i].dialysis_dialyszers_arr.length;j++){
236
              for(let j=0;j<list[i].dialysis_dialyszers_arr.length;j++){
237
-              
238
-               dialysisDialyszersArr.push(list[i].dialysis_dialyszers_arr[j])  
237
+
238
+               dialysisDialyszersArr.push(list[i].dialysis_dialyszers_arr[j])
239
              }
239
              }
240
              for(let z=0;z<list[i].dialyzer_perfusion_apparatus_arr.length;z++){
240
              for(let z=0;z<list[i].dialyzer_perfusion_apparatus_arr.length;z++){
241
               dialyzerPerfusionApparaArr.push(list[i].dialyzer_perfusion_apparatus_arr[z])
241
               dialyzerPerfusionApparaArr.push(list[i].dialyzer_perfusion_apparatus_arr[z])
250
             console.log("透析器",dialysisDialyszersArr)
250
             console.log("透析器",dialysisDialyszersArr)
251
             console.log("透析器/灌流器",dialyzerPerfusionApparaArr)
251
             console.log("透析器/灌流器",dialyzerPerfusionApparaArr)
252
             console.log("灌流器",dialysisIrrigationArr)
252
             console.log("灌流器",dialysisIrrigationArr)
253
-             
253
+
254
            let obj = {}
254
            let obj = {}
255
            let objOne = {}
255
            let objOne = {}
256
            let objTwo = {}
256
            let objTwo = {}
271
               a.specification_name = i
271
               a.specification_name = i
272
               Arr.push(a);
272
               Arr.push(a);
273
             }
273
             }
274
-          
274
+
275
            for(let i=0;i<dialyzerPerfusionApparaArr.length;i++){
275
            for(let i=0;i<dialyzerPerfusionApparaArr.length;i++){
276
             if(objOne[dialyzerPerfusionApparaArr[i]]){
276
             if(objOne[dialyzerPerfusionApparaArr[i]]){
277
                 objOne[dialyzerPerfusionApparaArr[i]] +=1
277
                 objOne[dialyzerPerfusionApparaArr[i]] +=1
278
              }else{
278
              }else{
279
               objOne[dialyzerPerfusionApparaArr[i]] = 1
279
               objOne[dialyzerPerfusionApparaArr[i]] = 1
280
-             }   
280
+             }
281
            }
281
            }
282
-           
282
+
283
            for (let i in objOne) {
283
            for (let i in objOne) {
284
               let a = {};
284
               let a = {};
285
               a[i] = objOne[i];
285
               a[i] = objOne[i];
294
               objTwo[dialysisIrrigationArr[i]] +=1
294
               objTwo[dialysisIrrigationArr[i]] +=1
295
              }else{
295
              }else{
296
               objTwo[dialysisIrrigationArr[i]] = 1
296
               objTwo[dialysisIrrigationArr[i]] = 1
297
-             }   
297
+             }
298
            }
298
            }
299
 
299
 
300
            for (let i in objTwo) {
300
            for (let i in objTwo) {
322
               objThree[dialysisStrainerArr[i]] +=1
322
               objThree[dialysisStrainerArr[i]] +=1
323
              }else{
323
              }else{
324
               objThree[dialysisStrainerArr[i]] = 1
324
               objThree[dialysisStrainerArr[i]] = 1
325
-             }   
325
+             }
326
            }
326
            }
327
 
327
 
328
            for (let i in objThree) {
328
            for (let i in objThree) {
333
               a.specification_name = i
333
               a.specification_name = i
334
               Arr.push(a);
334
               Arr.push(a);
335
             }
335
             }
336
-           
337
-         
336
+
337
+
338
             if(Arr.length >0){
338
             if(Arr.length >0){
339
               for(let i=0;i<Arr.length;i++){
339
               for(let i=0;i<Arr.length;i++){
340
                  this.tableList.push(Arr[i])
340
                  this.tableList.push(Arr[i])
341
               }
341
               }
342
             }
342
             }
343
+
343
            }
344
            }
344
         })
345
         })
345
       },
346
       },

+ 13 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

4359
         }
4359
         }
4360
       
4360
       
4361
         console.log("时间我我我哦我我",this.doctor_advices)
4361
         console.log("时间我我我哦我我",this.doctor_advices)
4362
+        if(this.org_id == 10265){
4363
+          var docArr = []
4364
+          if(this.doctor_advices!=null && this.doctor_advices.length>0){
4365
+            for(let i=0;i<this.doctor_advices.length;i++){
4366
+              if(this.doctor_advices[i].delivery_way!='口服' && this.doctor_advices[i].delivery_way!='中药口服'){
4367
+                  docArr.push(this.doctor_advices[i])
4368
+              }
4369
+            }
4370
+          }
4371
+          this.doctor_advices = [] 
4372
+          this.doctor_advices = docArr
4373
+        }
4374
+       
4362
         if (this.doctor_advices.length <= 6) {
4375
         if (this.doctor_advices.length <= 6) {
4363
           var nl = 6;
4376
           var nl = 6;
4364
           this.print_length = 6;
4377
           this.print_length = 6;