瀏覽代碼

11月14日 库存扣减更新

XMLWAN 3 年之前
父節點
當前提交
b70beae7fe

+ 2 - 2
src/api/supply.js 查看文件

322
   })
322
   })
323
 }
323
 }
324
 
324
 
325
-export function deleteReturnOrderById(id, params) {
325
+export function deleteReturnOrderById(params) {
326
   return request({
326
   return request({
327
-    url: '/api/supply/deletereturnorderbyid?id=' + id,
327
+    url: '/api/supply/deletereturnorderbyid',
328
     method: 'get',
328
     method: 'get',
329
     params: params
329
     params: params
330
   })
330
   })

+ 2 - 2
src/views/layout/Layout.vue 查看文件

17
           <p>透析管理</p>
17
           <p>透析管理</p>
18
         </div>
18
         </div>
19
 
19
 
20
-         <!-- <div v-if="caigouShow" :class="index == 5 ? 'navOne navActive' : 'navOne'" @click="clickActive(5,'采购管理')">
20
+         <div v-if="caigouShow" :class="index == 5 ? 'navOne navActive' : 'navOne'" @click="clickActive(5,'采购管理')">
21
            <i class="iconfont icon-kccx navIcon"></i>
21
            <i class="iconfont icon-kccx navIcon"></i>
22
            <p>采购管理</p>
22
            <p>采购管理</p>
23
-        </div> -->
23
+        </div>
24
         
24
         
25
         <div v-if="kucunShow" :class="index == 3 ? 'navOne navActive' : 'navOne'" @click="clickActive(3,'库房管理')">
25
         <div v-if="kucunShow" :class="index == 3 ? 'navOne navActive' : 'navOne'" @click="clickActive(3,'库房管理')">
26
           <i class="iconfont icon-kccx navIcon"></i>
26
           <i class="iconfont icon-kccx navIcon"></i>

+ 7 - 7
src/xt_pages/dialysis/details/DialysisPrescription.vue 查看文件

56
         <li v-if=" isShow('总量') && getValueStr('anticoagulant', 'anticoagulant') != 5 " >
56
         <li v-if=" isShow('总量') && getValueStr('anticoagulant', 'anticoagulant') != 5 " >
57
           <label>总量: </label>
57
           <label>总量: </label>
58
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{anticoagulant_zongliang != "0" ? anticoagulant_zongliang : ""}}</span>
58
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{anticoagulant_zongliang != "0" ? anticoagulant_zongliang : ""}}</span>
59
-          <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101">
59
+          <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id !=45">
60
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
60
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
61
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 &&  this.$store.getters.xt_user.template_info.template_id != 23 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 10234">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
61
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 &&  this.$store.getters.xt_user.template_info.template_id != 23 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 10234">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
62
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 10234 )">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
62
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 10234 )">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
145
         <li v-if=" isShow('首剂') && getValueStr('anticoagulant', 'anticoagulant') != 5 " >
145
         <li v-if=" isShow('首剂') && getValueStr('anticoagulant', 'anticoagulant') != 5 " >
146
           <label>首剂 : </label>
146
           <label>首剂 : </label>
147
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_shouji != "0" ? anticoagulant_shouji : "" }}</span>
147
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_shouji != "0" ? anticoagulant_shouji : "" }}</span>
148
-          <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101">
148
+          <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
149
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
149
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
150
-            <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && this.$store.getters.xt_user.template_info.template_id != 13  && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.template_id != 45">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
151
-            <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && (this.$store.getters.xt_user.template_info.template_id == 13 ||  this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38  || this.$store.getters.xt_user.template_info.template_id == 45)" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
150
+            <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && this.$store.getters.xt_user.template_info.template_id != 13  && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38 ">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
151
+            <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && (this.$store.getters.xt_user.template_info.template_id == 13 ||  this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38)" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
152
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
152
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
153
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
153
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
154
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span >
154
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span >
241
         <li v-if="isShow('维持') && getValueStr('anticoagulant', 'anticoagulant') != 5">
241
         <li v-if="isShow('维持') && getValueStr('anticoagulant', 'anticoagulant') != 5">
