XMLWAN 3 anos atrás
pai
commit
013ed85a49

+ 8 - 0
src/api/stock.js Ver arquivo

649
     params: params
649
     params: params
650
   })
650
   })
651
 }
651
 }
652
+
653
+export function getSingleOutOrderDetail(params) {
654
+  return request({
655
+    url: '/api/good/getsingleoutorderdetail',
656
+    method: 'get',
657
+    params: params
658
+  })
659
+}

+ 2 - 2
src/xt_pages/data/components/consumables.vue Ver arquivo

105
           {{ getGoodUnit(scope.row.good_unit) }}
105
           {{ getGoodUnit(scope.row.good_unit) }}
106
         </template>
106
         </template>
107
       </el-table-column> -->
107
       </el-table-column> -->
108
-      <el-table-column label="零售价" width="100" align="center">
108
+      <el-table-column label="包装零售价" width="100" align="center">
109
         <template slot-scope="scope">
109
         <template slot-scope="scope">
110
-          {{ scope.row.retail_price }}
110
+          {{ scope.row.packing_price }}
111
         </template>
111
         </template>
112
       </el-table-column>
112
       </el-table-column>
113
        <el-table-column label="社保目录编码" width="110" align="center">
113
        <el-table-column label="社保目录编码" width="110" align="center">

+ 15 - 23
src/xt_pages/stock/Dialog/goodInfoDailog.vue Ver arquivo

9
     <el-tabs v-model="activeName">
9
     <el-tabs v-model="activeName">
10
       <el-tab-pane label="基础数据" name="first">
10
       <el-tab-pane label="基础数据" name="first">
11
         <div>
11
         <div>
12
-          <!--:rules="rules"-->
13
           <el-form :model="form" ref="form" :rules="rules" label-width="100px"
12
           <el-form :model="form" ref="form" :rules="rules" label-width="100px"
14
                    style="display: flex;flex-wrap: wrap;justify-content: space-between;">
13
                    style="display: flex;flex-wrap: wrap;justify-content: space-between;">
15
             <el-form-item label="耗材名称 : " prop="good_name" style="width:100%">
14
             <el-form-item label="耗材名称 : " prop="good_name" style="width:100%">
46
               </el-select>
45
               </el-select>
47
             </el-form-item>
46
             </el-form-item>
48
 
47
 
49
-           <div style="width:100%;">
50
-              <div><span style="color:red;">*</span>单位&规格: <span style="color:#999">例如:FX80 * 60盒</span></div>
51
-          </div>
52
-          <div style="width:100%;display:flex;align-items:center;">
53
-               <el-form-item label="规格型号 : " prop="specification_name" style="width:200px">
54
-                 <el-input v-model="form.specification_name" placeholder="" maxlength="30"></el-input>
55
-               </el-form-item>
56
-                *
57
-                <el-form-item prop="min_number" class="noMargin">
58
-                  <el-input v-model="form.min_number" :disabled="showMinNumber" style="width:100px" type="number" placeholder="拆零"> </el-input>
59
-                </el-form-item>
60
-                <el-form-item prop="packing_unit" class="noMargin">
61
-                  <el-select v-model="form.packing_unit" style="width:160px;" placeholder="包装单位" @change="changePackingUnit">
62
-                    <el-option
63
-                      v-for="(item,index) in getDataConfig('hemodialysis','units')"
64
-                      :key="index"
65
-                      :label="item.name"
66
-                      :value="item.name">
67
-                    </el-option>
68
-                  </el-select>
69
-                </el-form-item>
70
-            </div>
48
+           
49
+        
50
+            <el-form-item label="规格型号 : " prop="specification_name">
51
+              <el-input v-model="form.specification_name" placeholder="" maxlength="30"></el-input>
52
+            </el-form-item>
53
+            <el-form-item prop="packing_unit"  label="包装单位:">
54
+              <el-select v-model="form.packing_unit" style="width:160px;" placeholder="包装单位" @change="changePackingUnit">
55
+                <el-option
56
+                  v-for="(item,index) in getDataConfig('hemodialysis','units')"
57
+                  :key="index"
58
+                  :label="item.name"
59
+                  :value="item.name">
60
+                </el-option>
61
+              </el-select>
62
+            </el-form-item>
71
 
63
 
72
             <el-form-item label="生产厂商 : " prop="manufacturer" style="width:100%">
64
             <el-form-item label="生产厂商 : " prop="manufacturer" style="width:100%">
73
 
65
 

+ 1 - 1
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue Ver arquivo

87
                   >
87
                   >
88
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
88
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
89
                   <template slot-scope="{ item }">
89
                   <template slot-scope="{ item }">
90
-                    <div class="name">{{ item.drug_name + item.dose + "*"+ item.dose_unit +item.min_number + item.min_unit +"/" + item.max_unit}}</div>
90
+                    <div class="name">{{ item.drug_name + item.dose + "*"+ item.dose_unit +item.min_number + item.min_unit +"/" + item.max_unit + "  "+item.manufacturer}}</div>
91
                   </template>
91
                   </template>
92
                  </el-autocomplete>
92
                  </el-autocomplete>
93
               </el-form-item>
93
               </el-form-item>

+ 10 - 3
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue Ver arquivo

128
                   >
128
                   >
129
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
129
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
130
                   <template slot-scope="{ item }">
130
                   <template slot-scope="{ item }">
131
-                    <div class="name">{{ item.drug_name + item.dose + "*"+ item.dose_unit +item.min_number + item.min_unit +"/" + item.max_unit}}</div>
131
+                    <div class="name">{{ item.drug_name + item.dose + "*"+ item.dose_unit +item.min_number + item.min_unit +"/" + item.max_unit + " "+item.manufacturer}}</div>
132
                   </template>
132
                   </template>
133
                  </el-autocomplete>
133
                  </el-autocomplete>
134
               </el-form-item>
134
               </el-form-item>
629
                this.recordInfo.recordData[i].manufacturer = 0
629
                this.recordInfo.recordData[i].manufacturer = 0
630
              }
630
              }
631
 
631
 
