Commit 11e769ae by zhangxw

商品成本字段根据配置

1 parent b8d8c843
...@@ -144,7 +144,7 @@ const getMerchantList = params => { ...@@ -144,7 +144,7 @@ const getMerchantList = params => {
} }
// 获取店面配置数据 // 获取店面配置数据
const getMerchantSetting = () => { const getMerchantSetting = () => {
let method = `dj.api.smartcarlife.serviceMerchant.getShopSetting` let method = `dj.api.smartcarlife.serviceMerchant.getSubAndShopSetting`
return method return method
} }
export { getRulesData, getRulesListData, guestComTotal, isOpenUpgrade, isOpenInsurance, orderTotal, couponsTotal, couponsTotalByDay, moneyTotal, findCoupons, findupGradeOrder, newFindupGradeOrder, checkCoupons, mydivision, exportMydivision, exportUpgrade, exportInsurance, exportCoupons, getEmployName, checkDetail, orderTotalOfJT, orderTotalNumOfJT, myAccountTotalNumOfJT, get4SList, introConpute, getMerchantList, getMerchantSetting } export { getRulesData, getRulesListData, guestComTotal, isOpenUpgrade, isOpenInsurance, orderTotal, couponsTotal, couponsTotalByDay, moneyTotal, findCoupons, findupGradeOrder, newFindupGradeOrder, checkCoupons, mydivision, exportMydivision, exportUpgrade, exportInsurance, exportCoupons, getEmployName, checkDetail, orderTotalOfJT, orderTotalNumOfJT, myAccountTotalNumOfJT, get4SList, introConpute, getMerchantList, getMerchantSetting }
...@@ -795,7 +795,7 @@ export default { ...@@ -795,7 +795,7 @@ export default {
sceneType: this.pageName == 'insurance' ? 0 : 1 sceneType: this.pageName == 'insurance' ? 0 : 1
}) })
// 商品成本设置不可见 // 商品成本设置不可见
if (res?.shopMerchantConfig?.costPrivacyShowFlag != 'Y') { if (res?.costPrivacyShowFlag != 'Y') {
this.fieldList?.splice(this.fieldList?.findIndex(item => item.value == 'goodsCost'), 1) this.fieldList?.splice(this.fieldList?.findIndex(item => item.value == 'goodsCost'), 1)
} }
// if (temp) { // if (temp) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!