242
           <label>维持 : </label>
242
           <label>维持 : </label>
243
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
243
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
244
-          <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101">
244
+          <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
245
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1"></span>
245
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1"></span>
246
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 45">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
247
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 ||  this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 45)">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
246
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38 ">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
247
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 ||  this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38)">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
248
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
248
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
249
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
249
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
250
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
250
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>

+ 17 - 10
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

201
 
201
 
202
                     <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
202
                     <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
203
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
203
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
204
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101">
204
+                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
205
                             <el-form-item
205
                             <el-form-item
206
-                                    v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987  && this.$store.getters.xt_user.template_info.template_id != 45'
206
+                                    v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987'
207
                                     :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
207
                                     :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
208
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
208
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
209
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
209
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
212
                             </el-form-item>
212
                             </el-form-item>
213
 
213
 
214
                             <el-form-item
214
                             <el-form-item
215
-                                    v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.org_id == 9987'
215
+                                    v-if='dialysisPrescription.anticoagulant == 2 && this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9987 && dialysisPrescription.anticoagulant == 2'
216
                                     :label="'首剂(mg) : '">
216
                                     :label="'首剂(mg) : '">
217
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
217
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
218
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
218
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
219
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
219
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
220
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
220
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
221
                             </el-form-item>
221
                             </el-form-item>
222
+
223
+                           
224
+
222
                           </div>
225
                           </div>
226
+
223
                           <div v-else>
227
                           <div v-else>
224
                             <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'首剂(mg) : '">
228
                             <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'首剂(mg) : '">
225
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
229
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
242
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
246
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
243
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
247
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
244
                             </el-form-item>
248
                             </el-form-item>
249
+                          
245
                             <el-form-item v-else :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
250
                             <el-form-item v-else :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
246
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
251
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
247
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
252
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
248
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
253
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
249
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
254
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
250
                             </el-form-item>
255
                             </el-form-item>
256
+                            
251
                         </div>
257
                         </div>
252
 
258
 
253
                     </el-col>
259
                     </el-col>
255
 
261
 
256
                     <el-col :span="8" v-if="anticoagulant.weichi != -1 && isShows('维持')">
262
                     <el-col :span="8" v-if="anticoagulant.weichi != -1 && isShows('维持')">
257
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
263
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
258
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101">
264
+                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
259
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
265
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
260
-                                          v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 45">
266
+                                          v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987">
261
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
267
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
262
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
268
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
263
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
269
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
264
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
270
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
265
                             </el-form-item>
271
                             </el-form-item>
266
                             <el-form-item :label="'维持(mg/h) : '"
272
                             <el-form-item :label="'维持(mg/h) : '"
267
-                                          v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9987 ||  this.$store.getters.xt_user.template_info.template_id == 45">
273
+                                          v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9987  ">
268
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
274
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
269
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
275
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
270
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
276
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
307
 
313
 
308
                     <el-col :span="8" v-if="anticoagulant.zongliang != -1 && isShows('总量')">
314
                     <el-col :span="8" v-if="anticoagulant.zongliang != -1 && isShows('总量')">
309
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
315
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
310
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101">
316
+                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
311
                             <el-form-item
317
                             <el-form-item
312
-                                    v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987'
318
+                                    v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987'
313
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '">
319
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '">
314
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
320
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
315
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
321
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
317
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
323
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
318
                             </el-form-item>
324
                             </el-form-item>
319
                             <el-form-item
325
                             <el-form-item
320
-                                    v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9987'
326
+                                    v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38||  this.$store.getters.xt_user.template_info.org_id == 9987'
321
                                     :label="'总量(mg) : '">
327
                                     :label="'总量(mg) : '">
322
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
328
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
323
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
329
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
2160
           this.dialysisPrescription.anticoagulant_zongliang = ""
2166
           this.dialysisPrescription.anticoagulant_zongliang = ""
2161
           this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)
2167
           this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)
2162
         }
2168
         }
2163
-
2169
+     
2164
 
2170
 
2165
       },
2171
       },
