|
|
|
@ -195,7 +195,9 @@ export default { |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
const _that = this |
|
|
|
const _that = this |
|
|
|
return { |
|
|
|
return { |
|
|
|
form: {}, |
|
|
|
form: { |
|
|
|
|
|
|
|
warehouseNo: 1 |
|
|
|
|
|
|
|
}, |
|
|
|
dialogVisible: false, |
|
|
|
dialogVisible: false, |
|
|
|
searchForm: {}, |
|
|
|
searchForm: {}, |
|
|
|
tableData: [], |
|
|
|
tableData: [], |
|
|
|
@ -318,11 +320,11 @@ export default { |
|
|
|
this.$message.error('请选择是否验重!') |
|
|
|
this.$message.error('请选择是否验重!') |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this.choose() |
|
|
|
const obj = { |
|
|
|
const obj = { |
|
|
|
syncType: 'A', |
|
|
|
syncType: 'A', |
|
|
|
orderType: 11, |
|
|
|
orderType: 11, |
|
|
|
isWrap: this.form.isWrap, |
|
|
|
|
|
|
|
isVerWeight: this.form.isVerWeight, |
|
|
|
|
|
|
|
orderDate: `${new Date().getFullYear()}-${String(new Date().getMonth() + 1).padStart(2, '0')}-${String(new Date().getDate()).padStart(2, '0')}`, |
|
|
|
orderDate: `${new Date().getFullYear()}-${String(new Date().getMonth() + 1).padStart(2, '0')}-${String(new Date().getDate()).padStart(2, '0')}`, |
|
|
|
containerNo: this.form.containerNo, |
|
|
|
containerNo: this.form.containerNo, |
|
|
|
detail: this.chooselist |
|
|
|
detail: this.chooselist |
|
|
|
@ -336,7 +338,9 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 重置 |
|
|
|
// 重置 |
|
|
|
reset() { |
|
|
|
reset() { |
|
|
|
this.form = {} |
|
|
|
this.form = { |
|
|
|
|
|
|
|
warehouseNo: 1 |
|
|
|
|
|
|
|
} |
|
|
|
this.chooselist = [] |
|
|
|
this.chooselist = [] |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 复选框 |
|
|
|
// 复选框 |
|
|
|
@ -359,10 +363,13 @@ export default { |
|
|
|
goodsNo: item.goodNo, |
|
|
|
goodsNo: item.goodNo, |
|
|
|
goodName: item.goodName, |
|
|
|
goodName: item.goodName, |
|
|
|
unitMsr: item.specifications, |
|
|
|
unitMsr: item.specifications, |
|
|
|
warehouseNo: this.form.warehouseNo |
|
|
|
warehouseNo: this.form.warehouseNo, |
|
|
|
|
|
|
|
isWrap: this.form.isWrap, |
|
|
|
|
|
|
|
isVerWeight: this.form.isVerWeight |
|
|
|
} |
|
|
|
} |
|
|
|
this.chooselist.push(newItem) |
|
|
|
this.chooselist.push(newItem) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
this.searchForm = {} |
|
|
|
this.searchForm = {} |
|
|
|
this.dialogVisible = false |
|
|
|
this.dialogVisible = false |
|
|
|
}, |
|
|
|
}, |
|
|
|
|