#TRS-ZS-608 浙商TRS-客户保证金报送
This commit is contained in:
@@ -1512,6 +1512,20 @@ function createTopVue() {
|
||||
if (!_.trim(client.Name)) {
|
||||
return main.alert("客户名称 必须填写");
|
||||
}
|
||||
if (!_.trim(client.meta_MainProtocolType)) {
|
||||
return main.alert("主协议类型 必须填写");
|
||||
}
|
||||
if (!_.trim(client.meta_OrganizationType)) {
|
||||
return main.alert("交易对手方类型 必须填写");
|
||||
}
|
||||
if (!_.trim(client.meta_ClientTag)) {
|
||||
return main.alert("交易对手方标识 必须填写");
|
||||
}
|
||||
if (client.meta_OrganizationType === "14" || client.meta_OrganizationType === "15") {
|
||||
return main.alert("LEI编码 必须填写");
|
||||
} else {
|
||||
return main.alert("统一社会信用代码 必须填写");
|
||||
}
|
||||
|
||||
if (page.fnameSet.has("EvaluateDate") && client.EvaluateDate && ! /^[0-9]{4}-[0-1]?[0-9]{1}-[0-3]?[0-9]{1}$/.test(client.EvaluateDate)) {
|
||||
return main.message("请输入正确的评估日期格式");
|
||||
|
||||
Reference in New Issue
Block a user