diff --git a/src/views/merchant/type/index.vue b/src/views/merchant/type/index.vue index df69e29..8597cd7 100644 --- a/src/views/merchant/type/index.vue +++ b/src/views/merchant/type/index.vue @@ -137,7 +137,11 @@ export default { type_name: "", type_info: "", is_margin: 1, + is_service: 1, + is_goods: 1, margin: 0, + service_cost: 0, + goods_cost: 0, auth: [], description: "", }, diff --git a/src/views/merchant/type/typeDetails.vue b/src/views/merchant/type/typeDetails.vue index c9dff52..cde91b9 100644 --- a/src/views/merchant/type/typeDetails.vue +++ b/src/views/merchant/type/typeDetails.vue @@ -145,7 +145,11 @@ export default { type_info: info.type_info, mark: info.mark, is_margin: info.is_margin || 0, + is_service: info.is_service || 0, + is_goods: info.is_goods || 0, margin: info.margin || 0, + service_cost: info.service_cost || 0, + goods_cost: info.goods_cost || 0, auth: info.auth_ids, description: info.description, update_time: info.update_time, diff --git a/src/views/merchant/type/typeEditForm.vue b/src/views/merchant/type/typeEditForm.vue index 222f7d2..8f8b3b0 100644 --- a/src/views/merchant/type/typeEditForm.vue +++ b/src/views/merchant/type/typeEditForm.vue @@ -37,6 +37,38 @@ + + + + + + + + + 元 + + + + + + + + + + + 元 + + + + diff --git a/src/views/merchant/type/typeInfo.vue b/src/views/merchant/type/typeInfo.vue index 3f1baa4..0598bf8 100644 --- a/src/views/merchant/type/typeInfo.vue +++ b/src/views/merchant/type/typeInfo.vue @@ -14,6 +14,14 @@
店铺保证金:
{{typeData.is_margin ? typeData.margin+'元' : '无'}}
+
  • +
    店铺技术服务费:
    +
    {{typeData.is_service ? typeData.service_cost+'元' : '无'}}
    +
  • +
  • +
    店铺上架费:
    +
    {{typeData.is_goods ? typeData.goods_cost+'元' : '无'}}
    +
  • 店铺类型要求:
    {{typeData.type_info}}