diff --git a/src/api/shop/goods.ts b/src/api/shop/goods.ts index 51724d8..b26c8bf 100644 --- a/src/api/shop/goods.ts +++ b/src/api/shop/goods.ts @@ -6,6 +6,7 @@ export interface GoodsQuery extends BasePageQuery { status?: number; goodsId?: number; autoApproval?: number; + belongType?: number; } /** 商品DTO */ @@ -50,6 +51,8 @@ export interface GoodsDTO { totalStock?: number; /** 商品使用说明 */ usageInstruction?: string; + /** 所属类型(0智借还 1固资通) */ + belongType: number; } /** 商品请求参数 */ diff --git a/src/views/shop/cabinet-goods/cabinet-goods-config-modal.vue b/src/views/shop/cabinet-goods/cabinet-goods-config-modal.vue index 3794aaa..53d7c37 100644 --- a/src/views/shop/cabinet-goods/cabinet-goods-config-modal.vue +++ b/src/views/shop/cabinet-goods/cabinet-goods-config-modal.vue @@ -21,7 +21,8 @@ const closeModal = () => { const searchFormParams = ref({ goodsName: "", - status: null + status: null, + belongType: null }); const pagination = ref({ @@ -93,14 +94,21 @@ defineExpose({ getList });