632
-             this.recordInfo.recordData[i].last_price = this.recordInfo.recordData[i].drug.last_price.toString()
633
-             this.recordInfo.recordData[i].manufacturer = this.recordInfo.recordData[i].drug.manufacturer
632
+             this.recordInfo.recordData[i].last_price = this.recordInfo.recordData[i].last_price.toString()
633
+            //  this.recordInfo.recordData[i].manufacturer = this.recordInfo.recordData[i].drug.manufacturer
634
+            
635
+            for(let j=0;j<this.manufacturerList.length;j++){
636
+              if(this.recordInfo.recordData[i].manufacturer == this.manufacturerList[j].manufacturer_name){
637
+                 this.recordInfo.recordData[i].manufacturer = this.manufacturerList[j].id
638
+               }
639
+            }
634
             
640
             
635
           }
641
           }
636
           const params = {
642
           const params = {
764
         this.currentIndex = val
770
         this.currentIndex = val
765
       },
771
       },
766
       handleSelect(val){
772
       handleSelect(val){
773
+        console.log("val2222",val)
767
         for(let i=0;i<this.recordInfo.recordData.length;i++){
774
         for(let i=0;i<this.recordInfo.recordData.length;i++){
768
            if(i == this.currentIndex){
775
            if(i == this.currentIndex){
769
              this.recordInfo.recordData[i].drug_id = val.id
776
              this.recordInfo.recordData[i].drug_id = val.id

+ 2 - 159
src/xt_pages/stock/drugs/drugStockOutOrder.vue Ver arquivo

279
     </div>
279
     </div>
280
 
280
 
281
 
281
 
282
-
283
-
284
-
285
-    <el-dialog
286
-      title="出库详细"
287
-      :visible.sync="dialogVisible"
288
-      width="60%"
289
-     >
290
-      <span>
291
-        <el-table :data="warehousingOutInfo.warehousingOutData" :class="signAndWeighBoxPatients" style="width: 100%"
292
-                  border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
293
-                  :span-method="merge"
294
-        >
295
-          <el-table-column min-width="35" align="center">
296
-            <template slot="header" slot-scope="scope">
297
-              <span>药品名称</span>
298
-            </template>
299
-
300
-            <template slot-scope="scope">
301
-              <span v-if="scope.row.drug_id != 0">{{
302
-                scope.row.drug.drug_name
303
-              }}</span>
304
-            </template>
305
-          </el-table-column>
306
-          <el-table-column min-width="35" align="center">
307
-            <template slot="header" slot-scope="scope">
308
-              <span>规格名称</span>
309
-            </template>
310
-            <template slot-scope="scope">
311
-              <span v-if="scope.row.drug_id != 0">{{
312
-                scope.row.drug?scope.row.drug.drug_spec:''
313
-              }}</span>
314
-            </template>
315
-          </el-table-column>
316
-
317
-          <el-table-column min-width="23" align="center">
318
-            <template slot="header" slot-scope="scope">
319
-              <span>单价</span>
320
-            </template>
321
-            <template slot-scope="scope">
322
-              <!-- <span>{{scope.row.price}}</span> -->
323
-              <span>{{getRetailPrice(scope.row.drug_id)}}</span>
324
-            </template>
325
-          </el-table-column>
326
-
327
-          <el-table-column min-width="23" align="center">
328
-            <template slot="header" slot-scope="scope">
329
-              <span>出库数量</span>
330
-            </template>
331
-            <template slot-scope="scope">
332
-              <span v-if="drugConfig.is_open == 0 || drugConfig.is_open ==2 ">{{scope.row.count}}</span>
333
-              <span v-if="drugConfig.is_open ==1">{{getDrugCount(scope.row.drug_id)}}</span>
334
-            </template>
335
-          </el-table-column>
336
-          <el-table-column label="总价" min-width="20" align="center">
337
-            <template slot-scope="scope">
338
-              <span v-if="drugConfig.is_open == 0 || drugConfig.is_open == 2">{{(scope.row.count * getRetailPrice(scope.row.drug_id)).toFixed(2)}}</span>
339
-              <span v-if="drugConfig.is_open == 1">{{(getRetailPrice(scope.row.drug_id) * getDrugCount(scope.row.drug_id)).toFixed(2)}}</span>
340
-            </template>
341
-          </el-table-column>
342
-
343
-          <el-table-column label="备注" min-width="20" align="center">
344
-            <template slot-scope="scope">
345
-              <el-popover placement="top-start" width="250" trigger="hover">
346
-                <div>{{scope.row.remark}}</div>
347
-                <span slot="reference"
348
-                      v-if="scope.row.remark.length > 20">{{ scope.row.remark.substr(0,20)+'...' }}</span>
349
-                <span slot="reference" v-else>{{ scope.row.remark}}</span>
350
-              </el-popover>
351
-
352
-            </template>
353
-          </el-table-column>
354
-
355
-          <el-table-column label="" align="center"  >
356
-            <template slot-scope="scope" v-if="scope.row.is_sys == 1">
357
-             <div style="color: #589ff8" @click="jump(scope.row.id)">使用明细</div>
358
-            </template>
359
-          </el-table-column>
360
-        </el-table>
361
-      </span>
362
-      <span slot="footer" class="dialog-footer">
363
-        <el-button @click="dialogVisible = false">取 消</el-button>
364
-        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
365
-      </span>
366
-    </el-dialog>
367
-
368
-
369
-    <el-dialog
370
-      title="出库明细"
371
-      :visible.sync="dialogVisibleTwo"
372
-      width="60%">
373
-      <span>
374
-         <div class="app-container">
375
-
376
-      <div class="filter-container">
377
-        <span style="font-size: 18px;color: #606266">商品使用明细</span>
378
-      </div>
379
-
380
-      <div class="cell clearfix">
381
-        <span style="width: 300px;color: #606266" v-if="userList.length>0">商品类型: {{userList[0].drug.drug_name}} </span>
382
-        <span style="width: 300px;color: #606266" v-if="userList.length>0">规格名称: {{userList[0].drug.drug_spec}}</span>
383
-      </div>
384
-
385
-      <el-row :gutter="12" style="margin-top: 10px">
386
-        <el-table :data="userList" :class="signAndWeighBoxPatients" style="width: 50%"
387
-                  border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
388
-        >
389
-          <el-table-column min-width="35" align="center">
390
-            <template slot="header" slot-scope="scope">
391
-              <span>序号</span>
392
-            </template>
393
-            <template slot-scope="scope">
394
-              <span v-if="scope.row.is_total == 0">{{scope.$index+1}}</span>
395
-              <span v-if="scope.row.is_total == 1">{{'合计'}}</span>
396
-            </template>
397
-          </el-table-column>
398
-
399
-          <el-table-column min-width="35" align="center">
400
-            <template slot="header" slot-scope="scope">
401
-              <span>使用人</span>
402
-            </template>
403
-            <template slot-scope="scope">
404
-              <span v-if="scope.row.is_total == 0">{{scope.row.user.name}}</span>
405
-              <span v-if="scope.row.is_total == 1"></span>
406
-            </template>
407
-          </el-table-column>
408
-          <el-table-column min-width="35" align="center">
409
-            <template slot="header" slot-scope="scope">
410
-              <span>使用数量</span>
411
-            </template>
412
-            <template slot-scope="scope">
413
-              <span >{{scope.row.count}}</span>
414
-            </template>
415
-          </el-table-column>
416
-
417
-          <el-table-column min-width="35" align="center">
418
-            <template slot="header" slot-scope="scope">
419
-              <span>使用时间</span>
420
-            </template>
421
-            <template slot-scope="scope">
422
-              <span  v-if="scope.row.is_total == 0">{{scope.row.ctime | parseTime('{y}-{m}-{d} {h}:{i}')}} </span>
423
-              <span  v-if="scope.row.is_total == 1">{{scope.row.total}} </span>
424
-            </template>
425
-          </el-table-column>
426
-
427
-        </el-table>
428
-      </el-row>
429
-    </div>
430
-      </span>
431
-      <span slot="footer" class="dialog-footer">
432
-        <el-button @click="dialogVisibleTwo = false">取 消</el-button>
433
-        <el-button type="primary" @click="dialogVisibleTwo = false">确 定</el-button>
434
-      </span>
435
-    </el-dialog>
436
-
437
-
438
-   
439
     <el-dialog
282
     <el-dialog
440
       title="提示"
283
       title="提示"
441
       :visible.sync="drugDialogVisible"
284
       :visible.sync="drugDialogVisible"
534
       (nowDay < 10 ? "0" + nowDay : nowDay);
377
       (nowDay < 10 ? "0" + nowDay : nowDay);
535
     this.GetWarehouseOut();
378
     this.GetWarehouseOut();
536
     this.GetConfigInfo();
379
     this.GetConfigInfo();
537
-    this.fetchAllAdminUsers();
380
+    // this.fetchAllAdminUsers();
538
   },
381
   },
539
   data() {
382
   data() {
540
     return {
383
     return {
736
        this.getInitializtion()
579
        this.getInitializtion()
737
        this.getSinleOrderDetail(val.id)
580
        this.getSinleOrderDetail(val.id)
738
        this.list = []
581
        this.list = []
739
-       this.getDrugAutoMaticList(val.id,val.time,val.warehouse_out_order_number)
582
+      //  this.getDrugAutoMaticList(val.id,val.time,val.warehouse_out_order_number)
740
 
583
 
741
     },
584
     },
742
     GetOrderDetail(order_id) {
585
     GetOrderDetail(order_id) {

+ 1 - 1
src/xt_pages/stock/drugs/drugStockOutOrderAdd.vue Ver arquivo

120
                   >
120
                   >
121
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
121
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
122
                   <template slot-scope="{ item }">
122
                   <template slot-scope="{ item }">
123
-                    <div class="name">{{ item.drug_name + item.dose + "*"+ item.dose_unit +item.min_number + item.min_unit +"/" + item.max_unit}}</div>
123
+                    <div class="name">{{ item.drug_name + item.dose + "*"+ item.dose_unit +item.min_number + item.min_unit +"/" + item.max_unit + " " + item.manufacturer}}</div>
124
                   </template>
124
                   </template>
125
                  </el-autocomplete>
125
                  </el-autocomplete>
126
               </el-form-item>
126
               </el-form-item>

+ 10 - 3
src/xt_pages/stock/drugs/drugStockOutOrderEdit.vue Ver arquivo

98
                   >
98
                   >
99
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
99
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
100
                   <template slot-scope="{ item }">
100
                   <template slot-scope="{ item }">
101
-                    <div class="name">{{ item.drug_name + item.dose + "*"+ item.dose_unit +item.min_number + item.min_unit +"/" + item.max_unit}}</div>
101
+                    <div class="name">{{ item.drug_name + item.dose + "*"+ item.dose_unit +item.min_number + item.min_unit +"/" + item.max_unit + " "+item.manufacturer}}</div>
102
                   </template>
102
                   </template>
103
                  </el-autocomplete>
103
                  </el-autocomplete>
104
               </el-form-item>
104
               </el-form-item>
544
                 return;
544
                 return;
545
               }
545
               }
546
             }
546
             }
547
-
547
+            for(let i=0;i<this.recordInfo.recordData.length;i++){
548
+               for(let j=0;j<this.manufacturerList.length;j++){
549
+                 if(this.recordInfo.recordData[i].manufacturer = this.manufacturerList[j].manufacturer_name){
550
+                    this.recordInfo.recordData[i].manufacturer = this.manufacturerList[j].id
551
+                 }
552
+               }
553
+            }
548
             const params = {
554
             const params = {
549
               'stockOut': this.recordInfo.recordData
555
               'stockOut': this.recordInfo.recordData
550
             }
556
             }
613
             this.recordInfo.recordData.push(tempObj)
619
             this.recordInfo.recordData.push(tempObj)
614
           }
620
           }
615
         })
