Commit a5f02e6b by 张立顺

fix 参数bug修复

1 parent 49916172
......@@ -764,7 +764,13 @@ export default {
},
getParams() {
const obj = deepClone(this.classificationObj)
obj.packageGoods = obj.packageGoods.map((val) => {
val.categoryType = 3 // 按商品套餐
if (val.tempPackageCode) { // 是临时套餐 就去掉套件编码
delete val.packageCode
}
return val
})
return {
...obj,
goodsTypeGroupRelations:
......@@ -1215,6 +1221,9 @@ export default {
})
this.classificationObj.packageGoods?.map((val) => {
val.categoryType = this.classificationObj.categoryType
if (val.tempPackageCode) { // 是临时套餐 就去掉套件编码
delete val.packageCode
}
return val
})
// 按商品分类
......@@ -1235,6 +1244,7 @@ export default {
upgradeGoods,
packageGoods
} = this.classificationObj
return expenseCategoryRulesObj.goodsSource == 1
? {
...expenseCategoryRulesObj,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!