Commit 518af250 authored by dragondean@qq.com's avatar dragondean@qq.com

修复打包异常

parent a8d4a8f1
......@@ -26,7 +26,8 @@
remote
@change="handleBrandChange"
:remote-method="getProductBrandPage"
disabled>
disabled
>
<el-option
v-for="item in brandList"
:key="item.id"
......@@ -368,24 +369,6 @@ export default {
feeType: undefined,
recordMode: undefined
},
form1: {
table: [],
brandType: undefined,
orderId: undefined,
orderNo: undefined,
brand: undefined,
inTime: undefined,
material: undefined,
orderItemId: undefined,
prodAttrIds: [],
prodId: undefined,
prodTitleEn: undefined,
prodTitleZh: undefined,
prodType: undefined,
type: 1,
feeType: undefined,
recordMode: undefined
},
brandList: [],
brandList1: [],
formRules: {
......@@ -474,15 +457,15 @@ export default {
})
if (!this.edit){
let protectRowCount = 0
/*let protectRowCount = 0
this.protectRowCount = this.form.table.map(e => {
if (e.id){
protectRowCount++
}
})
this.protectRowCount = protectRowCount
this.protectRowCount = protectRowCount*/
this.handleAdd()
this.handleAdd(1)
// this.handleAdd(1)
}
},
handleClose() {
......@@ -516,6 +499,7 @@ export default {
}
// 首次入仓、入仓补充
return finishPacked({
brand: this.form.brand,
orderId: this.warehousing.orderId,
orderItemId: this.warehousing.orderItemId,
orderWarehouseInItemDtoList: this.form.table.map(e => {
......@@ -608,7 +592,7 @@ export default {
cartonsNum = this.warehousing.num - hasCartonsNum
}
const form = val === 1 ? this.form1 : this.form
const form = {...this.form}
const formLength = form.table.length
let orderLocationBackVOList = []
/* // 不默认使用上一条记录的储位 https://zentao.test.jdshangmen.com/bug-view-3344.html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment