feature: 新增标的时 基金管理人设置为必填

This commit is contained in:
马冰冰
2026-08-25 15:31:53 +08:00
parent 670ff1e012
commit 8cea7ee2e4
3 changed files with 16 additions and 3 deletions
@@ -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 子类 必须填写!");