diff --git a/src/views/warehousing/otherStore/index.vue b/src/views/warehousing/otherStore/index.vue index 869d226..c1ee4a4 100644 --- a/src/views/warehousing/otherStore/index.vue +++ b/src/views/warehousing/otherStore/index.vue @@ -196,7 +196,9 @@ export default { const _that = this return { form: { - warehouseNo: 1 + warehouseNo: 1, + isWrap: '0', + isVerWeight: '0' }, dialogVisible: false, searchForm: {}, @@ -320,8 +322,10 @@ export default { this.$message.error('请选择是否验重!') return } - - // this.choose() + this.chooselist.forEach((item) => { + item.isWrap = this.form.isWrap + item.isVerWeight = this.form.isVerWeight + }) const obj = { syncType: 'A', orderType: 11, @@ -339,7 +343,9 @@ export default { // 重置 reset() { this.form = { - warehouseNo: 1 + warehouseNo: 1, + isWrap: '0', + isVerWeight: '0' } this.chooselist = [] }, @@ -363,9 +369,9 @@ export default { goodsNo: item.goodNo, goodName: item.goodName, unitMsr: item.specifications, - warehouseNo: this.form.warehouseNo, - isWrap: this.form.isWrap, - isVerWeight: this.form.isVerWeight + warehouseNo: this.form.warehouseNo + // isWrap: this.form.isWrap, + // isVerWeight: this.form.isVerWeight } this.chooselist.push(newItem) })