Commit 0d8a900a authored by 胡's avatar

fix: 客户信息bug修改

parent 1573bda4
......@@ -431,12 +431,14 @@ const NextStepWork = () => {
// 定义 必填选项
if (bpObj.bpClass === "ORG") {
addressFormConfig.setAll("isRequired", (item) => ["area", "address", "cellPhone", "refV02"].includes(item.propName))
contactPersonConfig.setAll("isRequired", (item) => ["contactType", "contactPerson", "idType",
contactPersonConfig.setAll("isRequired", (item) => ["contactType", "contactPerson", "idType",
"idCardNo", "cellPhone", "contractRelationship"].includes(item.propName))
active = 1
} else {
addressFormConfig.setAll("isRequired", (item) => ["area", "address", "cellPhone"].includes(item.propName))
contactPersonConfig.setAll("isRequired", (item) => ["contactType", "contactPerson", "idType",
"idCardNo", "cellPhone", "position"].includes(item.propName))
active = 0
}
}
......
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