2172
+
2166
       handleCommit: function() {
2173
       handleCommit: function() {
2167
         console.log("触发了么2323323233223")
2174
         console.log("触发了么2323323233223")
2168
         if(!this.isLoading){
2175
         if(!this.isLoading){

+ 6 - 8
src/xt_pages/supply/components/addGoodOrder.vue 查看文件

575
           this.supplyList = response.data.data.supplyList;
575
           this.supplyList = response.data.data.supplyList;
576
           for (let i = 0; i < drugList.length; i++) {
576
           for (let i = 0; i < drugList.length; i++) {
577
             for (let z = 0; z < drugList[i].drug_warehouse_info.length; z++) {
577
             for (let z = 0; z < drugList[i].drug_warehouse_info.length; z++) {
578
-              if (
579
-                drugList[i].max_unit ==
580
-                drugList[i].drug_warehouse_info[z].max_unit
581
-              ) {
582
-                drugList[i].drug_warehouse_info[z].stock_max_number =
583
-                  drugList[i].drug_warehouse_info[z].stock_max_number *
584
-                  drugList[i].min_number;
578
+              if (drugList[i].max_unit == drugList[i].drug_warehouse_info[z].max_unit) {
579
+                drugList[i].drug_warehouse_info[z].stock_max_number = drugList[i].drug_warehouse_info[z].stock_max_number *drugList[i].min_number;
585
               }
580
               }
586
             }
581
             }
587
             for (let j = 0; j < this.manufactuerList.length; j++) {
582
             for (let j = 0; j < this.manufactuerList.length; j++) {
794
           min_str = (total % min_number) + min_unit;
789
           min_str = (total % min_number) + min_unit;
795
         }
790
         }
796
       }
791
       }
792
+     
797
       return max_str + min_str;
793
       return max_str + min_str;
794
+    
798
     },
795
     },
799
     getTotalStockCount(arr) {
796
     getTotalStockCount(arr) {
800
       var total_count = 0;
797
       var total_count = 0;
1145
       var warehousing_id = this.id;
1142
       var warehousing_id = this.id;
1146
       console.log("采购单ID",id)
1143
       console.log("采购单ID",id)
1147
       console.log("采购订单ID",warehousing_id)
1144
       console.log("采购订单ID",warehousing_id)
1148
-    
1145
+      this.loading = true
1149
       getGoodOrderCountList(id, warehousing_id).then((response) => {
1146
       getGoodOrderCountList(id, warehousing_id).then((response) => {
1150
         if (response.data.state == 1) {
1147
         if (response.data.state == 1) {
1151
           this.$message.success("审核成功!");
1148
           this.$message.success("审核成功!");
1154
           this.showOne = false;
1151
           this.showOne = false;
1155
           this.showTwo = true;
1152
           this.showTwo = true;
1156
           this.showThree = true;
1153
           this.showThree = true;
1154
+          this.loading = false
1157
           var purcaseOrder = response.data.data.purcaseOrder;
1155
           var purcaseOrder = response.data.data.purcaseOrder;
1158
           var goodOrder = response.data.data.goodOrder;
1156
           var goodOrder = response.data.data.goodOrder;
1159
           var drugList = response.data.data.drugList;
1157
           var drugList = response.data.data.drugList;

+ 20 - 12
src/xt_pages/supply/components/addGoodReturn.vue 查看文件

488
           this.supplyList = response.data.data.supplyList;
488
           this.supplyList = response.data.data.supplyList;
489
           for (let i = 0; i < drugList.length; i++) {
489
           for (let i = 0; i < drugList.length; i++) {
490
             for (let z = 0; z < drugList[i].drug_warehouse_info.length; z++) {
490
             for (let z = 0; z < drugList[i].drug_warehouse_info.length; z++) {
491
-              drugList[i].drug_warehouse_info[z].stock_max_number =
492
-                drugList[i].drug_warehouse_info[z].stock_max_number *
493
-                drugList[i].min_number;
491
+
492
+              if (drugList[i].max_unit == drugList[i].drug_warehouse_info[z].max_unit) {
493
+                drugList[i].drug_warehouse_info[z].stock_max_number = drugList[i].drug_warehouse_info[z].stock_max_number *drugList[i].min_number;
494
+              }
494
             }
495
             }
495
             for (let j = 0; j < this.manufactuerList.length; j++) {
496
             for (let j = 0; j < this.manufactuerList.length; j++) {
496
               if (drugList[i].manufacturer == this.manufactuerList[j].id) {
497
               if (drugList[i].manufacturer == this.manufactuerList[j].id) {
692
           total += parseInt(arr[i].stock_max_number+ arr[i].stock_min_number);
693
           total += parseInt(arr[i].stock_max_number+ arr[i].stock_min_number);
693
         }
694
         }
694
       }
695
       }
696
+    
695
       if (total < min_number) {
697
       if (total < min_number) {
696
         min_str = total + min_unit;
698
         min_str = total + min_unit;
697
       }
699
       }
707
           min_str = (total % min_number) + min_unit;
709
           min_str = (total % min_number) + min_unit;
708
         }
710
         }
709
       }
711
       }
712
+      console.log("hh2332232332",max_str + min_str)
710
       return max_str + min_str;
713
       return max_str + min_str;
711
     },
714
     },
712
     getTotalStockCount(arr) {
715
     getTotalStockCount(arr) {
736
       }
739
       }
737
       return uParseTime(time, "{y}-{m}-{d}");
740
       return uParseTime(time, "{y}-{m}-{d}");
738
     },
741
     },
739
-   
740
-    getAllPrice() {
742
+
743
+     getAllPrice() {
741
       var total_price = 0;
744
       var total_price = 0;
742
       for (let i = 0; i < this.recordInfo.tableList.length; i++) {
745
       for (let i = 0; i < this.recordInfo.tableList.length; i++) {
743
-        total_price += this.recordInfo.tableList[i].supply_price *this.recordInfo.tableList[i].supply_count;
746
+        total_price +=(this.recordInfo.tableList[i].supply_price *this.recordInfo.tableList[i].supply_count - (this.recordInfo.tableList[i].supply_price * this.recordInfo.tableList[i].supply_count*this.recordInfo.tableList[i].deposit_rate/100))
744
       }
747
       }
745
       this.total_price = total_price;
748
       this.total_price = total_price;
746
-      // this.discount_amount = (this.total_price * this.rate_of_concession * 0.01).toFixed(2);
747
-      return total_price.toFixed(2);
749
+      if(total_price > 0){
750
+         return total_price.toFixed(2);
751
+      }else{
752
+        return ""
753
+      }
754
+     
748
     },
755
     },
749
-
750
     addressChange() {
756
     addressChange() {
751
       var discount_amount = 0;
757
       var discount_amount = 0;
752
       if (this.rate_of_concession > 0) {
758
       if (this.rate_of_concession > 0) {
804
           this.supplier_name = out.supplier_id;
810
           this.supplier_name = out.supplier_id;
805
           this.rate_of_concession = out.rate_of_concession;
811
           this.rate_of_concession = out.rate_of_concession;
806
           this.discount_amount = out.discount_amount;
812
           this.discount_amount = out.discount_amount;
807
-          this.payment = out.payment;
808
-          this.arrearage = out.arrearage;
813
+      
809
           this.start_time = this.getTimes(out.document_date);
814
           this.start_time = this.getTimes(out.document_date);
810
           var orderInfo = response.data.data.list;
815
           var orderInfo = response.data.data.list;
811
           console.log("orderINFO233232232332", orderInfo);
816
           console.log("orderINFO233232232332", orderInfo);
819
                  }
824
                  }
820
               }
825
               }
821
               orderInfo[i].supply_total = this.getWarehoseInfo(orderInfo[i].drug_warehouse_info,orderInfo[i].drug.max_unit,orderInfo[i].drug.min_unit,orderInfo[i].drug.min_number)
826
               orderInfo[i].supply_total = this.getWarehoseInfo(orderInfo[i].drug_warehouse_info,orderInfo[i].drug.max_unit,orderInfo[i].drug.min_unit,orderInfo[i].drug.min_number)
827
+              orderInfo[i].count =this.getWarehoseInfo(orderInfo[i].drug_warehouse_info,orderInfo[i].drug.max_unit,orderInfo[i].drug.min_unit,orderInfo[i].drug.min_number)
822
             }
828
             }
823
             if(orderInfo[i].is_source == 2){
829
             if(orderInfo[i].is_source == 2){
824
                orderInfo[i].supply_total = this.getTotalStockCount(orderInfo[i].good_warehouse_info)
830
                orderInfo[i].supply_total = this.getTotalStockCount(orderInfo[i].good_warehouse_info)
831
+               orderInfo[i].count = this.getTotalStockCount(orderInfo[i].good_warehouse_info)
825
             }
832
             }
826
             orderInfo[i].id = orderInfo[i].id;
833
             orderInfo[i].id = orderInfo[i].id;
827
             orderInfo[i].supply_count = orderInfo[i].supply_count;
834
             orderInfo[i].supply_count = orderInfo[i].supply_count;
828
-            orderInfo[i].count = orderInfo[i].count
835
+           
829
             orderInfo[i].supply_price = orderInfo[i].price;
836
             orderInfo[i].supply_price = orderInfo[i].price;
830
             orderInfo[i].supply_remake = orderInfo[i].remark;
837
             orderInfo[i].supply_remake = orderInfo[i].remark;
831
             orderInfo[i].type = orderInfo[i].is_source;
838
             orderInfo[i].type = orderInfo[i].is_source;
1041
        warehouse_out_id:this.warehouse_out_id,
1048
        warehouse_out_id:this.warehouse_out_id,
1042
        id:this.id,
1049
        id:this.id,
1043
      }
1050
      }
