Jelajahi Sumber

售后优化

shish 1 tahun lalu
induk
melakukan
0c92603157

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

@@ -15,7 +15,7 @@
                             <view class="table-cell cell-date">{{ item.addTime.substr(5,11) }}</view>
                             <view class="table-cell cell-scene">
                                 <view>{{ item.onlinePay == 2 ? '线上' : '线下'}}</view>
-                                <view>{{ item.payWay==0?'微信':item.payWay == 1 ?'支付宝':''}}</view>
+                                <view>{{ item.payWay==0?'微信':item.payWay == 1 ?'支付宝':item.payWay == 4 ?'现金':item.payWay == 5 ?'银行卡':'其它'}}</view>
                             </view>
                             <view class="table-cell cell-staff">{{ item.staffName }}</view>
                             <view class="table-cell cell-status">{{ item.payStatus == 1 ? '已付款' : '待付款' }}</view>

+ 1 - 1
hdApp/src/admin/refund/balanceCp.vue

@@ -63,7 +63,7 @@ export default {
           uni.showToast({ title: '复制成功', icon: 'success', duration: 2000 })
           setTimeout(() => {
             uni.navigateBack()      
-          }, 600)
+          }, 500)
         },
         fail: () => {
           uni.showToast({ title: '复制失败', icon: 'none', duration: 2000 })

+ 1 - 1
hdApp/src/admin/refund/offlineCp.vue

@@ -62,7 +62,7 @@ export default {
           uni.showToast({ title: '复制成功', icon: 'success', duration: 2000 })
           setTimeout(() => {
             uni.navigateBack()      
-          }, 800)
+          }, 500)
         },
         fail: () => {
           uni.showToast({ title: '复制失败', icon: 'none', duration: 2000 })

+ 8 - 7
hdApp/src/admin/refund/offlineRemind.vue

@@ -7,14 +7,14 @@
         <view class="result-title">操作成功,还有下一步</view>
         <view class="pay-confirm-content">
           <view class="confirm-text">
-            <view class="text-desc">请给客户充钱或线下{{payWay==0?'微信':payWay==1?'支付宝':payWay==4?'现金':'银行卡'}}转</view>
-            <view class="text-amount">{{amount}}</view>
+            <view class="text-desc">请给客户充线下{{payWay==0?'微信':payWay==1?'支付宝':payWay==4?'现金':'银行卡'}}转</view>
+            <view class="text-amount">{{amount}}</view>
           </view>
           <view>
               <button class="admin-button-com blue big" @click="recharge()" style="width:320upx;">充到客户余额</button>
           </view>
           <view style="margin-top:30upx;">
-              <button class="admin-button-com big" @click="goBack" style="width:320upx;">线下转给客户</button>
+              <button class="admin-button-com big" @click="goBack" style="width:320upx;">线下转给客户</button>
           </view>
         </view>
       </view>
@@ -23,6 +23,7 @@
 </template>
 <script>
 import {toManRecharge} from "@/api/recharge"
+import { getDetB} from "@/api/order";
 export default {
   name: "offlineRemind",
   data() {
@@ -43,13 +44,13 @@ export default {
     this.orderId = this.option.orderId?this.option.orderId:0
     this.payWay = this.option.payWay?this.option.payWay:0
 
+    getDetB({id:this.orderId}).then(res => {
+      this.orderInfo = res.data
+    })
+
   },
   methods: {
     recharge(){
-      if(this.$util.isEmpty(this.orderInfo)){
-        this.$msg('没有找到订单信息')
-        return false
-      }
       this.$util.confirmModal({content:'确认充到客户余额里?'},() => {
         this.toRecharge()
       })

+ 1 - 1
hdApp/src/admin/refund/shPayCp.vue

@@ -60,7 +60,7 @@ export default {
           uni.showToast({ title: '复制成功', icon: 'success', duration: 2000 })
           setTimeout(() => {
             uni.navigateBack()      
-          }, 600)
+          }, 500)
         },
         fail: () => {
           uni.showToast({ title: '复制失败', icon: 'none', duration: 2000 })

+ 6 - 4
hdApp/src/admin/refund/shPayRemind.vue

@@ -7,14 +7,14 @@
           <view class="result-title">操作成功,还有下一步</view>
           <view class="pay-confirm-content">
             <view class="confirm-text">
-              <view class="text-desc">请给客户充值或线下转账</view>
-              <view class="text-amount">{{orderInfo.actPrice?parseFloat(orderInfo.actPrice):0}}</view>
+              <view class="text-desc">请给客户充 或 线下{{payWay==0?'微信':payWay==1?'支付宝':payWay==4?'现金':'银行卡'}}转</view>
+              <view class="text-amount">{{orderInfo.actPrice?parseFloat(orderInfo.actPrice):0}}</view>
             </view>
             <view>
                 <button class="admin-button-com blue big" @click="recharge()" style="width:320upx;">充到客户余额</button>
             </view>
             <view style="margin-top:30upx;">
-                <button class="admin-button-com big" @click="goBack" style="width:320upx;">线下转给客户</button>
+                <button class="admin-button-com big" @click="goBack" style="width:320upx;">线下转给客户</button>
             </view>
           </view>
         </view>
@@ -28,7 +28,8 @@
     name: "shPayRemind",
     data() {
       return {
-        orderInfo:[]
+        orderInfo:[],
+        payWay:0
       }
     },
     onLoad(){
@@ -65,6 +66,7 @@
         let orderId = this.option.orderId?this.option.orderId:0
         getDetB({id: orderId}).then(res => {
           this.orderInfo = res.data
+          this.payWay = this.orderInfo.payWay
         })
       },
       goBack(){