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

修复打包异常

parent a8d4a8f1
...@@ -26,7 +26,8 @@ ...@@ -26,7 +26,8 @@
remote remote
@change="handleBrandChange" @change="handleBrandChange"
:remote-method="getProductBrandPage" :remote-method="getProductBrandPage"
disabled> disabled
>
<el-option <el-option
v-for="item in brandList" v-for="item in brandList"
:key="item.id" :key="item.id"
...@@ -368,24 +369,6 @@ export default { ...@@ -368,24 +369,6 @@ export default {
feeType: undefined, feeType: undefined,
recordMode: 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: [], brandList: [],
brandList1: [], brandList1: [],
formRules: { formRules: {
...@@ -474,15 +457,15 @@ export default { ...@@ -474,15 +457,15 @@ export default {
}) })
if (!this.edit){ if (!this.edit){
let protectRowCount = 0 /*let protectRowCount = 0
this.protectRowCount = this.form.table.map(e => { this.protectRowCount = this.form.table.map(e => {
if (e.id){ if (e.id){
protectRowCount++ protectRowCount++
} }
}) })
this.protectRowCount = protectRowCount this.protectRowCount = protectRowCount*/
this.handleAdd() this.handleAdd()
this.handleAdd(1) // this.handleAdd(1)
} }
}, },
handleClose() { handleClose() {
...@@ -516,6 +499,7 @@ export default { ...@@ -516,6 +499,7 @@ export default {
} }
// 首次入仓、入仓补充 // 首次入仓、入仓补充
return finishPacked({ return finishPacked({
brand: this.form.brand,
orderId: this.warehousing.orderId, orderId: this.warehousing.orderId,
orderItemId: this.warehousing.orderItemId, orderItemId: this.warehousing.orderItemId,
orderWarehouseInItemDtoList: this.form.table.map(e => { orderWarehouseInItemDtoList: this.form.table.map(e => {
...@@ -608,7 +592,7 @@ export default { ...@@ -608,7 +592,7 @@ export default {
cartonsNum = this.warehousing.num - hasCartonsNum cartonsNum = this.warehousing.num - hasCartonsNum
} }
const form = val === 1 ? this.form1 : this.form const form = {...this.form}
const formLength = form.table.length const formLength = form.table.length
let orderLocationBackVOList = [] let orderLocationBackVOList = []
/* // 不默认使用上一条记录的储位 https://zentao.test.jdshangmen.com/bug-view-3344.html /* // 不默认使用上一条记录的储位 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