621
         })
616
-      }, calculate: function(val) {
622
+      },
623
+       calculate: function(val) {
617
         if (val == 0) {
624
         if (val == 0) {
618
           return ''
625
           return ''
619
         }
626
         }

+ 2 - 2
src/xt_pages/stock/stockInOrderAdd.vue Ver arquivo

76
                   >
76
                   >
77
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
77
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
78
                   <template slot-scope="{ item }">
78
                   <template slot-scope="{ item }">
79
-                    <div class="name">{{ item.good_name +"  " +item.specification_name }}</div>
79
+                    <div class="name">{{ item.good_name +"  " +item.specification_name + "  "+item.manufacturer }}</div>
80
                   </template>
80
                   </template>
81
                  </el-autocomplete>
81
                  </el-autocomplete>
82
             </template>
82
             </template>
752
               this.recordInfo.recordData[i].good_type_id = val.id
752
               this.recordInfo.recordData[i].good_type_id = val.id
753
               this.recordInfo.recordData[i].good_name = val.good_name
753
               this.recordInfo.recordData[i].good_name = val.good_name
754
               this.recordInfo.recordData[i].good_type_id = val.good_type_id
754
               this.recordInfo.recordData[i].good_type_id = val.good_type_id
755
-              this.recordInfo.recordData[i].name = val.specification_name + "*" + val.min_number+val.packing_unit
755
+              this.recordInfo.recordData[i].name = val.specification_name +"/"+val.packing_unit
756
               this.recordInfo.recordData[i].number =  val.number
756
               this.recordInfo.recordData[i].number =  val.number
757
               this.recordInfo.recordData[i].manufacturer = val.manufacturer
757
               this.recordInfo.recordData[i].manufacturer = val.manufacturer
758
               this.recordInfo.recordData[i].remark = val.remark
758
               this.recordInfo.recordData[i].remark = val.remark

+ 33 - 12
src/xt_pages/stock/stockInOrderEdit.vue Ver arquivo

117
                   >
117
                   >
118
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
118
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
119
                   <template slot-scope="{ item }">
119
                   <template slot-scope="{ item }">
120
-                    <div class="name">{{ item.good_name +" " + item.specification_name}}</div>
120
+                    <div class="name">{{ item.good_name +" " + item.specification_name + "  "+ item.manufacturer}}</div>
121
                   </template>
121
                   </template>
122
                  </el-autocomplete>
122
                  </el-autocomplete>
123
             </template>
123
             </template>
405
       manufacturer: [],
405
       manufacturer: [],
406
       dealerList: [],
406
       dealerList: [],
407
       goodType: [],
407
       goodType: [],
408
-      manufacturerList:[]
408
+      manufacturerList:[],
409
+      numberList:[]
409
     };
