...
|
...
|
@@ -142,7 +142,7 @@ export default { |
|
|
this.sellerPublish({price: this.price, skup: this.skup, address_id: this.addressInfo.address_id})
|
|
|
.then((res) => {
|
|
|
|
|
|
if (res && res.code && res.code == 200) {
|
|
|
if (res && res.code && res.code === 200) {
|
|
|
this.$createToast({
|
|
|
time: 1000,
|
|
|
type: 'txt',
|
...
|
...
|
@@ -169,7 +169,7 @@ export default { |
|
|
this.sellerPublish({price: this.price, skup: this.skup, address_id: this.addressInfo.address_id})
|
|
|
.then((res) => {
|
|
|
|
|
|
if (res && res.code && res.code == 200) {
|
|
|
if (res && res.code && res.code === 200) {
|
|
|
this.payOrder();
|
|
|
} else {
|
|
|
this.$createToast({
|
...
|
...
|
@@ -177,21 +177,21 @@ export default { |
|
|
type: 'txt',
|
|
|
txt: res.message
|
|
|
}).show();
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
}
|
|
|
|
|
|
},
|
|
|
payOrder() {
|
|
|
let vm = this;
|
|
|
|
|
|
this.$createOrderPayType({
|
|
|
price: get(this.computeTip, 'earnestMoney', 0),
|
|
|
desc: '保证金',
|
|
|
orderCode: get(this.publishinfo, 'orderCode', ''),
|
|
|
extra: JSON.stringify({
|
|
|
type: 'sell',
|
|
|
reportType: 'bianxian',
|
|
|
back: {
|
|
|
name: 'ProductDetail',
|
|
|
params: {
|
...
|
...
|
@@ -209,6 +209,12 @@ export default { |
|
|
vm.onClose(get(this.publishinfo, 'orderCode', ''));
|
|
|
}
|
|
|
}).show();
|
|
|
|
|
|
this.reportYas('XY_UFO_CASH_ORD', {
|
|
|
ORD_NUM: get(this.publishinfo, 'orderCode', ''),
|
|
|
PRD_ID: get(this.originProductData, 'productId', ''),
|
|
|
PRD_SKU: this.skup
|
|
|
});
|
|
|
},
|
|
|
|
|
|
showToast() {
|
...
|
...
|
|