From be8c6c3fe1a3547c624d867c61ba2c5ea71978c5 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期二, 26 三月 2024 15:46:15 +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