Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 9 months ago
parent
commit
94d945e1cc

+ 4 - 4
src/xt_pages/role/admin.vue View File

24
         @click="BatchDelete"
24
         @click="BatchDelete"
25
         >医药师登记</el-button>
25
         >医药师登记</el-button>
26
 
26
 
27
-
28
-       <!-- <el-button
27
+<!-- 
28
+        <el-button
29
           type="primary"
29
           type="primary"
30
           size="small"
30
           size="small"
31
           icon="el-icon-circle-plus-outline"
31
           icon="el-icon-circle-plus-outline"
32
           style="float:left"
32
           style="float:left"
33
-          @click="toJiaBan">首拼</el-button> 
33
+          @click="toJiaBan">首拼</el-button>  -->
34
 
34
 
35
-           -->
35
+          
36
 
36
 
37
 
37
 
38
           <!-- <el-button
38
           <!-- <el-button

+ 8 - 3
src/xt_pages/stock/stockOutOrder.vue View File

296
             <template slot-scope="scope">
296
             <template slot-scope="scope">
297
                <tr style="background: none" v-for="(item,index) in scope.row.childOne" :key="index">
297
                <tr style="background: none" v-for="(item,index) in scope.row.childOne" :key="index">
298
                   <td style="border-right: none; border-inline-end: none;text-align: center">
298
                   <td style="border-right: none; border-inline-end: none;text-align: center">
299
-                     {{getAllStockCount(scope.row.child,item.warehousing_id) - getCancelInfo(item.warehousing_id,item.good_id)}}
299
+                     {{getAllStockCount(scope.row.child,item.warehousing_id,item.good_id) - getCancelInfo(item.warehousing_id,item.good_id)}}
300
                   </td>
300
                   </td>
301
                </tr>
301
                </tr>
302
              
302
              
349
                <tr style="background: none" v-for="(item,index) in scope.row.childOne" :key="index">
349
                <tr style="background: none" v-for="(item,index) in scope.row.childOne" :key="index">
350
                   <td style="border-right: none; border-inline-end: none;text-align: center">
350
                   <td style="border-right: none; border-inline-end: none;text-align: center">
351
                       <!-- {{(getAllStockCount(scope.row.child,item.warehousing_id) * getAllStockCountPrice(scope.row.child,item.warehousing_id)).toFixed(2)}} -->
351
                       <!-- {{(getAllStockCount(scope.row.child,item.warehousing_id) * getAllStockCountPrice(scope.row.child,item.warehousing_id)).toFixed(2)}} -->
352
-                       {{((getAllStockCount(scope.row.child,item.warehousing_id) - getCancelInfo(item.warehousing_id,item.good_id)) *  getAllStockCountPrice(scope.row.child,item.warehousing_id)).toFixed(2)}}
352
+                       {{((getAllStockCount(scope.row.child,item.warehousing_id,item.good_id) - getCancelInfo(item.warehousing_id,item.good_id)) *  getAllStockCountPrice(scope.row.child,item.warehousing_id)).toFixed(2)}}
353
                   </td>
353
                   </td>
354
                </tr>
354
                </tr>
355
             </template>
355
             </template>
2257
     changeCheckType(){
2257
     changeCheckType(){
2258
       this.GetWarehouseOut()
2258
       this.GetWarehouseOut()
2259
     },
2259
     },
2260
-    getAllStockCount(val,warehousing_id){
2260
+    getAllStockCount(val,warehousing_id,good_id){
2261
       var arr=[]
2261
       var arr=[]
2262
       var total_count = 0
2262
       var total_count = 0
2263
      if(val!=null&&val.length > 0){
2263
      if(val!=null&&val.length > 0){
2273
        }
2273
        }
2274
      }
2274
      }
2275
      if(total_count > 0){
2275
      if(total_count > 0){
2276
+    
2276
         return total_count
2277
         return total_count
2277
      }else{
2278
      }else{
2279
+     
2278
       return total_count
2280
       return total_count
2279
      }
2281
      }
2282
+     
2280
     },
2283
     },
2281
     getAllStockCountPrice(val,warehousing_id){
2284
     getAllStockCountPrice(val,warehousing_id){
2282
      var price = 0
2285
      var price = 0
2422
       }
2425
       }
2423
      }
2426
      }
