取消原有的合规校验逻辑

DS7_JinGang
ddlucky 2 years ago
parent 3a8642b56d
commit 33646893cf

@ -4246,11 +4246,12 @@ Ext.extend(Shipping.MsOpSeaeEdit, Ext.Panel, {
// return; // return;
//} //}
this.checkRules(); //20230103 取消原有的合规检验逻辑
if (this.ruleCheckFail) { //this.checkRules();
Ext.MessageBox.alert("提示", "表单校验不满足如下规则:<br/><b>" + this.ruleCheckNames + "</b><br/>不允许保存"); //if (this.ruleCheckFail) {
return; // Ext.MessageBox.alert("提示", "表单校验不满足如下规则:<br/><b>" + this.ruleCheckNames + "</b><br/>不允许保存");
} // return;
//}
this.SaveAms('0'); this.SaveAms('0');
this.Save('0'); this.Save('0');
@ -4301,11 +4302,12 @@ Ext.extend(Shipping.MsOpSeaeEdit, Ext.Panel, {
// return; // return;
//} //}
this.checkRules(); //20230103 取消原有的合规检验逻辑
if (this.ruleCheckFail) { //this.checkRules();
Ext.MessageBox.alert("提示", "表单校验不满足如下规则:<br/><b>" + this.ruleCheckNames + "</b><br/>不允许保存"); //if (this.ruleCheckFail) {
return; // Ext.MessageBox.alert("提示", "表单校验不满足如下规则:<br/><b>" + this.ruleCheckNames + "</b><br/>不允许保存");
} // return;
//}
this.SaveAms('1'); this.SaveAms('1');
this.Save('1'); this.Save('1');
@ -12931,7 +12933,7 @@ Ext.extend(Shipping.MsOpSeaeEdit, Ext.Panel, {
// this.LoadInitData(); // this.LoadInitData();
// this.initloaddata = 1; // this.initloaddata = 1;
// }; // };
this.loadCheckRules(); //this.loadCheckRules();
}, //end InitData }, //end InitData
LoadData: function (opstatus, condition) { LoadData: function (opstatus, condition) {

Loading…
Cancel
Save