From 8e1b373819eec8eced6ae2bb5dd296b02a3df03a Mon Sep 17 00:00:00 2001 From: BabyBoy <2019108827@qq.com> Date: Tue, 29 Jul 2025 16:26:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/pms/productCategory.js | 2 +- src/api/system/tenant/index.ts | 7 +++++++ src/views/system/tenant/index.vue | 21 ++++++++++++++++----- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/src/api/pms/productCategory.js b/src/api/pms/productCategory.js index 9469d02..2fb1295 100644 --- a/src/api/pms/productCategory.js +++ b/src/api/pms/productCategory.js @@ -3,7 +3,7 @@ import request from '@/utils/request'; // 查询商品分类列表 export function listPmsProductCategory(query, pageReq) { return request({ - url: '/pms/productCategory/list', + url: '/pms/productCategory/page', method: 'post', data: query, params: pageReq diff --git a/src/api/system/tenant/index.ts b/src/api/system/tenant/index.ts index 7a0cf96..3d78b94 100644 --- a/src/api/system/tenant/index.ts +++ b/src/api/system/tenant/index.ts @@ -11,6 +11,13 @@ export function listTenant(query: TenantQuery): AxiosPromise { data: query }); } +// 获取比例套餐分成下拉表 +export function getlistDivide(query): AxiosPromise { + return request({ + url: '/system/commission-template/all', + method: 'get' + }); +} // 查询租户详细 export function getTenant(id: string | number): AxiosPromise { diff --git a/src/views/system/tenant/index.vue b/src/views/system/tenant/index.vue index b6faa25..1528a57 100644 --- a/src/views/system/tenant/index.vue +++ b/src/views/system/tenant/index.vue @@ -379,7 +379,10 @@ - + + + + @@ -596,7 +599,7 @@ - {{ tenantForm.splitRatio }} + {{ tenantForm.templateName }} @@ -620,18 +623,19 @@ -