xuxueyang
2024-09-24 056997b07e61fc99d5c311d0c5489b9de48fd9bc
update 细节和订单确认收货(写死了商户号)
已修改5个文件
24 ■■■■■ 文件已修改
manifest.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/order-detail.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/order.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/partner/delivery/delivery-detail.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/partner/delivery/delivery-supplier-detail-list.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json
@@ -49,7 +49,7 @@
    "quickapp" : {},
    /* 快应用特有相关 */
    "mp-weixin" : {
        "appid" : "wx3203fd935a6ffe09",
        "appid" : "wx1441324401626290",
        "setting" : {
            "urlCheck" : false,
            "es6" : true,
pages/order/order-detail.vue
@@ -210,9 +210,12 @@
                                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()
pages/order/order.vue
@@ -166,9 +166,12 @@
                                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()
@@ -185,15 +188,17 @@
                                        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)
                                }
                            });
                        }
sub_pages/partner/delivery/delivery-detail.vue
@@ -415,7 +415,7 @@
                    </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"
sub_pages/partner/delivery/delivery-supplier-detail-list.vue
@@ -573,7 +573,7 @@
                    </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"