diff --git a/src/router/modules/merchant.js b/src/router/modules/merchant.js index 684c516..44ae576 100644 --- a/src/router/modules/merchant.js +++ b/src/router/modules/merchant.js @@ -93,6 +93,15 @@ const merchantRouter = }, component: () => import('@/views/merchant/application/supermarket_apply') }, + { + path: 'province', + name: 'provinceShopList', + meta: { + title: '省公司门店', + noCache: true + }, + component: () => import('@/views/merchant/list/province') + }, { path: 'list/reconciliation/:id/:type?', name: 'MerchantRecord', diff --git a/src/views/marketing/agent/agent/template/edit.vue b/src/views/marketing/agent/agent/template/edit.vue index 26a5bb3..48af01e 100644 --- a/src/views/marketing/agent/agent/template/edit.vue +++ b/src/views/marketing/agent/agent/template/edit.vue @@ -99,6 +99,15 @@ + + + @@ -288,6 +297,15 @@ > + + + @@ -832,11 +850,11 @@ export default { // 当前代理选中商户信息变更 if(index == -1){ let agent_type = _this.info.agent_type; - if(agent_type == 7) _this.info.mer_id = event.mer_id; + if(agent_type == 7 || agent_type == 2) _this.info.mer_id = event.mer_id; else if(agent_type == 8 || agent_type == 11) _this.info.mer_id_list = event.event || []; }else{ let agent_type = _this.children_list[index].agent_type; - if(agent_type == 7) _this.children_list[index].mer_id = event.mer_id; + if(agent_type == 7 || agent_type == 2) _this.children_list[index].mer_id = event.mer_id; else if(agent_type == 8 || agent_type == 11) _this.children_list[index].mer_id_list = event.event || []; } diff --git a/src/views/merchant/list/handle/merEditForm.vue b/src/views/merchant/list/handle/merEditForm.vue index 635ff80..b6a252e 100644 --- a/src/views/merchant/list/handle/merEditForm.vue +++ b/src/views/merchant/list/handle/merEditForm.vue @@ -442,6 +442,7 @@ export default { else if(this.defaultMerchantType == 2) this.mar_type_name = '供应商'; else if(this.defaultMerchantType == 3) this.mar_type_name = '烟酒店'; else if(this.defaultMerchantType == 4) this.mar_type_name = '超市'; + else if(this.defaultMerchantType == 5) this.mar_type_name = '门店'; else this.mar_type_name = '商户'; diff --git a/src/views/merchant/list/handle/merInfo.vue b/src/views/merchant/list/handle/merInfo.vue index 642b9d2..3a5d4ab 100644 --- a/src/views/merchant/list/handle/merInfo.vue +++ b/src/views/merchant/list/handle/merInfo.vue @@ -251,6 +251,7 @@ export default { else if(this.defaultMerchantType == 2) this.mar_type_name = '供应商'; else if(this.defaultMerchantType == 3) this.mar_type_name = '烟酒店'; else if(this.defaultMerchantType == 4) this.mar_type_name = '超市'; + else if(this.defaultMerchantType == 5) this.mar_type_name = '门店'; else this.mar_type_name = '商户'; }, deep: true diff --git a/src/views/merchant/list/province.vue b/src/views/merchant/list/province.vue new file mode 100644 index 0000000..cdee5e2 --- /dev/null +++ b/src/views/merchant/list/province.vue @@ -0,0 +1,435 @@ + + + + + + + + + {{ itemn.text }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 添加门店 + + + + + + + + + + + + + + + + + + + + {{scope.row.is_margin == 1 ? '未支付' : scope.row.is_margin == 0 ? '无' : '已支付'}} + + + + + + + + + + 登录 + 编辑 + 详情 + 删除 + + + + + + + + + + + + + + + diff --git a/src/views/product/addProduct/index.vue b/src/views/product/addProduct/index.vue index e23667a..7dc2fdc 100644 --- a/src/views/product/addProduct/index.vue +++ b/src/views/product/addProduct/index.vue @@ -943,12 +943,6 @@ - - - - - - @@ -1497,7 +1491,6 @@ const defaultObj = { integral_deduction_money: 0, // 其他营销内容设置 star: 1, - agent_two_ids: [], } const objTitle = { price: { @@ -1839,7 +1832,7 @@ export default { this.getGuaranteeList() this.productGetRule() this.getLabelLst() - this.getAgentList(2); + // this.getAgentList(2); // this.$store.dispatch('settings/setEdit', true) this.formValidate.slider_image = [] if (this.$route.params.id) { @@ -2762,8 +2755,7 @@ export default { // 按照批量购买设置 is_batch: info.is_batch || 0, batch_num: info.batch_num || 0, - batch_unit: info.batch_unit || '', - agent_two_ids: info.agent_two_ids || [] + batch_unit: info.batch_unit || '' }; if (info.svip_price_type != 0 && info.mer_svip_status) { this.attrVal = {