From 33646893cf0095c80d0ea83699274738431937e9 Mon Sep 17 00:00:00 2001 From: ddlucky Date: Tue, 3 Jan 2023 11:18:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=8E=9F=E6=9C=89=E7=9A=84?= =?UTF-8?q?=E5=90=88=E8=A7=84=E6=A0=A1=E9=AA=8C=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Viewsjs/MsOpSeae/MsOpSeaeEdit.js | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/DSWeb/Areas/MvcShipping/Viewsjs/MsOpSeae/MsOpSeaeEdit.js b/DSWeb/Areas/MvcShipping/Viewsjs/MsOpSeae/MsOpSeaeEdit.js index ae3811b5..fc58d08d 100644 --- a/DSWeb/Areas/MvcShipping/Viewsjs/MsOpSeae/MsOpSeaeEdit.js +++ b/DSWeb/Areas/MvcShipping/Viewsjs/MsOpSeae/MsOpSeaeEdit.js @@ -4246,11 +4246,12 @@ Ext.extend(Shipping.MsOpSeaeEdit, Ext.Panel, { // return; //} - this.checkRules(); - if (this.ruleCheckFail) { - Ext.MessageBox.alert("提示", "表单校验不满足如下规则:
" + this.ruleCheckNames + "
不允许保存"); - return; - } + //20230103 取消原有的合规检验逻辑 + //this.checkRules(); + //if (this.ruleCheckFail) { + // Ext.MessageBox.alert("提示", "表单校验不满足如下规则:
" + this.ruleCheckNames + "
不允许保存"); + // return; + //} this.SaveAms('0'); this.Save('0'); @@ -4301,11 +4302,12 @@ Ext.extend(Shipping.MsOpSeaeEdit, Ext.Panel, { // return; //} - this.checkRules(); - if (this.ruleCheckFail) { - Ext.MessageBox.alert("提示", "表单校验不满足如下规则:
" + this.ruleCheckNames + "
不允许保存"); - return; - } + //20230103 取消原有的合规检验逻辑 + //this.checkRules(); + //if (this.ruleCheckFail) { + // Ext.MessageBox.alert("提示", "表单校验不满足如下规则:
" + this.ruleCheckNames + "
不允许保存"); + // return; + //} this.SaveAms('1'); this.Save('1'); @@ -12931,7 +12933,7 @@ Ext.extend(Shipping.MsOpSeaeEdit, Ext.Panel, { // this.LoadInitData(); // this.initloaddata = 1; // }; - this.loadCheckRules(); + //this.loadCheckRules(); }, //end InitData LoadData: function (opstatus, condition) {