2424
      if(count > 0){
2427
      if(count > 0){
2428
+      console.log("good_id",good_id)
2429
+      console.log("数量我哦哦我",count)
2425
       return count
2430
       return count
2426
      }else{
2431
      }else{
2427
       return 0 
2432
       return 0 

+ 10 - 10
src/xt_pages/workforce/remind_print_setting_one.vue View File

42
                     <span>{{getModeId(main_collection.mode_id)}}</span>
42
                     <span>{{getModeId(main_collection.mode_id)}}</span>
43
                   
43
                   
44
                 </div>
44
                 </div>
45
-                <div class="printCell" v-if="org_id!=10375">
45
+                <div class="printCell" v-if="org_id!=9671">
46
                   <span>抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
46
                   <span>抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
47
                 </div>
47
                 </div>
48
-                <div class="printCell" v-if="org_id==10375">
48
+                <div class="printCell" v-if="org_id==9671">
49
                   <span>抗凝剂:{{ main_collection.prescription.anticoagulant ? anticoagulants_confit[main_collection.prescription.anticoagulant].name : ''}}</span>
49
                   <span>抗凝剂:{{ main_collection.prescription.anticoagulant ? anticoagulants_confit[main_collection.prescription.anticoagulant].name : ''}}</span>
50
                 </div>
50
                 </div>
51
-                <div class="printCell" v-if="org_id!=10375">
51
+                <div class="printCell" v-if="org_id!=9671">
52
                  首剂:<span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
52
                  首剂:<span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
53
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
53
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
54
                     {{main_collection.dialysissolution.anticoagulant_shouji}}mg
54
                     {{main_collection.dialysissolution.anticoagulant_shouji}}mg
82
                    </span>
82
                    </span>
83
                  
83
                  
84
                 </div>
84
                 </div>
85
-                <div class="printCell" v-if="org_id ==10375">
85
+                <div class="printCell" v-if="org_id ==9671">
86
                  首剂:<span v-if="main_collection.prescription.anticoagulant == 1">{{main_collection.prescription.anticoagulant_shouji}} mg</span>
86
                  首剂:<span v-if="main_collection.prescription.anticoagulant == 1">{{main_collection.prescription.anticoagulant_shouji}} mg</span>
87
                   <span v-if="main_collection.prescription.anticoagulant == 2">
87
                   <span v-if="main_collection.prescription.anticoagulant == 2">
88
                     {{main_collection.prescription.anticoagulant_shouji}}mg
88
                     {{main_collection.prescription.anticoagulant_shouji}}mg
116
                    </span>
116
                    </span>
117
                  
117
                  
118
                 </div>
118
                 </div>
119
-                <div class="printCell" v-if="org_id!=10375">
119
+                <div class="printCell" v-if="org_id!=9671">
120
                   维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
120
                   维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
121
                    <span v-if="main_collection.dialysissolution.anticoagulant == 1">
121
                    <span v-if="main_collection.dialysissolution.anticoagulant == 1">
122
                     mg/h
122
                     mg/h
154
               
154
               
155
                 </div>
155
                 </div>
156
 
156
 
157
-                <div class="printCell" v-if="org_id!=10375">
157
+                <div class="printCell" v-if="org_id!=9671">
158
                   维持:{{main_collection.prescription.anticoagulant_weichi}}
158
                   维持:{{main_collection.prescription.anticoagulant_weichi}}
159
                    <span v-if="main_collection.prescription.anticoagulant == 1">
159
                    <span v-if="main_collection.prescription.anticoagulant == 1">
160
                     mg/h
160
                     mg/h
192
               
192
               
193
                 </div>
193
                 </div>
194
                
194
                
195
-                <div class="printCell" v-if="org_id!=10375">
195
+                <div class="printCell" v-if="org_id!=9671">
196
                   总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
196
                   总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
197
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
197
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
198
                     mg
198
                     mg
230
           
230
           
231
                 </div>
231
                 </div>
232
 
232
 
233
-                <div class="printCell" v-if="org_id==10375">
233
+                <div class="printCell" v-if="org_id==9671">
234
                   总量:{{main_collection.prescription.anticoagulant_zongliang}}
234
                   总量:{{main_collection.prescription.anticoagulant_zongliang}}
235
                   <span v-if="main_collection.prescription.anticoagulant == 1">
235
                   <span v-if="main_collection.prescription.anticoagulant == 1">
236
                     mg
236
                     mg
332
                 </div>
332
                 </div>
333
 
333
 
334
                 <div class="printCell">
334
                 <div class="printCell">
335
-                  <span v-if="org_id!=0&&org_id!=10375">
335
+                  <span v-if="org_id!=0&&org_id!=9671">
336
                     排班备注:
336
                     排班备注:
337
                     <span  style="width:auto;">
337
                     <span  style="width:auto;">
338
                      <span>
338
                      <span>
341
                     </span>
341
                     </span>
342
                   
342
                   
343
                   </span>
343
                   </span>
344
-                  <span v-if="org_id == 0 || org_id ==10375">
344
+                  <span v-if="org_id == 0 || org_id ==9671">
345
                     排班备注:
345
                     排班备注:
346
                     <sapn v-if="main_collection.schedule_type ==1">上午</sapn>
346
                     <sapn v-if="main_collection.schedule_type ==1">上午</sapn>
347
                     <sapn v-if="main_collection.schedule_type ==2">下午</sapn>
347
                     <sapn v-if="main_collection.schedule_type ==2">下午</sapn>