Commit 6d464b10 authored by zhengyi's avatar zhengyi

当客户所属客户经理非当前用户,保存必填校验去补充掉竞争对手

parent de4d79b0
......@@ -699,6 +699,7 @@ export default {
console.log(!this.form.customerService? "当前客户没有客户经理" : "与当前登录用户的客户经理不同")
// 当前客户没有客户经理,或者与当前登录用户的客户经理不同, 可以不校验部分必填字段
// 2024-12-03 客户-编辑,当客户所属客户经理非当前用户,保存必填校验去掉客户类别,常用提货网点,业务国家,主营类别
// 2024-12-05 客户-编辑,当客户所属客户经理非当前用户,保存必填校验去补充掉竞争对手
// 表单校验
this.rules = {
name: [
......@@ -743,13 +744,6 @@ export default {
message: this.$t("客户状态不能为空"),
trigger: "blur"
}
],
competitorIds: [
{
required: true,
message: this.$t("请选择主要竞争对手"),
trigger: "change"
}
]
}
}
......
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