shish 1 год назад
Родитель
Сommit
2ef58a9486

+ 1 - 1
hdApp/src/admin/billing/affirm.vue

@@ -541,7 +541,7 @@ export default {
         }else if(this.form.hasPay == 1){
           name = '确认线下付款?'
           if(this.form.forward == 1){
-            name = '确认开付款售后单?'
+            name = '确认开售后付款单?'
           }
         }else if(this.form.hasPay == 2){
           name = '确认赊账?'

+ 2 - 2
hdApp/src/admin/billing/remind.vue

@@ -50,8 +50,8 @@
       toRecharge(){
         let that = this
         uni.showLoading({mask:true})
-        let remark = '售后付款单'+this.orderInfo.orderSn
-        toManRecharge({amount:this.orderInfo.actPrice,remark:remark,payWay:0,customId:this.orderInfo.customId}).then(res=>{
+        let orderId = this.orderInfo.id
+        toManRecharge({amount:this.orderInfo.actPrice,payWay:0,customId:this.orderInfo.customId,shOrderId:orderId}).then(res=>{
           uni.hideLoading()
           if(res.code == 1){
             this.$msg('充值成功')

+ 4 - 0
hdApp/src/admin/custom/balanceChange.vue

@@ -21,6 +21,7 @@
                             <view class="table-cell cell-extra" :colspan="5">
                                 <view v-if="Number(item.settleId)>0" @click="goSettle(item)">结账单 {{item.settleNo}} {{item.settleAmount?parseFloat(item.settleAmount):0}}元</view>
                                 <view v-if="Number(item.settleAmount)>0 && Number(item.becomeBalance)>0">余额 {{item.becomeBalance}}元</view>
+                                <view v-if="Number(item.shOrderId)>0" @click="goShOrder(item)">售后付款单{{ item.shOrderSn }}</view>
                                 <view v-if="!$util.isEmpty(item.remark)">{{ item.remark }}</view>
                             </view>
                         </view>
@@ -47,6 +48,9 @@
             };
         },
         methods: {
+            goShOrder(item){
+                this.$util.pageTo({ url: '/admin/order/detail?id='+item.shOrderId})
+            },
             goSettle(item){
                 this.$util.pageTo({url:'/admin/settle/detail?id='+item.settleId})
             },

+ 5 - 1
hdApp/src/admin/custom/rechargeChange.vue

@@ -24,7 +24,8 @@
                         </view>
                         <view class="table-row table-row-extra" v-if="!$util.isEmpty(item.remark)">
                             <view class="table-cell cell-extra">
-                                <view style="color:red;">{{ item.remark }}</view>
+                                <view v-if="Number(item.shOrderId)>0" @click="goShOrder(item)">售后付款单{{ item.shOrderSn }}</view>
+                                <view>{{ item.remark }}</view>
                             </view>
                         </view>
                     </view>
@@ -63,6 +64,9 @@
                 });
                 res.data.list = currentList
                 this.completes(res)
+            },
+            goShOrder(item){
+                this.$util.pageTo({ url: '/admin/order/detail?id='+item.shOrderId})
             }
         },
         async onPullDownRefresh() {