feature: 新增标的时 基金管理人设置为必填
This commit is contained in:
@@ -135,6 +135,12 @@ function saveData() {
|
||||
return main.alert("资产品种类型 必须填写!");
|
||||
}
|
||||
|
||||
// 重点功能:基金及基金专户必须填写基金管理人,空格内容也视为未填写。
|
||||
if (data.UnderlyingInstrumentType === "Fund" &&
|
||||
(!data.InvestAdvisorName || !data.InvestAdvisorName.trim())) {
|
||||
return main.alert("基金管理人 必须填写!");
|
||||
}
|
||||
|
||||
// 重点功能:ETF 子类只对基金及基金专户显示并必填,先在前端阻止无效提交。
|
||||
if (data.UnderlyingInstrumentType === "Fund" && !data.EtfSubType) {
|
||||
return main.alert("ETF 子类 必须填写!");
|
||||
|
||||
Reference in New Issue
Block a user