diff --git a/apis/modules/order.js b/apis/modules/order.js index 7327a0a..f997b54 100644 --- a/apis/modules/order.js +++ b/apis/modules/order.js @@ -47,4 +47,8 @@ export const publicConfiguration = (data) => { export const bulkShipping = (data) => { return post('nakadai/nakadai/orderOther/bulkShipping', data) +} + +export const queryCitySettlementPrice = (mallId, provinceId, cityId) => { + return post(`nakadai/mallPrice/queryCitySettlementPrice?mallId=${mallId}&provinceId=${provinceId}&cityId=${cityId}`) } \ No newline at end of file diff --git a/libs/util.js b/libs/util.js index 82b2221..01b8b19 100644 --- a/libs/util.js +++ b/libs/util.js @@ -67,9 +67,9 @@ export default { getBmName(val) { return uni.getStorageSync('team').partnerClassificationName }, - // 返回图标。如果有图标,则直接返回,否则判断是否是数据产品,即productType=2,如果是,则取数据图标,否则则显示通用图标,这两个图标都在config/product.js里有配置 + // 返回图标。如果有图标,则直接返回 getIcon(e) { - return e.miniProgramPictureAddress || (e.productType === 2 ? Product.dataIcon : Product.normalIcon) + return e.appletIcon || Product.normalIcon }, // 预览文档 openFile(id) { diff --git a/order/addCourse/addCourse.vue b/order/addCourse/addCourse.vue index 31959a4..ed3fb07 100644 --- a/order/addCourse/addCourse.vue +++ b/order/addCourse/addCourse.vue @@ -4,8 +4,14 @@ -