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 @@ -