Commit 850dc17a by caoyanzhi

Merge branch 'feature/4月-菜单和权限' into dev

parents ded213aa fa7ac74c
......@@ -61,6 +61,9 @@ export default {
data() {
const valiStoreType = (rules, value, callback) => {
const data = value.filter(el => !this.selectedTypes.includes(el));
if (this.myCustomData.storeType.includes('-1')) {
return callback();
}
if (this.storeTypes.every(el => this.selectedTypes.includes(el.value))) {
return callback(new Error('一种门店类型仅能包含在一个特殊策略中,当前所有门店类型已被其它特殊策略占用,无法创建'));
}
......
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