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