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

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

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