...
|
...
|
@@ -92,7 +92,6 @@ |
|
|
|
|
|
import {Input, Button, Scroll} from 'cube-ui';
|
|
|
import OrderAddress from './components/confirm/address';
|
|
|
import DayChoose from './components/askorder/day-choose';
|
|
|
import OrderAgree from './components/confirm/agree';
|
|
|
import { createNamespacedHelpers } from 'vuex';
|
|
|
import {debounce, get} from 'lodash';
|
...
|
...
|
@@ -102,11 +101,11 @@ const {mapState, mapActions, mapMutations, mapGetters} = createNamespacedHelpers |
|
|
|
|
|
export default {
|
|
|
name: 'BuyerAskOrder',
|
|
|
components: {Button, Input, DayChoose, OrderAddress, OrderAgree},
|
|
|
props: ['lazy', 'storageId'],
|
|
|
component: {
|
|
|
components: {
|
|
|
Input,
|
|
|
OrderAddress,
|
|
|
OrderAgree,
|
|
|
Button,
|
|
|
'cube-scroll': Scroll,
|
|
|
},
|
...
|
...
|
@@ -114,7 +113,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 +311,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();
|
|
|
}
|
|
|
|
|
|
});
|
|
|
},
|
|
|
|
...
|
...
|
|