From 5e02999ab2478d67be6fda71df823a966b7ab4ca Mon Sep 17 00:00:00 2001 From: weiwei Date: Fri, 28 Feb 2025 14:08:44 +0800 Subject: [PATCH] 1 --- src/api/supermarketerp/common.ts | 3 +- .../components/erpSpuSelectDialog.vue | 151 ++++++++++++++---- .../smErpCgBack/smErpCgBackOption.vue | 15 +- .../smErpCgDd/smErpCgDdOption.vue | 12 -- .../smErpCgInventoryOption.vue | 13 -- .../smErpCgPlan/cgPlanOption.vue | 13 -- .../smErpRetailBack/smErpRetailBackOption.vue | 17 +- .../smErpRetailDeliveryOption.vue | 14 -- .../supermarketerp/supermarketSpu/index.vue | 2 +- 9 files changed, 124 insertions(+), 116 deletions(-) diff --git a/src/api/supermarketerp/common.ts b/src/api/supermarketerp/common.ts index c178923..ec46887 100644 --- a/src/api/supermarketerp/common.ts +++ b/src/api/supermarketerp/common.ts @@ -15,10 +15,11 @@ export function getPlanCode(params: { type: 1 | 2 | 3 | 4 | 5 | 6 }) { } // 获取erp商品列表 -export function getErpSpuPage() { +export function getErpSpuPage(params?: object) { return request({ url: "/supermarket/smErpCgPlan/erpSpuPage", method: "get", + params, }) } diff --git a/src/views/supermarketerp/components/erpSpuSelectDialog.vue b/src/views/supermarketerp/components/erpSpuSelectDialog.vue index 00732c2..8d2b23a 100644 --- a/src/views/supermarketerp/components/erpSpuSelectDialog.vue +++ b/src/views/supermarketerp/components/erpSpuSelectDialog.vue @@ -3,26 +3,28 @@ - - + - - - - - - - - - - - + + + + - + + + + + + + + + + + + + + - + />