Authored by hongyong.zhao

更新协议,修复特殊买家不能求购提示

... ... @@ -114,7 +114,7 @@ export default {
return {
inputPrice: '',
isAgreeTerms: false,
url: 'https://activity.yoho.cn/feature/6775.html?share_id=9481&title=%E9%97%B2%E9%B1%BC%E4%B9%B0%E5%AE%B6%E5%8D%8F%E8%AE%AE',
url: 'https://activity.yoho.cn/feature/6775.html?nodownload=1',
agreeDesc: '有货买家协议',
submitText: '提交',
options: {pullDownRefresh: false}
... ... @@ -312,8 +312,11 @@ export default {
publishProduct() {
this.buyerPublish({price: this.inputPrice, storage_id: this.storageId, address_id: this.addressInfo.address_id, time_limit_id: this.chooseDayId}).then(() => {
this.payOrder();
this.buyerPublish({price: this.inputPrice, storage_id: this.storageId, address_id: this.addressInfo.address_id, time_limit_id: this.chooseDayId}).then((res) => {
if (res && res.code == 200) {
this.payOrder();
}
});
},
... ...
... ... @@ -64,7 +64,7 @@ export default {
isAgreeTerms: false,
hiddenIcon: true,
agreeDesc: '有货卖家协议',
url: 'http://m.yohobuy.com/activity/student/detail/renzhen?openby:yohobuy={\"action\":\"go.h5\",\"params\":{\"url\":\"https://activity.yoho.cn/feature/3187.html?title=卖家协议\"}}',
url: 'https://activity.yoho.cn/feature/6773.html?nodownload=1',
isEntry: false,
submitText: '提交',
options: {pullDownRefresh: false},
... ...
... ... @@ -402,9 +402,11 @@ export default function() {
} else {
commit(BUYER_ASK_PUBLISH_FAILURE, result.message);
}
return result;
}, error => {
console.log(error);
commit(BUYER_ASK_PUBLISH_FAILURE, TIP);
return null;
});
}
}
... ...