Merge remote-tracking branch 'origin/develop' into develop
Showing
2 changed files
with
19 additions
and
6 deletions
@@ -133,12 +133,16 @@ export default { | @@ -133,12 +133,16 @@ export default { | ||
133 | orderCode, | 133 | orderCode, |
134 | }, | 134 | }, |
135 | }, | 135 | }, |
136 | + reportType: 'buy', | ||
136 | }), | 137 | }), |
137 | }).show(); | 138 | }).show(); |
138 | break; | 139 | break; |
139 | } | 140 | } |
140 | 141 | ||
141 | case orderActionsMap.PAY_DEPOSIT.name: { | 142 | case orderActionsMap.PAY_DEPOSIT.name: { |
143 | + // 是否是求购 | ||
144 | + const isAskForBuy = status === 7; | ||
145 | + | ||
142 | this.$createOrderPayType({ | 146 | this.$createOrderPayType({ |
143 | orderCode, | 147 | orderCode, |
144 | price: parseFloat(bidDepositInfo.depositAmount).toFixed(2), | 148 | price: parseFloat(bidDepositInfo.depositAmount).toFixed(2), |
@@ -150,6 +154,7 @@ export default { | @@ -150,6 +154,7 @@ export default { | ||
150 | owner: 'buy', | 154 | owner: 'buy', |
151 | }, | 155 | }, |
152 | }, | 156 | }, |
157 | + reportType: isAskForBuy ? 'qiugou_buy' : 'buy', | ||
153 | }), | 158 | }), |
154 | }).show(); | 159 | }).show(); |
155 | break; | 160 | break; |
@@ -209,7 +214,11 @@ export default { | @@ -209,7 +214,11 @@ export default { | ||
209 | orderCode, | 214 | orderCode, |
210 | onCloseAction() {}, | 215 | onCloseAction() {}, |
211 | onConfirmAction: async price => { | 216 | onConfirmAction: async price => { |
212 | - const { isOk, errMsg = '', bidData } = await that.confirmChangePrice({ | 217 | + const { |
218 | + isOk, | ||
219 | + errMsg = '', | ||
220 | + bidData, | ||
221 | + } = await that.confirmChangePrice({ | ||
213 | price: price, | 222 | price: price, |
214 | orderCode, | 223 | orderCode, |
215 | }); | 224 | }); |
@@ -225,17 +234,20 @@ export default { | @@ -225,17 +234,20 @@ export default { | ||
225 | name: isDetail ? 'buyOrderDetail' : 'OrderList', | 234 | name: isDetail ? 'buyOrderDetail' : 'OrderList', |
226 | params: this.$route.params, | 235 | params: this.$route.params, |
227 | }, | 236 | }, |
237 | + reportType: 'buy', | ||
228 | }), | 238 | }), |
229 | }).show(); | 239 | }).show(); |
230 | } else { | 240 | } else { |
231 | if (errMsg) { | 241 | if (errMsg) { |
232 | - that.$createToast({ | ||
233 | - type: 'alert', | ||
234 | - txt: errMsg, | ||
235 | - }).show(); | 242 | + that |
243 | + .$createToast({ | ||
244 | + type: 'alert', | ||
245 | + txt: errMsg, | ||
246 | + }) | ||
247 | + .show(); | ||
236 | } | 248 | } |
237 | } | 249 | } |
238 | - } | 250 | + }, |
239 | }).show(); | 251 | }).show(); |
240 | break; | 252 | break; |
241 | } | 253 | } |
-
Please register or login to post a comment