|
@@ -287,7 +287,11 @@
|
|
|
prop="customerOrderId"
|
|
|
min-width="160"
|
|
|
show-overflow-tooltip
|
|
|
- />
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input v-model="scope.row.customerOrderId" placeholder="请输入" size="mini" clearable @input="handleOrderIdChange($event, scope.row)" />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
align="left"
|
|
|
label="发货申请单"
|
|
@@ -997,7 +1001,7 @@ export default {
|
|
|
prop: 'warehouse',
|
|
|
width: 200
|
|
|
}
|
|
|
- },
|
|
|
+ }
|
|
|
]
|
|
|
}
|
|
|
},
|
|
@@ -1067,6 +1071,13 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ handleOrderIdChange(e, row) {
|
|
|
+ this.deliverList.forEach(item => {
|
|
|
+ if (item.invoiceId === row.invoiceId) {
|
|
|
+ this.$set(item, 'customerOrderId', e)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
handleInput(e, id, type) {
|
|
|
console.log(e)
|
|
|
this.deliverList.forEach(k => {
|
|
@@ -1259,6 +1270,7 @@ export default {
|
|
|
this.deliverList = res.data
|
|
|
this.deliverList.forEach(k => {
|
|
|
this.$set(k, 'warehouseFlag', null)
|
|
|
+ this.$set(k, 'customerOrderId', k.customerOrderId || null)
|
|
|
// 注释默认不选择仓库
|
|
|
// if (this.mainForm.pickupWay == 2 && this.logisticsNumber === '001') {
|
|
|
// if (k.refLinkman || k.refPhone || k.refInstallAddress) {
|