From a0758f5f02b7796dcfc4b082054feb26f60b905f Mon Sep 17 00:00:00 2001 From: llj <132905093+newwwwwwtree@users.noreply.github.com> Date: 星期四, 07 八月 2025 11:19:41 +0800 Subject: [PATCH] 价目表 价目表页面没有”按钮设置“选项。没有导出功能,需要添加。 价目表 价目表编辑,保存时判断单价不能为0。 价目表 新增界面审核按钮有问题,按不了 编辑、删除、审核、禁用、导出权限 --- WebAPI/ListModels.cs | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/WebAPI/ListModels.cs b/WebAPI/ListModels.cs index ba58962..3b4e1f6 100644 --- a/WebAPI/ListModels.cs +++ b/WebAPI/ListModels.cs @@ -2378,6 +2378,18 @@ List<Model.ClsGy_MatePriceSup_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_MatePriceSup_Model>>(jsonString); return list; } + /// <summary> + /// 澶勭悊閲囪喘浠锋牸琛ㄧ殑json + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<Model.ClsGy_MatePrice_Model> getObjectByJson_Gy_MatePrice(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsGy_MatePrice_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_MatePrice_Model>>(jsonString); + return list; + } + /// <summary> /// 澶勭悊鍣ㄥ叿鐘舵�佽〃鐨刯son @@ -3859,6 +3871,30 @@ } /// <summary> + /// 杞﹂棿瀹氫綅灏忚溅閿佸畾涓昏〃json + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<Model.ClsKf_TrolleyPositionBillMain> getObjectByJson_Kf_TrolleyPositionBillMain(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsKf_TrolleyPositionBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsKf_TrolleyPositionBillMain>>(jsonString); + return list; + } + + /// <summary> + /// 杞﹂棿瀹氫綅灏忚溅閿佸畾瀛愯〃json + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<Model.ClsKf_TrolleyPositionBillSub> getObjectByJson_Kf_TrolleyPositionBillSub(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsKf_TrolleyPositionBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsKf_TrolleyPositionBillSub>>(jsonString); + return list; + } + + /// <summary> /// 鎶ュ伐骞冲彴杩斿伐鍗曚富琛╦son /// </summary> /// <param name="jsonString"></param> -- Gitblit v1.9.1