1051
+     console.log("审核2322323232323",params)
1044
      checkReturnOrder(params).then(response=>{
1052
      checkReturnOrder(params).then(response=>{
1045
        if(response.data.state == 1){
1053
        if(response.data.state == 1){
1046
       
1054
       

+ 41 - 15
src/xt_pages/supply/components/addPurchaseOrder.vue 查看文件

1031
             var arr = [];
1031
             var arr = [];
1032
             var total = 0;
1032
             var total = 0;
1033
             var str = "";
1033
             var str = "";
1034
+            console.log("长度111",purcaseOrder.length)
1035
+            console.log("长度222",goodOrder.length)
1036
+            if(purcaseOrder.length <=goodOrder.length){
1037
+              //如果采购单有数据,则需要比较数量
1038
+              if (newArr.length > 0) {
1039
+                for (let i = 0; i < purcaseOrder.length; i++) {
1040
+                  for (let j = 0; j < newArr.length; j++) {
1041
+                    if (purcaseOrder[i].project_id == newArr[j].project_id) {
1042
+                      //根据商品ID比较数量大小,把数量不足的商品ID储存,表示采购单的数量未满足采购订单的数据,可以继续生成采购单
1043
+                      if (purcaseOrder[i].count > newArr[j].count) {
1044
+                        arr.push(purcaseOrder[i].project_id);
1045
+                      }
1046
+                    }
1047
+                  }
1048
+                }
1049
+                //如果total的长度等于 采购单的长度,怎表示该采购订单已经全部生成
1050
+
1051
+                if (arr.length == 0) {
1052
+                  this.$message.error("该订单已全部生成采购单,请知悉!");
1053
+                  return;
1054
+                }
1055
+
1056
+                if (arr.length >0) {
1057
+                  str = arr.join(",");
1058
+                  this.$router.push({path: "/good/order/add?id=" + this.id + "&ids=" + str});
1059
+                }
1060
+              }
1061
+            }
1034
 
1062
 
1035
-            //如果采购单有数据,则需要比较数量
1063
+             //如果采购订单的商品个数不等与 采购单里面的商品个数
1064
+          if(purcaseOrder.length>goodOrder.length){
1065
+           var arrList = []
1066
+           var str = "";
1036
             if (newArr.length > 0) {
1067
             if (newArr.length > 0) {
1037
               for (let i = 0; i < purcaseOrder.length; i++) {
1068
               for (let i = 0; i < purcaseOrder.length; i++) {
1038
                 for (let j = 0; j < newArr.length; j++) {
1069
                 for (let j = 0; j < newArr.length; j++) {
1039
-                  if (purcaseOrder[i].project_id == newArr[j].project_id) {
1040
-                    //根据商品ID比较数量大小,把数量不足的商品ID储存,表示采购单的数量未满足采购订单的数据,可以继续生成采购单
1041
-                    if (purcaseOrder[i].count > newArr[j].count) {
1042
-                      arr.push(purcaseOrder[i].project_id);
1043
-                    }
1070
+                  //如果采购订单的商品个数不等与 采购单里面的商品个数
1071
+                  if(purcaseOrder[i].project_id != newArr[j].project_id){
1072
+                     arrList.push(purcaseOrder[i].project_id)
1044
                   }
1073
                   }
1045
                 }
1074
                 }
1046
               }
1075
               }
1047
               //如果total的长度等于 采购单的长度,怎表示该采购订单已经全部生成
1076
               //如果total的长度等于 采购单的长度,怎表示该采购订单已经全部生成
1048
-
1049
-              if (arr.length == 0) {
1050
-                this.$message.error("该订单已全部生成采购单,请知悉!");
1051
-                return;
1052
-              }
1053
-
1054
-              if (arr.length >0) {
1055
-                str = arr.join(",");
1056
-                this.$router.push({path: "/good/order/add?id=" + this.id + "&ids=" + str});
1077
+              console.log("are232323323223322323",arrList)
1078
+              if(arrList.length > 0){
1079
+                str = arrList.join(",");
1080
+                this.$router.push({path: "/good/order/add?id=" + id + "&ids=" + str});
1057
               }
1081
               }
1058
             }
1082
             }
1083
+           }
1084
+     
1059
           }
1085
           }
1060
         }
1086
         }
1061
       });
