From 8c84e5bdb4ecba8cc3b46bf1743699ee0cf87af1 Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期五, 30 八月 2024 12:49:16 +0800 Subject: [PATCH] 1.收款单:删除报错 原因:统一路径设置存在问题 2.染厂 领料单: 问题:不能编辑 原因: 3.物料: 问题:新增报错 原因:统一路径设置存在问题 问题:进入页面后加载缓慢 处理:进入页面后不需要获取数据,点击物料分类再获取数据 --- WebAPI/Controllers/BaseSet/Gy_CustomerController.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs b/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs index 61379b9..cd5c648 100644 --- a/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs @@ -281,7 +281,7 @@ } string HNumber = ds.Tables[0].Rows[0]["瀹㈡埛浠g爜"].ToString(); // 浣跨敤姝e垯琛ㄨ揪寮忔壘鍒版暟瀛楅儴鍒� (?<=\D)鏄竴涓浂瀹芥柇瑷�锛岃〃绀哄墠闈㈢殑瀛楃涓嶆槸鏁板瓧 (\d+)$琛ㄧず鍚庨潰璺熺潃涓�杩炰覆瀛楃涓茬煡閬撴湯灏� - Match match = Regex.Match(HNumber, @"(?<=\D)(\d+)$"); + Match match = Regex.Match(HNumber, @"(\d+)$"); if (match.Success) { string prefix = HNumber.Substring(0, HNumber.Length - match.Length); // 鎻愬彇鍓嶇紑 -- Gitblit v1.9.1