From 6be74fae87a57996e8cf1b8778ad16ddbb1f870b Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 27 二月 2024 16:57:10 +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