master
Mr.sun 2 years ago
parent cc756570ab
commit e09dc1a501
  1. 17
      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
},

Loading…
Cancel
Save