diff --git a/src/router/modules/merchant.js b/src/router/modules/merchant.js index 3bd8deb..b050df1 100644 --- a/src/router/modules/merchant.js +++ b/src/router/modules/merchant.js @@ -48,6 +48,15 @@ const merchantRouter = }, component: () => import('@/views/merchant/list/supplier') }, + { + path: 'smoke', + name: 'MerchantShopList', + meta: { + title: '烟酒店', + noCache: true + }, + component: () => import('@/views/merchant/list/smoke') + }, { path: 'list/reconciliation/:id/:type?', name: 'MerchantRecord', diff --git a/src/views/merchant/list/handle/merEditForm.vue b/src/views/merchant/list/handle/merEditForm.vue index 5e34404..fc3c586 100644 --- a/src/views/merchant/list/handle/merEditForm.vue +++ b/src/views/merchant/list/handle/merEditForm.vue @@ -337,11 +337,12 @@ + - + 普通商户 酒道馆 供应商 + 烟酒店 关联商户: @@ -244,7 +245,11 @@ export default { merData: { handler() { this.merData.merchant_type = this.defaultMerchantType || 0; - this.mar_type_name = this.defaultMerchantType == 1 ? '酒道馆' : (this.defaultMerchantType == 2 ? '供应商' :'商户'); + + if(this.defaultMerchantType == 1) this.mar_type_name = '酒道馆'; + else if(this.defaultMerchantType == 2) this.mar_type_name = '供应商'; + else if(this.defaultMerchantType == 3) this.mar_type_name = '烟酒店'; + else this.mar_type_name = '商户'; }, deep: true } diff --git a/src/views/merchant/list/smoke.vue b/src/views/merchant/list/smoke.vue new file mode 100644 index 0000000..d774aee --- /dev/null +++ b/src/views/merchant/list/smoke.vue @@ -0,0 +1,434 @@ + + + + + + + + + {{ itemn.text }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 添加烟酒店 + + + + + + + + + + + + + + + + + + + + {{scope.row.is_margin == 1 ? '未支付' : scope.row.is_margin == 0 ? '无' : '已支付'}} + + + + + + + + + + 登录 + 编辑 + 详情 + 删除 + + + + + + + + + + + + + + +