From 504e00da9a9898ac419e97f93fc66cc7c7c6f620 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 28 二月 2024 14:30:25 +0800 Subject: [PATCH] 服务合同-去掉产品为空的判断增加保存时去掉未选择产品的对象 --- src/api/data.js | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/src/api/data.js b/src/api/data.js index 994fab4..f32244b 100644 --- a/src/api/data.js +++ b/src/api/data.js @@ -9,9 +9,34 @@ id: 2 } ] +// 閲囪喘鐘舵�� +const purchaseStatus=[ + { + name:"寰呯‘璁�", + id:1, + }, + { + name:'寰呭叆搴�', + id:2, + }, + { + name:'宸插叆搴�', + id:3, + }, + { + name:'宸插畬鎴�', + id:4, + }, + { + name:'宸插彇娑�', + id:5, + }, +] export const getDataByType = (type) => { if (type == "deliveryType") { return deliveryType + }else if(type=='purchaseStatus'){ + return purchaseStatus; } } -- Gitblit v1.8.0