410
     };
410
   },
411
   },
411
   methods: {
412
   methods: {
509
       tempObj["remark"] = "";
510
       tempObj["remark"] = "";
510
       tempObj["dealer"] = "";
511
       tempObj["dealer"] = "";
511
       tempObj["manufacturer"] = "";
512
       tempObj["manufacturer"] = "";
513
+      tempObj["number"] = ""
512
       this.recordInfo.recordData.push(tempObj);
514
       this.recordInfo.recordData.push(tempObj);
513
     },
515
     },
514
     handleDelete: function(index, row) {
516
     handleDelete: function(index, row) {
632
               return;
634
               return;
633
             }
635
             }
634
           }
636
           }
637
+          console.log("昌吉",this.manufacturerList)
635
           for(let i=0;i<this.recordInfo.recordData.length;i++){
638
           for(let i=0;i<this.recordInfo.recordData.length;i++){
636
             this.recordInfo.recordData[i].price = this.recordInfo.recordData[i].price.toString()
639
             this.recordInfo.recordData[i].price = this.recordInfo.recordData[i].price.toString()
640
+
641
+          for(let j=0;j<this.manufacturerList.length;j++){
642
+              if(this.recordInfo.recordData[i].manufacturer == this.manufacturerList[j].manufacturer_name){
643
+                  this.recordInfo.recordData[i].manufacturer = this.manufacturerList[j].id
644
+                 }
645
+              }
637
           }
646
           }
647
+         
638
           const params = {
648
           const params = {
639
             stockIn: this.recordInfo.recordData
649
             stockIn: this.recordInfo.recordData
640
           };
650
           };
685
             response.data.data.info[i].price = response.data.data.info[i].price.toString();
695
             response.data.data.info[i].price = response.data.data.info[i].price.toString();
686
             response.data.data.info[i].warehousing_count = response.data.data.info[i].warehousing_count.toString();
696
             response.data.data.info[i].warehousing_count = response.data.data.info[i].warehousing_count.toString();
687
             response.data.data.info[i].good_name = response.data.data.info[i].GoodInfo.good_name
697
             response.data.data.info[i].good_name = response.data.data.info[i].GoodInfo.good_name
688
-            response.data.data.info[i].name = response.data.data.info[i].GoodInfo.specification_name + "*" + response.data.data.info[i].GoodInfo.min_number+response.data.data.info[i].GoodInfo.packing_unit
698
+            response.data.data.info[i].name = response.data.data.info[i].GoodInfo.specification_name + "/"+response.data.data.info[i].GoodInfo.packing_unit
689
             response.data.data.info[i].packing_unit = response.data.data.info[i].GoodInfo.packing_unit
699
             response.data.data.info[i].packing_unit = response.data.data.info[i].GoodInfo.packing_unit
690
             
700
             
691
            
701
            
731
           
741
           
732
             var list = response.data.data.list
742
             var list = response.data.data.list
733
             this.goodList = list
743
             this.goodList = list
734
-            // var manufacturerList = response.data.data.manufacturerList
744
+            var manufacturerList = response.data.data.manufacturerList
745
+            this.manufacturerList = manufacturerList
735
             // this.dealerList = response.data.data.dealerList
746
             // this.dealerList = response.data.data.dealerList
736
-            // this.manufacturerList = manufacturerList
737
-            // for(let i=0;i<this.goodList.length;i++){
738
-            //     for(let j=0;j<this.manufacturerList.length;j++){
739
-            //       if(this.goodList[i].manufacturer == this.manufacturerList[j].id){
740
-            //         this.goodList[i].manufacturer = this.manufacturerList[j].manufacturer_name
741
-            //       }
742
-            //     }
743
-            // }
747
+            for(let i=0;i<this.goodList.length;i++){
748
+                for(let j=0;j<manufacturerList.length;j++){
749
+                  if(this.goodList[i].manufacturer == manufacturerList[j].id){
750
+                    this.goodList[i].manufacturer = manufacturerList[j].manufacturer_name
751
+                  }
752
+                }
753
+            }
744
             // for(let i=0;i<this.goodList.length;i++){
754
             // for(let i=0;i<this.goodList.length;i++){
745
             //    for(let j=0;j<this.dealerList.length;j++){
755
             //    for(let j=0;j<this.dealerList.length;j++){
