|
|
@@ -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()
|
|
|
})
|