From 3f331f0e8303df6a36798c1f83dba0826c9a0c2c Mon Sep 17 00:00:00 2001 From: hjhan Date: Fri, 28 Aug 2026 09:54:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=A2=E6=88=B7=E9=A2=84=E4=BB=98?= =?UTF-8?q?=E9=87=91=E6=96=B0=E5=A2=9E=E6=94=AF=E6=8C=81=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E5=A4=9A=E9=80=89=E6=89=B9=E9=87=8F=E7=BB=91=E5=AE=9A=EF=BC=8C?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=B9=BF=E5=8F=91=E5=95=86=E8=B4=B8=E5=AE=9A?= =?UTF-8?q?=E5=88=B6=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增弹窗客户名称改为 chosen 多选:保存时按选中客户逐条调用原有单条接口 (后端零改动,每条走完整互斥校验),逐条收集成败后统一汇总提示; 部分失败时刷新列表、弹窗保留供修正重试(重试已成功客户会被互斥校验拦截,不重复入库) - 编辑弹窗仍为单条绑定不变 - 删除 isGFSM(广发商贸)定制:客户等级下拉与切换 watchers、Span涨跌幅参数块; 本部署(国联民生)不涉及,后端接口保持原样 - 左栏加 tpl-base 统一控件宽度,多选搜索框隐藏行为与模板编辑页一致 --- .../client_margin_templateEdit.cshtml | 55 ++---- .../app/client/clientMarginTemplateEdit.js | 186 +++++++----------- 2 files changed, 92 insertions(+), 149 deletions(-) diff --git a/YLErpWeb/Views/client_margin_template/client_margin_templateEdit.cshtml b/YLErpWeb/Views/client_margin_template/client_margin_templateEdit.cshtml index 308784f8..cf7f5f76 100644 --- a/YLErpWeb/Views/client_margin_template/client_margin_templateEdit.cshtml +++ b/YLErpWeb/Views/client_margin_template/client_margin_templateEdit.cshtml @@ -10,8 +10,7 @@ isAdd = Model == null || Model.id == 0, marginTemplates = ViewBag.MarginTemplates, marginTemplate = ViewBag.MarginTemplate, - clientMarginTemplate = Model, - isGFSM = PS.Config.Company == CompanyEnum.广发商贸 + clientMarginTemplate = Model }; } @@ -43,26 +42,26 @@
-
+

新模板信息

- @if (pageObj.isGFSM) - { -
- - -
- }
- + @if (pageObj.isAdd) + { + @*新增:客户多选(类似适用簿记账户),保存时按选中客户逐条调用原有单条保存接口*@ + + } + else + { + @*编辑:单条绑定,仅改模板/日期,客户不可多选*@ + + }
@@ -98,7 +97,7 @@
-
@@ -109,26 +108,6 @@
- @if (PS.Config.Company == CompanyEnum.广发商贸) - { - - }