|
|
@@ -1531,6 +1531,7 @@ export default {
|
|
|
this.ManagementModelList = ManagementModelList;
|
|
|
});
|
|
|
},
|
|
|
+ // 同城分销-属性信息
|
|
|
getTCFXList() {
|
|
|
getTCFXList({}).then((res) => {
|
|
|
var TCFXList = [];
|
|
|
@@ -1843,8 +1844,8 @@ export default {
|
|
|
fromValue.ifJzStoreType != 1 &&
|
|
|
this.storeTypePOP &&
|
|
|
fromValue.storeCategory != 'C917' &&
|
|
|
- fromValue.storeCategory !== '129081' &&
|
|
|
- fromValue.storeCategory !== '10131'
|
|
|
+ this.verifyStoreType(this.fromValue.storeCategory) &&
|
|
|
+ !this.verifyStoreType(this.fromValue.storeCategory).tcfx
|
|
|
) {
|
|
|
this.$toast('图片未上传');
|
|
|
return;
|
|
|
@@ -1852,7 +1853,8 @@ export default {
|
|
|
this.$toast('请获取定位坐标');
|
|
|
return;
|
|
|
} else if (
|
|
|
- (fromValue.storeCategory == '10131' ||
|
|
|
+ ((this.verifyStoreType(this.fromValue.storeCategory) &&
|
|
|
+ this.verifyStoreType(this.fromValue.storeCategory).tcfx) ||
|
|
|
fromValue.storeCategory == 'sjs61' ||
|
|
|
fromValue.storeCategory == 'zyjz63') &&
|
|
|
fromValue.tcfxName == ''
|
|
|
@@ -1860,13 +1862,15 @@ export default {
|
|
|
this.$toast('属性未填写');
|
|
|
return;
|
|
|
} else if (
|
|
|
- (fromValue.storeCategory == '129081' || fromValue.storeCategory == '10131') &&
|
|
|
+ this.verifyStoreType(this.fromValue.storeCategory) &&
|
|
|
+ this.verifyStoreType(this.fromValue.storeCategory).tcfx &&
|
|
|
fromValue.carShop == ''
|
|
|
) {
|
|
|
this.$toast('请选择是否车铺开店');
|
|
|
return;
|
|
|
} else if (
|
|
|
- (fromValue.storeCategory == '129081' || fromValue.storeCategory == '10131') &&
|
|
|
+ this.verifyStoreType(this.fromValue.storeCategory) &&
|
|
|
+ this.verifyStoreType(this.fromValue.storeCategory).tcfx &&
|
|
|
fromValue.carShop == '1' &&
|
|
|
fromValue.carShopImgList.length < 1
|
|
|
) {
|
|
|
@@ -1878,18 +1882,18 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if (fromValue.storeCategory == '129081' && fromValue.attribute3 == '') {
|
|
|
- this.$toast('属性未填写');
|
|
|
- return;
|
|
|
- }
|
|
|
- if (
|
|
|
- fromValue.storeCategory == '129081' &&
|
|
|
- fromValue.attribute3 == '0' &&
|
|
|
- fromValue.attribute5 == ''
|
|
|
- ) {
|
|
|
- this.$toast('属性未填写');
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (fromValue.storeCategory == '129081' && fromValue.attribute3 == '') {
|
|
|
+ // this.$toast('属性未填写');
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ // if (
|
|
|
+ // fromValue.storeCategory == '129081' &&
|
|
|
+ // fromValue.attribute3 == '0' &&
|
|
|
+ // fromValue.attribute5 == ''
|
|
|
+ // ) {
|
|
|
+ // this.$toast('属性未填写');
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
if (this.GZAttributeFormShow && fromValue.potentialCustomerType == '') {
|
|
|
this.$toast('潜在客户类型未填写');
|
|
|
return;
|