746
             //       if(this.goodList[i].dealer == this.dealerList[j].id){
756
             //       if(this.goodList[i].dealer == this.dealerList[j].id){
774
             this.recordInfo.recordData[i].packing_unit = val.packing_unit
784
             this.recordInfo.recordData[i].packing_unit = val.packing_unit
775
             this.recordInfo.recordData[i].dealer = val.dealer
785
             this.recordInfo.recordData[i].dealer = val.dealer
776
           }
786
           }
787
+         
788
+         if(val.xt_warehouse_info.length > 0){
789
+           
790
+          for(let j=0;j<val.xt_warehouse_info.length;j++){
791
+              this.numberList.push(val.xt_warehouse_info[j])
792
+            }
793
+            this.recordInfo.recordData[i].number = val.xt_warehouse_info[0].number
794
+          }else{
795
+            this.recordInfo.recordData[i].number = ""
796
+          }
777
         }
797
         }
798
+     
778
     }
799
     }
779
   },
800
   },
780
   created() {
801
   created() {

+ 2 - 2
src/xt_pages/stock/stockOutOrder.vue Ver arquivo

201
               {{ scope.row.specification_name}} * {{scope.row.min_number}}{{scope.row.min_unit}}
201
               {{ scope.row.specification_name}} * {{scope.row.min_number}}{{scope.row.min_unit}}
202
             </template>
202
             </template>
203
           </el-table-column>
203
           </el-table-column>
204
-          <!-- <el-table-column label="批号" align="center">
204
+          <el-table-column label="批号" align="center">
205
             <template slot-scope="scope">
205
             <template slot-scope="scope">
206
               {{ scope.row.number}}
206
               {{ scope.row.number}}
207
             </template>
207
             </template>
208
-          </el-table-column> -->
208
+          </el-table-column>
209
           <el-table-column label="出库数量" align="center">
209
           <el-table-column label="出库数量" align="center">
210
             <template slot-scope="scope">
210
             <template slot-scope="scope">
211
               <span v-if="scope.row.is_sys == 0">{{ scope.row.count}}</span> 
211
               <span v-if="scope.row.is_sys == 0">{{ scope.row.count}}</span> 

+ 47 - 11
src/xt_pages/stock/stockOutOrderAdd.vue Ver arquivo

123
                   >
123
                   >
124
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
124
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
125
                   <template slot-scope="{ item }">
125
                   <template slot-scope="{ item }">
126
-                    <div class="name">{{ item.good_name }}</div>
126
+                    <div class="name">{{item.good_name +"  " +item.specification_name + "  "+  item.manufacturer}}</div>
127
                   </template>
127
                   </template>
128
                  </el-autocomplete>
128
                  </el-autocomplete>
129
               </el-form-item>
129
               </el-form-item>
150
           
150
           
151
           <el-table-column width="140" align="center">
151
           <el-table-column width="140" align="center">
152
             <template slot="header" slot-scope="scope">
152
             <template slot="header" slot-scope="scope">
153
-              <span>规格&&单位<span style="color: red">*</span></span>
153
+              <span>规格&单位<span style="color: red">*</span></span>
154
             </template>
154
             </template>
155
             <template slot-scope="scope">
155
             <template slot-scope="scope">
156
               <el-form-item style="padding-top: 20px">
156
               <el-form-item style="padding-top: 20px">
159
             </template>
159
             </template>
160
           </el-table-column>
160
           </el-table-column>
161
           
161
           
162
-          <!-- <el-table-column  width="150" align="center">
162
+          <el-table-column  width="150" align="center">
163
              <template slot="header" slot-scope="scope">
163
              <template slot="header" slot-scope="scope">
164
               <span>批号<span style="color: red"></span></span>
164
               <span>批号<span style="color: red"></span></span>
165
             </template>
165
             </template>
166
             <template slot-scope="scope">
166
             <template slot-scope="scope">
167
-               <el-input placeholder="请输入批号" v-model="scope.row.number"></el-input>
167
+               <!-- <el-input placeholder="请输入批号" v-model="scope.row.number"></el-input> -->
168
+                <el-select v-model="scope.row.number" filterable placeholder="请选择">
169
+                  <el-option
170
+                    v-for="(item,index) in numberList"
171
+                    :key="index"
172
+                    :label="item.number"
173
+                    :value="item.number">
174
+                  </el-option>
175
+                </el-select>
168
             </template>
176
             </template>
169
-          </el-table-column> -->
177
+          </el-table-column>
170
 
178
 
171
          <el-table-column  width="150" align="center">
179
          <el-table-column  width="150" align="center">
172
             <template slot="header" slot-scope="scope">
180
             <template slot="header" slot-scope="scope">
227
             </template>   
235
             </template>   
228
           </el-table-column>
236
           </el-table-column>
229
 
237
 
230
-         <!-- <el-table-column label="生产日期"  width="150" align="center">
238
+         <el-table-column label="生产日期"  width="150" align="center">
231
            <template slot-scope="scope">
239
            <template slot-scope="scope">
232
               <el-date-picker
240
               <el-date-picker
233
                 prefix-icon="el-icon-date"
241
                 prefix-icon="el-icon-date"
253
                 value-format="yyyy-MM-dd"
261
                 value-format="yyyy-MM-dd"
254
               ></el-date-picker>
262
               ></el-date-picker>
255
             </template>
263
             </template>
256
-          </el-table-column> -->
264
+          </el-table-column>
265
+         
266
+
267
+          <el-table-column label="经销商"  width="150" align="center">
268
+            <template slot-scope="scope">
269
+               <el-select size="small" v-model="scope.row.manufacturer" filterable placeholder="请选择厂商">
270
+                <el-option
271
+                  v-for="(option, index) in manufacturerList"
272
+                  :key="index"
273
+                  :label="option.manufacturer_name"
274
+                  :value="option.id">
275
+                </el-option>
276
+               </el-select>
277
+            </template>   
278
+          </el-table-column>
279
+
257
 
280
 
258
 
281
 
259
           <el-table-column label="备注"  width="150" align="center">
282
           <el-table-column label="备注"  width="150" align="center">
262
             </template>
285
             </template>
263
           </el-table-column>
286
           </el-table-column>
264
 
287
 
265
-          <el-table-column label="操作" align="center" min-width="150">
288
+          <el-table-column label="操作" align="center" min-width="150" fixed="right">
266
             <template slot-scope="scope">
289
             <template slot-scope="scope">
267
               <el-tooltip
290
               <el-tooltip
268
                 class="item"
291
                 class="item"
359
       goodType: [],
382
       goodType: [],
360
       goodInfo:[],
383
       goodInfo:[],
361
       goodList:[],
384
       goodList:[],
362
-      manufacturerList:[]
385
+      manufacturerList:[],
386
+      numberList:[],
363
     };
387
     };