1087
       });

+ 2 - 0
src/xt_pages/supply/components/editGoodOrder.vue 查看文件

1124
       var warehousing_id = this.$route.query.warehousing_id;
1124
       var warehousing_id = this.$route.query.warehousing_id;
1125
       console.log("采购单ID",id)
1125
       console.log("采购单ID",id)
1126
       console.log("采购订单ID",warehousing_id)
1126
       console.log("采购订单ID",warehousing_id)
1127
+      this.loading = true
1127
       getGoodOrderCountList(id, warehousing_id).then((response) => {
1128
       getGoodOrderCountList(id, warehousing_id).then((response) => {
1128
         if (response.data.state == 1) {
1129
         if (response.data.state == 1) {
1129
           this.$message.success("审核成功!");
1130
           this.$message.success("审核成功!");
1132
           this.showTwo = true;
1133
           this.showTwo = true;
1133
           this.showThree = true;
1134
           this.showThree = true;
1134
           this.disabled = true
1135
           this.disabled = true
1136
+          this.loading = false
1135
           var purcaseOrder = response.data.data.purcaseOrder;
1137
           var purcaseOrder = response.data.data.purcaseOrder;
1136
           this.Reviewed = true;
1138
           this.Reviewed = true;
1137
           console.log("采购订单", purcaseOrder);
1139
           console.log("采购订单", purcaseOrder);

+ 35 - 27
src/xt_pages/supply/components/editGoodReturn.vue 查看文件

241
               <div style="visibility: hidden">/</div>
241
               <div style="visibility: hidden">/</div>
242
             </template>
242
             </template>
243
           </el-table-column>
243
           </el-table-column>
244
-          <el-table-column label="折扣率" align="center" width="120px">
244
+          <el-table-column label="折扣率(%)" align="center" width="120px">
245
             <template slot-scope="scope">
245
             <template slot-scope="scope">
246
                <el-input
246
                <el-input
247
                   v-model="scope.row.deposit_rate"
247
                   v-model="scope.row.deposit_rate"
506
           this.supplyList = response.data.data.supplyList;
506
           this.supplyList = response.data.data.supplyList;
507
           for (let i = 0; i < drugList.length; i++) {
507
           for (let i = 0; i < drugList.length; i++) {
508
             for (let z = 0; z < drugList[i].drug_warehouse_info.length; z++) {
508
             for (let z = 0; z < drugList[i].drug_warehouse_info.length; z++) {
509
-              drugList[i].drug_warehouse_info[z].stock_max_number =
510
-                drugList[i].drug_warehouse_info[z].stock_max_number *
511
-                drugList[i].min_number;
509
+              if (drugList[i].max_unit == drugList[i].drug_warehouse_info[z].max_unit) {
510
+                drugList[i].drug_warehouse_info[z].stock_max_number = drugList[i].drug_warehouse_info[z].stock_max_number *drugList[i].min_number;
511
+              }
512
             }
512
             }
513
             for (let j = 0; j < this.manufactuerList.length; j++) {
513
             for (let j = 0; j < this.manufactuerList.length; j++) {
514
               if (drugList[i].manufacturer == this.manufactuerList[j].id) {
514
               if (drugList[i].manufacturer == this.manufactuerList[j].id) {
697
       this.recordInfo.tableList.push(tempObj);
697
       this.recordInfo.tableList.push(tempObj);
698
     },
698
     },
699
     handleDelete: function (index, row) {
699
     handleDelete: function (index, row) {
700
+      console.log("3232323223",row,this.is_check)
701
+      if (this.is_check == 1) {
702
+          this.$message.error("已审核单据,不能删除!");
703
+          return false;
704
+      }
700
       if (row.id == 0) {
705
       if (row.id == 0) {
701
         if (this.recordInfo.tableList.length <= 1) {
706
         if (this.recordInfo.tableList.length <= 1) {
702
           this.$message.error("只有一条记录的时候无法删除");
707
           this.$message.error("只有一条记录的时候无法删除");
706
         }
711
         }
707
       }
712
       }
708
       if (row.id > 0) {
713
       if (row.id > 0) {
709
-        if (this.is_check == 1) {
710
-          this.$message.error("已审核单据,不能删除!");
711
-          return false;
712
-        }
713
-        this.$confirm("确认删除吗?", "删除", {
714
-          confirmButtonText: "确 定",
715
-          cancelButtonText: "取 消",
716
-          type: "warning",
717
-        })
718
-          .then(() => {
719
-            deleteReturnOrderById(val.id).then((response) => {
720
-              if (response.data.state == 1) {
721
-                var msg = response.data.data.msg;
722
-                this.recordInfo.tableList.splice(index, 1);
723
-                this.$message.success("删除成功");
714
+        const params = {
715
+            id: row.id
716
+          }
717
+          this.$confirm('确认删除吗?', {
718
+            confirmButtonText: '确定',
719
+            cancelButtonText: '取消',
720
+            type: 'warning'
721
+          }).then(() => {
722
+            deleteReturnOrderById(params).then(response => {
723
+              if (response.data.state == 0) {
724
+                this.$message.error(response.data.msg)
725
+                return false
724
               } else {
726
               } else {
725
-                this.$message.error("删除失败");
727
+                 var msg = response.data.data.msg;
728
+                 this.recordInfo.tableList.splice(index, 1);
729
+                this.$message.success('删除成功')
726
               }
730
               }
727
-            });
728
-          })
729
-          .catch(() => {});
731
+            })
732
+          }).catch(() => {
733
+        })
734
+   
730
       }
735
       }
731
     },
736
     },
732
     getWarehoseInfo(arr, max_unit, min_unit, min_number) {
737
     getWarehoseInfo(arr, max_unit, min_unit, min_number) {
844
     getAllPrice() {
849
     getAllPrice() {
845
       var total_price = 0;
850
       var total_price = 0;
846
       for (let i = 0; i < this.recordInfo.tableList.length; i++) {
851
       for (let i = 0; i < this.recordInfo.tableList.length; i++) {
847
-        total_price +=
848
-          this.recordInfo.tableList[i].supply_price *
849
-          this.recordInfo.tableList[i].supply_count;
852
+        total_price +=(this.recordInfo.tableList[i].supply_price *this.recordInfo.tableList[i].supply_count - (this.recordInfo.tableList[i].supply_price * this.recordInfo.tableList[i].supply_count*this.recordInfo.tableList[i].deposit_rate/100))
850
       }
853
       }
851
       this.total_price = total_price;
854
       this.total_price = total_price;
852
-      return total_price.toFixed(2);
855
+      if(total_price > 0){
856
+         return total_price.toFixed(2);
857
+      }else{
858
+        return ""
859
+      }
860
+     
853
     },
861
     },
854
 
862
 
855
     addressChange() {
863
     addressChange() {

+ 35 - 2
src/xt_pages/supply/components/editPurchaseOrder.vue 查看文件

953
           if (goodOrder.length == 0) {
953
           if (goodOrder.length == 0) {
954
             this.$router.push({path: "/good/order/add?id=" + id + "&ids=" + ids});
954
             this.$router.push({path: "/good/order/add?id=" + id + "&ids=" + ids});
955
           }
955
           }
956
+       
957
+          
956
           for (let i = 0; i < purcaseOrder.length; i++) {
958
           for (let i = 0; i < purcaseOrder.length; i++) {
957
             for (let j = 0; j < drugList.length; j++) {
959
             for (let j = 0; j < drugList.length; j++) {
958
               if (purcaseOrder[i].is_source == 1) {
960
               if (purcaseOrder[i].is_source == 1) {
1002
               }
1004
               }
1003
             }
1005
             }
1004
 
1006
 
1005
-            var arr = [];
1007
+            var arr = []; 
1006
             var total = 0;
1008
             var total = 0;
1007
             var str = "";
1009
             var str = "";
1010
+            console.log("newArr2323223323223",newArr)
1011
+            console.log("newArr2323223323223",purcaseOrder)
1012
+            
1013
+
1014
+           console.log("长度1",goodOrder.length)
1015
+           console.log("长度2",purcaseOrder.length)
1008
 
1016
 
1017
+          if(purcaseOrder.length <=goodOrder.length){
1009
             //如果采购单有数据,则需要比较数量
1018
             //如果采购单有数据,则需要比较数量
1010
             if (newArr.length > 0) {
1019
             if (newArr.length > 0) {
1011
               for (let i = 0; i < purcaseOrder.length; i++) {
1020
               for (let i = 0; i < purcaseOrder.length; i++) {
1019
                 }
1028
                 }
1020
               }
1029
               }
1021
               //如果total的长度等于 采购单的长度,怎表示该采购订单已经全部生成
1030
               //如果total的长度等于 采购单的长度,怎表示该采购订单已经全部生成
1022
-
1031
+             
1023
               if (arr.length == 0) {
1032
               if (arr.length == 0) {
1024
                 this.$message.error("该订单已全部生成采购单,请知悉!");
1033
                 this.$message.error("该订单已全部生成采购单,请知悉!");
1025
                 return;
1034
                 return;
1029
                 str = arr.join(",");
1038
                 str = arr.join(",");
1030
                 this.$router.push({path: "/good/order/add?id=" + id + "&ids=" + str});
1039
                 this.$router.push({path: "/good/order/add?id=" + id + "&ids=" + str});
1031
               }
1040
               }
1041
+
1042
+            }
1043
+
1044
+          }
1045
+          //如果采购订单的商品个数不等与 采购单里面的商品个数
1046
+          if(purcaseOrder.length>goodOrder.length){
1047
+           var arrList = []
1048
+           var str = "";
1049
+            if (newArr.length > 0) {
1050
+              for (let i = 0; i < purcaseOrder.length; i++) {
1051
+                for (let j = 0; j < newArr.length; j++) {
1052
+                  //如果采购订单的商品个数不等与 采购单里面的商品个数
1053
+                  if(purcaseOrder[i].project_id != newArr[j].project_id){
1054
+                     arrList.push(purcaseOrder[i].project_id)
1055
+                  }
1056
+                }
1057
+              }
1058
+              //如果total的长度等于 采购单的长度,怎表示该采购订单已经全部生成
1059
+              console.log("are232323323223322323",arrList)
1060
+              if(arrList.length > 0){
1061
+                str = arrList.join(",");
1062
+                this.$router.push({path: "/good/order/add?id=" + id + "&ids=" + str});
1063
+              }
1032
             }
1064
             }
1065
+           }
1033
           }
1066
           }
1034
         }
1067
         }
1035
       });
1068
       });