|
|
|
@ -4246,11 +4246,12 @@ Ext.extend(Shipping.MsOpSeaeEdit, Ext.Panel, {
|
|
|
|
|
// return;
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
this.checkRules();
|
|
|
|
|
if (this.ruleCheckFail) {
|
|
|
|
|
Ext.MessageBox.alert("提示", "表单校验不满足如下规则:<br/><b>" + this.ruleCheckNames + "</b><br/>不允许保存");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
//20230103 取消原有的合规检验逻辑
|
|
|
|
|
//this.checkRules();
|
|
|
|
|
//if (this.ruleCheckFail) {
|
|
|
|
|
// Ext.MessageBox.alert("提示", "表单校验不满足如下规则:<br/><b>" + this.ruleCheckNames + "</b><br/>不允许保存");
|
|
|
|
|
// 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("提示", "表单校验不满足如下规则:<br/><b>" + this.ruleCheckNames + "</b><br/>不允许保存");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
//20230103 取消原有的合规检验逻辑
|
|
|
|
|
//this.checkRules();
|
|
|
|
|
//if (this.ruleCheckFail) {
|
|
|
|
|
// Ext.MessageBox.alert("提示", "表单校验不满足如下规则:<br/><b>" + this.ruleCheckNames + "</b><br/>不允许保存");
|
|
|
|
|
// 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) {
|
|
|
|
|