Commit c685fcb5 by cen

feat: 追加战败录单的基础商品选择

1 parent 8acb1cb2

2.82 MB | W: | H:

2.9 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
const target = ['ip', 'dev', 'uat', 'prod', 'beta']
const index = 3
const index = 4
/**
*
0本地
......
......@@ -283,7 +283,7 @@ export default {
const cell = this.formList[2].find(item => item.value == 'payeeType')
if (cell) {
cell.current = 1
cell.radioList[1].disabled = false
cell.radioList[1].disabled = false
}
this.getConfig()
}
......@@ -323,7 +323,7 @@ export default {
},
// 弹窗确认回调
onConfirm(val, flag) {
console.log(val,flag, 'onConfirm')
console.log(val, flag, 'onConfirm')
this.externalData = []
// const { chooseContent } = val
const chooseContent = utils.deepClone(val.chooseContent)
......@@ -356,9 +356,7 @@ export default {
} else {
// 过滤出已选的goodFlag为2的对象
const selectedGoods = this.orderObj[_typeValue.key].filter(item => item.goodsFlag === 2)
const singleGoods = flag ?
this.orderObj[_typeValue.key].filter(item => item.goodsFlag === 1) :
chooseContent.filter(item => item.goodsFlag === 1)
const singleGoods = flag ? this.orderObj[_typeValue.key].filter(item => item.goodsFlag === 1) : chooseContent.filter(item => item.goodsFlag === 1)
const moreGoods = chooseContent
.filter(item => item.goodsFlag === 2)
.filter(item => {
......@@ -771,7 +769,7 @@ export default {
const cell = this.formList[2].find(item => item.value === key)
if (cell) cell.hidden = arrMap[key].length === 0
})
console.log('this.formList', this.formList)
const subOrderList = this.subOrderList || []
console.log('subOrderList', subOrderList)
let chooseList = []
......
......@@ -447,8 +447,7 @@ const DEFEAT_FORM_LIST = [
value: 'skuGoods',
type: 'select',
key: 'name',
addHtml: 'skuGoods',
hidden: true
addHtml: 'skuGoods'
},
{
label: '收款方式',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!