| | |
| | | "quickapp" : {}, |
| | | /* 快应用特有相关 */ |
| | | "mp-weixin" : { |
| | | "appid" : "wx3203fd935a6ffe09", |
| | | "appid" : "wx1441324401626290", |
| | | "setting" : { |
| | | "urlCheck" : false, |
| | | "es6" : true, |
| | |
| | | extraData: { |
| | | // merchant_id: '', |
| | | // merchant_trade_no: '', |
| | | merchant_id: '1661512517', |
| | | merchant_trade_no: tmp.id || '', |
| | | transaction_id: tmp.dto && tmp.dto.paymentTrId || '' |
| | | }, |
| | | async success() { |
| | | async success(info) { |
| | | console.log('info', info) |
| | | //dosomething |
| | | // 发送请求 |
| | | tmp.$message.showLoading() |
| | |
| | | extraData: { |
| | | // merchant_id: '1230000109', |
| | | // merchant_trade_no: '1234323JKHDFE1243252', |
| | | merchant_id: '1661512517', |
| | | merchant_trade_no: item.orderId || item.id || '', |
| | | transaction_id: item.paymentTrId |
| | | }, |
| | | async success() { |
| | | async success(info) { |
| | | console.log('确认收货 info success', info) |
| | | //dosomething |
| | | // 发送请求 |
| | | tmp.$message.showLoading() |
| | |
| | | tmp.refreshList() |
| | | //刷新积分 |
| | | tmp.$store.dispatch('getCurrentInfo') |
| | | tmp.$message.showToast('收货成功') |
| | | } |
| | | }, |
| | | fail(e) { |
| | | //dosomething |
| | | console.log('error fail', e) |
| | | console.log('确认收货 info error', e) |
| | | // console.log('error fail', e) |
| | | tmp.$message.showToast('收货失败') |
| | | }, |
| | | complete() { |
| | | complete(info) { |
| | | //dosomething |
| | | console.log('确认收货 info complete', info) |
| | | } |
| | | }); |
| | | } |
| | |
| | | </view> |
| | | <view class="form-item" v-if="form.status==='reduce'"> |
| | | <view class="form-item-label require"> |
| | | 扣款金额/每扎 |
| | | 每扎扣款 |
| | | </view> |
| | | <view class="form-item-value"> |
| | | <input v-model="form.deductAmount" placeholder="请输入扣款金额" type="digit" |
| | |
| | | </view> |
| | | <view class="form-item" v-if="form.status==='reduce'"> |
| | | <view class="form-item-label require"> |
| | | 扣款金额/每扎 |
| | | 每扎扣款 |
| | | </view> |
| | | <view class="form-item-value"> |
| | | <input v-model="form.deductAmount" placeholder="请输入扣款金额" type="digit" |