From 01d52b4d848d2636fa778689a2c1f783e0e15bd4 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 16 四月 2024 18:30:08 +0800 Subject: [PATCH] wms项目 产品模块 增加启用多单位的前端开发+新增和编辑产品 2个接口联调 --- src/api/data.js | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/api/data.js b/src/api/data.js index d748f82..37e68c5 100644 --- a/src/api/data.js +++ b/src/api/data.js @@ -201,6 +201,21 @@ id: 5 }, ] +//閲囪喘绫诲瀷 +const purchaseType = [ + { + name: "閲囪喘", + id: 1, + }, + { + name: "鑷埗", + id: 2, + }, + { + name: "濮斿", + id: 3, + }, +]; export const getDataByType = (type) => { if (type == "purchaseStatus") { return purchaseStatus @@ -224,5 +239,7 @@ return positionType }else if(type=='baseOperationTypeTwo'){ return baseOperationTypeTwo + }else if(type=='purchaseType'){ + return purchaseType; } } -- Gitblit v1.8.0