Commit 68702b30 authored by niminmin's avatar niminmin

[feat]框架js调整,保存校验提醒修改

parent c829bac9
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -229,6 +229,9 @@ ...@@ -229,6 +229,9 @@
while (e && e.getCause && e.getCause()) e = e.getCause(); while (e && e.getCause && e.getCause()) e = e.getCause();
var error_code = e.getErrorCode(); var error_code = e.getErrorCode();
if (error_code == 1) { if (error_code == 1) {
if(base_table.toUpperCase()=='HLS_LEASE_ITEM'){
raise_app_error('机种代码和型号不能重复!');
}else
raise_app_error('HLS_TABLE_UNIQUE.' + base_table.toUpperCase()); raise_app_error('HLS_TABLE_UNIQUE.' + base_table.toUpperCase());
} }
if (parent_error_code) { if (parent_error_code) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment