Просмотр исходного кода

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

yq1 9 месяцев назад
Родитель
Сommit
94d945e1cc

+ 4 - 4
src/xt_pages/role/admin.vue Просмотреть файл

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

+ 8 - 3
src/xt_pages/stock/stockOutOrder.vue Просмотреть файл

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

+ 10 - 10
src/xt_pages/workforce/remind_print_setting_one.vue Просмотреть файл

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