Commit 11961965 by zhangxw

商户管理查看详情修改

1 parent 97c242c1
......@@ -127,8 +127,8 @@ export default {
}
const goodsTypeRes = await getGoodsCategoryConfiguration({});
const res = await getDistributeRuleApi(params);
if (Array.isArray(res.goodsTypeGroupRules) && Array.isArray(goodsTypeRes?.list || []) && goodsTypeRes?.list.length > 0) {
fillGoodsTypesCategoryInfo(res.goodsTypeGroupRules, goodsTypeRes?.list);
if (Array.isArray(res?.goodsTypeGroupRules) && Array.isArray(goodsTypeRes?.list || []) && goodsTypeRes?.list.length > 0) {
fillGoodsTypesCategoryInfo(res?.goodsTypeGroupRules, goodsTypeRes?.list);
}
this.checkDetailItem = res;
},
......@@ -143,8 +143,8 @@ export default {
}
const goodsTypeRes = await getGoodsCategoryConfiguration({});
const res = await getEffectRuleApi(params);
if (Array.isArray(res.goodsTypeGroupReconciliationRules) && Array.isArray(goodsTypeRes?.list || []) && goodsTypeRes?.list.length > 0) {
fillGoodsTypesCategoryInfo(res.goodsTypeGroupReconciliationRules, goodsTypeRes?.list, "goodsTypeGroupRelations");
if (Array.isArray(res?.goodsTypeGroupReconciliationRules) && Array.isArray(goodsTypeRes?.list || []) && goodsTypeRes?.list.length > 0) {
fillGoodsTypesCategoryInfo(res?.goodsTypeGroupReconciliationRules, goodsTypeRes?.list, "goodsTypeGroupRelations");
}
this.checkRecordList = res;
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!