364
   },
388
   },
365
   methods: {
389
   methods: {
463
       tempObj["good_unit"] = "";
487
       tempObj["good_unit"] = "";
464
       tempObj["number"] = ""
488
       tempObj["number"] = ""
465
       tempObj["specification_name"] = ""
489
       tempObj["specification_name"] = ""
490
+      tempObj["number"] = ""
466
       this.recordInfo.recordData.push(tempObj);
491
       this.recordInfo.recordData.push(tempObj);
467
     },
492
     },
468
     handleDelete: function(index, row) {
493
     handleDelete: function(index, row) {
590
             stockOut: this.recordInfo.recordData
615
             stockOut: this.recordInfo.recordData
591
           };
616
           };
592
           console.log("2323223223",this.recordInfo.recordData);
617
           console.log("2323223223",this.recordInfo.recordData);
593
-        
618
+         
594
           postWarehouseOut(
619
           postWarehouseOut(
595
             params,
620
             params,
596
             this.warehouse_out_time,
621
             this.warehouse_out_time,
628
         if (response.data.state == 1) {
653
         if (response.data.state == 1) {
629
           
654
           
630
             var list = response.data.data.list
655
             var list = response.data.data.list
656
+            console.log("33334445555",list)
631
             this.goodList = list
657
             this.goodList = list
632
             var manufacturerList = response.data.data.manufacturerList
658
             var manufacturerList = response.data.data.manufacturerList
633
             this.manufacturerList = manufacturerList
659
             this.manufacturerList = manufacturerList
655
             this.recordInfo.recordData[i].good_type_id = val.id
681
             this.recordInfo.recordData[i].good_type_id = val.id
656
             this.recordInfo.recordData[i].good_name = val.good_name
682
             this.recordInfo.recordData[i].good_name = val.good_name
657
             this.recordInfo.recordData[i].good_type_id = val.good_type_id
683
             this.recordInfo.recordData[i].good_type_id = val.good_type_id
658
-            this.recordInfo.recordData[i].name = val.specification_name + "*" + val.min_number+val.min_unit +"/"+val.packing_unit
684
+            this.recordInfo.recordData[i].name = val.specification_name +"/"+val.packing_unit
659
             this.recordInfo.recordData[i].manufacturer = val.manufacturer
685
             this.recordInfo.recordData[i].manufacturer = val.manufacturer
660
             this.recordInfo.recordData[i].remark = val.remark
686
             this.recordInfo.recordData[i].remark = val.remark
661
             this.recordInfo.recordData[i].price = val.buy_price
687
             this.recordInfo.recordData[i].price = val.buy_price
663
             this.recordInfo.recordData[i].good_id = val.id
689
             this.recordInfo.recordData[i].good_id = val.id
664
          }
690
          }
665
       }
691
       }
692
+
693
+       if(val.xt_warehouse_info.length > 0){
694
+           var obj = {id:"",name:""}
695
+          for(let j=0;j<val.xt_warehouse_info.length;j++){
696
+            this.numberList.push(val.xt_warehouse_info[j])
697
+          }
698
+          
699
+        }
700
+        console.log("9999999",this.numberList)
666
     }
701
     }
667
   },
702
   },
