|
@@ -259,7 +259,7 @@ const roleColumns = [
|
|
|
];
|
|
|
|
|
|
const save = async () => {
|
|
|
- if (IS_CLOUD && !formData.allocationParams[0].userIdList?.length) {
|
|
|
+ if (IS_CLOUD.value && !formData.allocationParams[0].userIdList?.length) {
|
|
|
return MessagePlugin.error('区域协调人必选,且只能选择一个');
|
|
|
} else if (!formData.allocationParams[1].userIdList?.length) {
|
|
|
return MessagePlugin.error('大区经理必选,且只能选择一个');
|