From e383f522e87b06e60d4cf1c3329bfd86c6b98bac Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 14 十二月 2023 15:37:03 +0800 Subject: [PATCH] 出库、入库、调拨编辑的时候入库类型不显示的问题 --- 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