668
   created() {
703
   created() {
685
     tempObj["good_unit"] = ""
720
     tempObj["good_unit"] = ""
686
     tempObj["number"] = ""
721
     tempObj["number"] = ""
687
     tempObj["specification_name"] = ""
722
     tempObj["specification_name"] = ""
723
+    tempObj["number"] = ""
688
     this.recordInfo.recordData.push(tempObj);
724
     this.recordInfo.recordData.push(tempObj);
689
     this.GetConfigInfo();
725
     this.GetConfigInfo();
690
     this.propForm.goodUnit = this.$store.getters.good_unit;
726
     this.propForm.goodUnit = this.$store.getters.good_unit;

+ 91 - 34
src/xt_pages/stock/stockOutOrderEdit.vue Ver arquivo

83
                     >
83
                     >
84
                       <i class="el-icon-search el-input__icon" slot="suffix"></i>
84
                       <i class="el-icon-search el-input__icon" slot="suffix"></i>
85
                     <template slot-scope="{ item }">
85
                     <template slot-scope="{ item }">
86
-                      <div class="name">{{ item.good_name }}</div>
86
+                      <div class="name">{{item.good_name +"  " +item.specification_name + "  "+  item.manufacturer}}</div>
87
                     </template>
87
                     </template>
88
                   </el-autocomplete>
88
                   </el-autocomplete>
89
                 </el-form-item>
89
                 </el-form-item>
108
              
108
              
109
           <el-table-column width="140" align="center">
109
           <el-table-column width="140" align="center">
110
             <template slot="header" slot-scope="scope">
110
             <template slot="header" slot-scope="scope">
111
-              <span>规格&&单位<span style="color: red">*</span></span>
111
+              <span>规格&单位<span style="color: red">*</span></span>
112
             </template>
112
             </template>
113
             <template slot-scope="scope">
113
             <template slot-scope="scope">
114
               <el-form-item style="padding-top: 20px">
114
               <el-form-item style="padding-top: 20px">
116
               </el-form-item>
116
               </el-form-item>
117
             </template>
117
             </template>
118
           </el-table-column>
118
           </el-table-column>
119
-          <!-- <el-table-column min-width="35" align="center">
119
+
120
+          <el-table-column width="140" align="center">
120
             <template slot="header" slot-scope="scope">
121
             <template slot="header" slot-scope="scope">
121
-              <span>规格名称<span style="color: red">*</span></span>
122
+              <span>批号<span style="color: red"></span></span>
122
             </template>
123
             </template>
123
             <template slot-scope="scope">
124
             <template slot-scope="scope">
124
-
125
-              <el-form-item style="padding-top: 15px">
126
-                <el-input placeholder="请输入规格名称" v-model="scope.row.good_id"
127
-                          :value="specificationName(scope.row.good_id)"
128
-                          @focus="showDialog(scope.$index, scope.row)"></el-input>
125
+              <el-form-item style="padding-top: 20px">
126
+               <el-select v-model="scope.row.number" filterable placeholder="请选择">
127
+                  <el-option
128
+                    v-for="(item,index) in numberList"
129
+                    :key="index"
130
+                    :label="item.number"
131
+                    :value="item.number">
132
+                  </el-option>
133
+                </el-select>
129
               </el-form-item>
134
               </el-form-item>
130
-
131
             </template>
135
             </template>
132
-          </el-table-column> -->
133
-
134
-
136
+          </el-table-column>
137
+         
135
           <el-table-column min-width="23" align="center">
138
           <el-table-column min-width="23" align="center">
136
             <template slot="header" slot-scope="scope">
139
             <template slot="header" slot-scope="scope">
137
               <span>单价<span style="color: red">*</span></span>
140
               <span>单价<span style="color: red">*</span></span>
181
               <el-input v-model="scope.row.remark"></el-input>
184
               <el-input v-model="scope.row.remark"></el-input>
182
             </template>
185
             </template>
183
           </el-table-column>
186
           </el-table-column>
184
-          <el-table-column label="操作" align="center" min-width="20">
187
+          <el-table-column label="操作" align="center" min-width="30"  fixed="right">
185
             <template slot-scope="scope">
188
             <template slot-scope="scope">
186
               <el-tooltip class="item" effect="dark" content="新增" placement="top">
189
               <el-tooltip class="item" effect="dark" content="新增" placement="top">
187
 
190
 
215
 <script>
218
 <script>
216
   import { uParseTime } from '@/utils/tools'
219
   import { uParseTime } from '@/utils/tools'
217
 
220
 
218
-  import { deleteWarehouseOutInfo, editWarehouseoutInfo, getSalesReturnConfig, getWarehouseOutInfo,GetAllConfig,GetAllGoodInfoByID,postSearchGoodList } from '@/api/stock'
221
+  import { deleteWarehouseOutInfo, editWarehouseoutInfo, getSalesReturnConfig, getWarehouseOutInfo,GetAllConfig,GetAllGoodInfoByID,postSearchGoodList,getSingleOutOrderDetail } from '@/api/stock'
219
   import BreadCrumb from '../components/bread-crumb'
222
   import BreadCrumb from '../components/bread-crumb'
220
   import StockInDialog from './Dialog/stockInDialog'
223
   import StockInDialog from './Dialog/stockInDialog'
221
 
224
 
282
         dealer: [],
285
         dealer: [],
283
         goodType: [],
286
         goodType: [],
284
         goodInfo:[],
287
         goodInfo:[],
288
+        numberList:[],
285
       }
289
       }
286
     },
290
     },
287
     methods: {
291
     methods: {
340
             this.dealer = response.data.data.dealer;
344
             this.dealer = response.data.data.dealer;
341
             this.goodType = response.data.data.goodType;
345
             this.goodType = response.data.data.goodType;
342
             this.goodInfo = response.data.data.goodInfo;
346
             this.goodInfo = response.data.data.goodInfo;
343
-            // this.manufacturer.splice(0, 0, { id: 0, manufacturer_name: "全部" });
344
-            // this.dealer.splice(0, 0, { id: 0, dealer_name: "全部" });
345
           }
347
           }
346
           loading.close();
348
           loading.close();
347
         });
349
         });
370
         tempObj['count'] = ''
372
         tempObj['count'] = ''
371
         tempObj['price'] = ''
373
         tempObj['price'] = ''
372
         tempObj['remark'] = ''
374
         tempObj['remark'] = ''
375
+        tempObj['number'] = ""
373
         this.recordInfo.recordData.push(tempObj)
376
         this.recordInfo.recordData.push(tempObj)
