|
@@ -546,23 +546,34 @@ var fleaMarketForm = new Vue({
|
|
|
},3000);
|
|
|
return
|
|
|
}
|
|
|
- console.log(_this.secondParams);
|
|
|
- if(_this.secondParams.authenticationImage == ''){
|
|
|
- _this.PopupShow = true;
|
|
|
- _this.tipsContentText = '上传身份验证照片,您的二手商品将获得更好的推荐推荐和曝光,方便您快速卖出。';
|
|
|
- _this.cancelButtonText = '继续发布';
|
|
|
- _this.confirmButtonText = '去上传';
|
|
|
- _this.isButtonsType = 1;
|
|
|
- return;
|
|
|
+ if(_this.publishIdentity === 1){
|
|
|
+ if(_this.secondParams.authenticationImage == '' && _this.secondParams.authenticationBackImage == ''){
|
|
|
+ _this.PopupShow = true;
|
|
|
+ _this.tipsContentText = '上传身份验证照片,您的二手商品将获得更好的推荐和曝光,方便您快速卖出。';
|
|
|
+ _this.cancelButtonText = '继续发布';
|
|
|
+ _this.confirmButtonText = '去上传';
|
|
|
+ _this.isButtonsType = 1;
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ if(_this.secondParams.licenseImage == ''){
|
|
|
+ _this.PopupShow = true;
|
|
|
+ _this.tipsContentText = '上传营业执照照片,您的二手商品将获得更好的推荐和曝光,方便您快速卖出。';
|
|
|
+ _this.cancelButtonText = '继续发布';
|
|
|
+ _this.confirmButtonText = '去上传';
|
|
|
+ _this.isButtonsType = 1;
|
|
|
+ return;
|
|
|
+ }
|
|
|
}
|
|
|
if(_this.secondParams.commitmentImage == '' || _this.secondParams.ossName == ''){
|
|
|
_this.PopupShow = true;
|
|
|
- _this.tipsContentText = '上传二手出让承诺函,您的二手商品将获得更好的推荐推荐和曝光,方便您快速卖出。';
|
|
|
+ _this.tipsContentText = '上传二手出让承诺函,您的二手商品将获得更好的推荐和曝光,方便您快速卖出。';
|
|
|
_this.cancelButtonText = '继续发布';
|
|
|
_this.confirmButtonText = '去上传';
|
|
|
_this.isButtonsType = 1;
|
|
|
return;
|
|
|
}
|
|
|
+ console.log(_this.secondParams);
|
|
|
_this.SecondHandProduct(_this.secondParams)
|
|
|
},
|
|
|
SecondHandProduct:function(params){//提交发布
|