...
|
...
|
@@ -301,7 +301,7 @@ export default { |
|
|
|
|
|
},
|
|
|
|
|
|
submitClick: debounce(function() {
|
|
|
submitClick: debounce(function() {
|
|
|
this.buyerPrePublish({price: this.inputPrice, storage_id: this.storageId, address_id: this.addressInfo.address_id})
|
|
|
.then((res) => {
|
|
|
if (res && res.code == 200) {
|
...
|
...
|
@@ -311,6 +311,7 @@ export default { |
|
|
}, 500, {leading: false, trailing: true}),
|
|
|
|
|
|
publishProduct() {
|
|
|
|
|
|
this.buyerPublish({price: this.inputPrice, storage_id: this.storageId, address_id: this.addressInfo.address_id, time_limit_id: this.chooseDayId}).then(() => {
|
|
|
this.payOrder();
|
|
|
});
|
...
|
...
|
@@ -327,11 +328,25 @@ export default { |
|
|
payOrder() {
|
|
|
let vm = this;
|
|
|
|
|
|
this.$store.dispatch('reportYas', {
|
|
|
params: {
|
|
|
appop: 'UFO_WTBUY_ORD',
|
|
|
param: {
|
|
|
ORDER_NUM: get(this.publishresult, 'orderCode', ''),
|
|
|
PRD_STORAGEID: this.storageId,
|
|
|
PRD_SIZE: get(this.originProductData, 'sizeName', ''),
|
|
|
PRICE: this.inputPrice,
|
|
|
FORNT_AMOUNT: get(this.publishresult, 'depositAmount', '')
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
|
|
|
this.$createOrderPayType({
|
|
|
price: get(this.publishresult, 'depositAmount', ''),
|
|
|
desc: '定金',
|
|
|
orderCode: get(this.publishresult, 'orderCode', ''),
|
|
|
extra: JSON.stringify({
|
|
|
reportType: 'qiugou_buy',
|
|
|
type: 'buy',
|
|
|
back: {
|
|
|
name: 'ProductDetail',
|
...
|
...
|
@@ -640,7 +655,9 @@ export default { |
|
|
padding: 0 40px 40px;
|
|
|
background-color: white;
|
|
|
}
|
|
|
</style>
|
|
|
|
|
|
<style lang="scss">
|
|
|
.cube-picker-panel {
|
|
|
height: 273px;
|
|
|
text-align: center;
|
...
|
...
|
|