|
@@ -2,17 +2,17 @@
|
|
|
<div class="work-order__wrapper">
|
|
|
<el-form>
|
|
|
<el-table size="mini" border :data="list">
|
|
|
- <el-table-column prop="orderCode" label="销售订单" width="160px" />
|
|
|
- <el-table-column prop="outCode" label="发货申请单" width="160px" />
|
|
|
- <el-table-column label="提退时发货申请单状态" width="150px" />
|
|
|
- <el-table-column prop="outChildCode" label="发货工单" width="160px" />
|
|
|
- <el-table-column label="发货仓库所在供应商名称" prop="supplierName" width="170px" />
|
|
|
- <el-table-column label="发货仓库所在供应商编码" prop="supplierNo" width="170px" />
|
|
|
- <el-table-column prop="wsm_name" label="发货仓库名称" width="160px" />
|
|
|
- <el-table-column prop="wsm_code" label="发货仓库编码" width="170px" />
|
|
|
- <el-table-column prop="contactor_name" label="发货仓库负责人" width="110px" />
|
|
|
- <el-table-column prop="num" label="发货数量" />
|
|
|
- <el-table-column width="110px">
|
|
|
+ <el-table-column prop="orderCode" label="销售订单" width="160px" show-overflow-tooltip />
|
|
|
+ <el-table-column prop="outCode" label="发货申请单" width="160px" show-overflow-toolti />
|
|
|
+ <!-- <el-table-column label="提退时发货申请单状态" prop="order_out_status" width="150px" show-overflow-tooltip /> -->
|
|
|
+ <el-table-column prop="outChildCode" label="发货工单" width="160px" show-overflow-tooltip />
|
|
|
+ <el-table-column label="发货仓库所在供应商名称" prop="supplierName" width="170px" show-overflow-tooltip />
|
|
|
+ <el-table-column label="发货仓库所在供应商编码" prop="supplierNo" width="170px" show-overflow-tooltip />
|
|
|
+ <el-table-column prop="wsm_name" label="发货仓库名称" width="160px" show-overflow-tooltip />
|
|
|
+ <el-table-column prop="wsm_code" label="发货仓库编码" width="170px" show-overflow-tooltip />
|
|
|
+ <el-table-column prop="contactor_name" label="发货仓库负责人" width="110px" show-overflow-tooltip />
|
|
|
+ <el-table-column prop="num" label="发货数量" how-overflow-tooltip />
|
|
|
+ <el-table-column width="110px" show-overflow-tooltip>
|
|
|
<template slot="header">
|
|
|
<span style="color:red;margin-right:2px">*</span>退货数量
|
|
|
</template>
|
|
@@ -33,8 +33,6 @@
|
|
|
</el-form-item>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="退货仓库所在供应商名称" width="160px" />
|
|
|
- <el-table-column label="退货仓库所在供应商编码" width="160px" />
|
|
|
<el-table-column width="160px">
|
|
|
<template slot="header">
|
|
|
<span style="color:red;margin-right:2px">*</span>退货仓库编码
|
|
@@ -54,7 +52,9 @@
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="退货仓库负责人" width="110px" />
|
|
|
+ <el-table-column label="退货仓库所在供应商名称" prop="returnSupplierName" width="160px" how-overflow-tooltip />
|
|
|
+ <el-table-column label="退货仓库所在供应商编码" prop="returnSupplierNo" width="160px" how-overflow-tooltip />
|
|
|
+ <el-table-column label="退货仓库负责人" width="110px" prop="returnSupplierNameContactor" how-overflow-tooltip />
|
|
|
</el-table>
|
|
|
</el-form>
|
|
|
|
|
@@ -90,10 +90,13 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
methods: {
|
|
|
- onStockChange({ code } = {}, index) {
|
|
|
+ onStockChange({ code, supplierName, supplierNo, contactor } = {}, index) {
|
|
|
this.$set(this.list, index, {
|
|
|
...this.list[index],
|
|
|
- return_wsm_code: code ? [code] : ''
|
|
|
+ return_wsm_code: code ? [code] : '',
|
|
|
+ returnSupplierName: supplierName,
|
|
|
+ returnSupplierNo: supplierNo,
|
|
|
+ returnSupplierNameContactor: contactor
|
|
|
})
|
|
|
},
|
|
|
onNumberChange(return_num, index) {
|