|
|
|
@ -196,7 +196,9 @@ export default { |
|
|
|
const _that = this |
|
|
|
const _that = this |
|
|
|
return { |
|
|
|
return { |
|
|
|
form: { |
|
|
|
form: { |
|
|
|
warehouseNo: 1 |
|
|
|
warehouseNo: 1, |
|
|
|
|
|
|
|
isWrap: '0', |
|
|
|
|
|
|
|
isVerWeight: '0' |
|
|
|
}, |
|
|
|
}, |
|
|
|
dialogVisible: false, |
|
|
|
dialogVisible: false, |
|
|
|
searchForm: {}, |
|
|
|
searchForm: {}, |
|
|
|
@ -320,8 +322,10 @@ export default { |
|
|
|
this.$message.error('请选择是否验重!') |
|
|
|
this.$message.error('请选择是否验重!') |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
this.chooselist.forEach((item) => { |
|
|
|
// this.choose() |
|
|
|
item.isWrap = this.form.isWrap |
|
|
|
|
|
|
|
item.isVerWeight = this.form.isVerWeight |
|
|
|
|
|
|
|
}) |
|
|
|
const obj = { |
|
|
|
const obj = { |
|
|
|
syncType: 'A', |
|
|
|
syncType: 'A', |
|
|
|
orderType: 11, |
|
|
|
orderType: 11, |
|
|
|
@ -339,7 +343,9 @@ export default { |
|
|
|
// 重置 |
|
|
|
// 重置 |
|
|
|
reset() { |
|
|
|
reset() { |
|
|
|
this.form = { |
|
|
|
this.form = { |
|
|
|
warehouseNo: 1 |
|
|
|
warehouseNo: 1, |
|
|
|
|
|
|
|
isWrap: '0', |
|
|
|
|
|
|
|
isVerWeight: '0' |
|
|
|
} |
|
|
|
} |
|
|
|
this.chooselist = [] |
|
|
|
this.chooselist = [] |
|
|
|
}, |
|
|
|
}, |
|
|
|
@ -363,9 +369,9 @@ 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, |
|
|
|
// isWrap: this.form.isWrap, |
|
|
|
isVerWeight: this.form.isVerWeight |
|
|
|
// isVerWeight: this.form.isVerWeight |
|
|
|
} |
|
|
|
} |
|
|
|
this.chooselist.push(newItem) |
|
|
|
this.chooselist.push(newItem) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|