Commit 365dbe93 by 胡悦

fix: 修复商品列表数据赋值错误

1 parent 03ecd6b7
......@@ -152,7 +152,7 @@ export default {
formUpdates.forEach(([index, field, value]) => updateFormCell(index, field, value))
// 商品回显,在获取商品列表之后
this.goodsList = rest.subOrderList
this.subOrderList = rest.subOrderList
}
console.log(this.orderObj, 'orderObj')
handleTransactionData(newVal)
......@@ -192,6 +192,7 @@ export default {
configPayTypeList: [], // 园区店配置支持的支付方式
payTypeList,
goodsList: [],
subOrderList: [],
otherProduct: [],
positionTypeList: [],
valueKey: '',
......@@ -742,7 +743,7 @@ export default {
if (cell) cell.hidden = arrMap[key].length === 0
})
const subOrderList = this.goodsList || []
const subOrderList = this.subOrderList || []
console.log('subOrderList', subOrderList)
let chooseList = []
subOrderList.map(e => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!