diff --git a/src/views/warehousing/otherStore/index.vue b/src/views/warehousing/otherStore/index.vue index 9e56ba6..869d226 100644 --- a/src/views/warehousing/otherStore/index.vue +++ b/src/views/warehousing/otherStore/index.vue @@ -195,7 +195,9 @@ export default { data() { const _that = this return { - form: {}, + form: { + warehouseNo: 1 + }, dialogVisible: false, searchForm: {}, tableData: [], @@ -318,11 +320,11 @@ export default { this.$message.error('请选择是否验重!') return } + + // this.choose() const obj = { syncType: 'A', 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')}`, containerNo: this.form.containerNo, detail: this.chooselist @@ -336,7 +338,9 @@ export default { }, // 重置 reset() { - this.form = {} + this.form = { + warehouseNo: 1 + } this.chooselist = [] }, // 复选框 @@ -359,10 +363,13 @@ export default { goodsNo: item.goodNo, goodName: item.goodName, unitMsr: item.specifications, - warehouseNo: this.form.warehouseNo + warehouseNo: this.form.warehouseNo, + isWrap: this.form.isWrap, + isVerWeight: this.form.isVerWeight } this.chooselist.push(newItem) }) + this.searchForm = {} this.dialogVisible = false },