|
@@ -1785,7 +1785,7 @@ export default {
|
|
|
) {
|
|
) {
|
|
|
// 同城分销多经销商
|
|
// 同城分销多经销商
|
|
|
this.fromValue.sfaStoreChainsContactList = this.sfaStoreChainsContactList;
|
|
this.fromValue.sfaStoreChainsContactList = this.sfaStoreChainsContactList;
|
|
|
- if (!this.fromValue.sfaStoreChainsContactList.length) {
|
|
|
|
|
|
|
+ if (!this.sfaStoreChainsContactList || !this.sfaStoreChainsContactList.length) {
|
|
|
this.$toast('经销商未填写');
|
|
this.$toast('经销商未填写');
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
@@ -1793,6 +1793,10 @@ export default {
|
|
|
this.$toast('属性未填写');
|
|
this.$toast('属性未填写');
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
+ if (fromValue.imgSed == '') {
|
|
|
|
|
+ this.$toast('图片未上传');
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
} else {
|
|
} else {
|
|
|
// 非同城分销店 经销商必填校验
|
|
// 非同城分销店 经销商必填校验
|
|
|
if (
|
|
if (
|
|
@@ -1804,15 +1808,6 @@ export default {
|
|
|
this.$toast('经销商未选择');
|
|
this.$toast('经销商未选择');
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- if (
|
|
|
|
|
- fromValue.imgSed == '' &&
|
|
|
|
|
- fromValue.ifJzStoreType != 1 &&
|
|
|
|
|
- this.storeTypePOP &&
|
|
|
|
|
- fromValue.storeCategory != 'C917'
|
|
|
|
|
- ) {
|
|
|
|
|
- this.$toast('图片未上传');
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
let loading1 = this.$toast.loading({
|
|
let loading1 = this.$toast.loading({
|