374
       }, handleDelete: function(index, row) {
377
       }, handleDelete: function(index, row) {
375
         if (row.id == 0) {
378
         if (row.id == 0) {
486
             }
489
             }
487
             for(let i=0;i<this.recordInfo.recordData.length;i++){
490
             for(let i=0;i<this.recordInfo.recordData.length;i++){
488
                this.recordInfo.recordData[i].price = this.recordInfo.recordData[i].price.toString()
491
                this.recordInfo.recordData[i].price = this.recordInfo.recordData[i].price.toString()
492
+              for(let j=0;j<this.manufacturerList.length;j++){
493
+                if(this.recordInfo.recordData[i].manufacturer == this.manufacturerList[j].manufacturer_name){
494
+                  this.recordInfo.recordData[i].manufacturer = this.manufacturerList[j].id
495
+                }
496
+              }
489
             }
497
             }
490
             const params = {
498
             const params = {
491
               'stockOut': this.recordInfo.recordData
499
               'stockOut': this.recordInfo.recordData
492
             }
500
             }
493
            
501
            
502
+            for(let i=0;i<this.goodList.length;i++){
503
+             
504
+            }
505
+
506
+           
494
             console.log("stockout",params)
507
             console.log("stockout",params)
495
-            
508
+          
496
             editWarehouseoutInfo(params, this.warehouse_out_time, this.$route.query.id, this.$route.query.type, this.form.manufacturer, this.form.dealer).then(response => {
509
             editWarehouseoutInfo(params, this.warehouse_out_time, this.$route.query.id, this.$route.query.type, this.form.manufacturer, this.form.dealer).then(response => {
497
               if (response.data.state == 0) {
510
               if (response.data.state == 0) {
498
                 this.$message.error(response.data.msg)
511
                 this.$message.error(response.data.msg)
564
           
577
           
565
             var list = response.data.data.list
578
             var list = response.data.data.list
566
             this.goodList = list
579
             this.goodList = list
567
-            // var manufacturerList = response.data.data.manufacturerList
568
-            // this.manufacturerList = manufacturerList
569
-            // for(let i=0;i<this.goodList.length;i++){
570
-            //   for(let j=0;j<this.manufacturerList.length;j++){
571
-            //     if(this.goodList[i].manufacturer == this.manufacturerList[j].id){
572
-            //         this.goodList[i].manufacturer = this.manufacturerList[j].manufacturer_name
573
-            //     }
574
-            //   }
575
-            // }
580
+            var manufacturerList = response.data.data.manufacturerList
581
+            this.manufacturerList = manufacturerList
582
+            for(let i=0;i<this.goodList.length;i++){
583
+              for(let j=0;j<this.manufacturerList.length;j++){
584
+                if(this.goodList[i].manufacturer == this.manufacturerList[j].id){
585
+                    this.goodList[i].manufacturer = this.manufacturerList[j].manufacturer_name
586
+                }
587
+              }
588
+            }
576
           
589
           
577
             cb(this.goodList)
590
             cb(this.goodList)
578
         } else {
591
         } else {
584
       this.currentIndex = val
597
       this.currentIndex = val
585
     },
598
     },
586
     handleSelect(val){
599
     handleSelect(val){
587
-      console.log("val",val)
600
+       console.log("val22222",val)
588
         for(let i=0;i<this.recordInfo.recordData.length;i++){
601
         for(let i=0;i<this.recordInfo.recordData.length;i++){
589
           if(this.currentIndex == i){
602
           if(this.currentIndex == i){
590
             this.recordInfo.recordData[i].good_type_id = val.id
603
             this.recordInfo.recordData[i].good_type_id = val.id
591
             this.recordInfo.recordData[i].good_name = val.good_name
604
             this.recordInfo.recordData[i].good_name = val.good_name
592
             this.recordInfo.recordData[i].good_type_id = val.good_type_id
605
             this.recordInfo.recordData[i].good_type_id = val.good_type_id
593
-            this.recordInfo.recordData[i].name = val.specification_name + "*" + val.min_number+val.min_unit +"/"+val.packing_unit
594
-            // this.recordInfo.recordData[i].number =  val.number
606
+            this.recordInfo.recordData[i].name = val.specification_name  +"/"+val.packing_unit
595
             this.recordInfo.recordData[i].manufacturer = val.manufacturer
607
             this.recordInfo.recordData[i].manufacturer = val.manufacturer
596
             this.recordInfo.recordData[i].remark = val.remark
608
             this.recordInfo.recordData[i].remark = val.remark
597
             this.recordInfo.recordData[i].price = val.buy_price
609
             this.recordInfo.recordData[i].price = val.buy_price
598
             this.recordInfo.recordData[i].specification_name = val.specification_name
610
             this.recordInfo.recordData[i].specification_name = val.specification_name
599
             this.recordInfo.recordData[i].good_id = val.id
611
             this.recordInfo.recordData[i].good_id = val.id
600
-
601
          }
612
          }
602
       }
613
       }
614
+      console.log("hhhhh232323232",val.xt_warehouse_info)
615
+      if(val.xt_warehouse_info.length > 0){
616
+         console.log("hhhhhhhhhh")
617
+          for(let j=0;j<val.xt_warehouse_info.length;j++){
618
+            this.numberList.push(val.xt_warehouse_info[j])
619
+          }
620
+         this.recordInfo.recordData[i].number = val.xt_warehouse_info[0].number
621
+      }else{
622
+        this.recordInfo.recordData[i].number = ""
623
+      }
624
+    },
625
+     getSingleOutOrderDetail(order_id){
626
+       const params = {
627
+          'id': order_id
628
+        }
629
+      getSingleOutOrderDetail(params).then(response=>{
630
+        if(response.data.state == 1){
631
+          console.log("详情",response.data.data.list)
632
+          var dealerList = response.data.data.dealerList
633
+          this.dealerList = dealerList
634
+          var manufacturerList = response.data.data.manufacturerList
635
+          console.log("hhhhhhhhh",manufacturerList)
636
+          this.manufacturerList = manufacturerList
637
+          this.goodType = response.data.data.goodType
638
+          for (let i = 0; i < response.data.data.list.length; i++) {
639
+           
640
+            response.data.data.list[i].price = response.data.data.list[i].price.toString()
641
+            response.data.data.list[i].count = response.data.data.list[i].count.toString()
642
+            response.data.data.list[i].good_name = response.data.data.list[i].good_name
643
+            response.data.data.list[i].name = response.data.data.list[i].specification_name + "/" + response.data.data.list[i].packing_unit
644
+            response.data.data.list[i].good_type_id = response.data.data.list[i].good_type_id
645
+            this.numberList.push(response.data.data.list[i])
646
+            this.recordInfo.recordData.push(response.data.data.list[i])
647
+          }
648
+         
649
+        }
650
+      })
603
     }
651
     }
604
     },
652
     },
605
     created() {
653
     created() {
606
-      this.GetConfigInfo()
654
+      var nowDate = new Date();
655
+      var nowYear = nowDate.getFullYear();
656
+      var nowMonth = nowDate.getMonth() + 1;
657
+      var nowDay = nowDate.getDate();
658
+      this.warehouse_out_time =
659
+        nowYear +
660
+        "-" +
661
+        (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
662
+        "-" +
663
+        (nowDay < 10 ? "0" + nowDay : nowDay);
607
       this.propForm.goodUnit = this.$store.getters.good_unit
664
       this.propForm.goodUnit = this.$store.getters.good_unit
608
-      const order_id = this.$route.query.id
609
-      this.GetOrderDetail(order_id)
665
+      const order_id = this.$route.query.id  
666
+      this.getSingleOutOrderDetail(order_id)
610
     }
667
     }
611
 
668
 
612
   }
669
   }

+ 1 - 1
src/xt_pages/stock/stockQuery.vue Ver arquivo

88
         </el-table-column>
88
         </el-table-column>
89
         <el-table-column label="规格&单位" align="center">
89
         <el-table-column label="规格&单位" align="center">
90
             <template slot-scope="scope">
90
             <template slot-scope="scope">
91
-              <span>{{ scope.row.specification_name }}*{{scope.row.min_number}}{{scope.row.min_unit}}</span>
91
+              <span>{{ scope.row.specification_name }} / {{scope.row.packing_unit}}</span>
92
             </template>
92
             </template>
93
          </el-table-column>
93
          </el-table-column>
94
         <el-table-column label="进货单价" align="center">
94
         <el-table-column label="进货单价" align="center">