|
|
@@ -10,7 +10,7 @@
|
|
|
<view class="card">
|
|
|
<view class="form-label">退款金额</view>
|
|
|
<view class="input-wrap">
|
|
|
- <input class="input" type="digit" v-model="refundMoney" placeholder="请输入退款金额" />
|
|
|
+ <input class="input" type="digit" v-model="refundMoney" placeholder="请输入退款金额" @focus="onRefundMoneyFocus" />
|
|
|
<text class="unit">元</text>
|
|
|
</view>
|
|
|
<view class="form-label">备注</view>
|
|
|
@@ -46,6 +46,9 @@ export default {
|
|
|
this.loadDetail();
|
|
|
},
|
|
|
methods: {
|
|
|
+ onRefundMoneyFocus() {
|
|
|
+ this.refundMoney = '';
|
|
|
+ },
|
|
|
loadDetail() {
|
|
|
if (!this.id) return;
|
|
|
getScanPayDetail({ id: this.id }).then(res => {
|
|
|
@@ -81,7 +84,7 @@ export default {
|
|
|
if (res.code == 1) {
|
|
|
this.$msg('退款成功');
|
|
|
setTimeout(() => {
|
|
|
- this.$util.pageTo({ url: '/admin/order/scanPayDetail', query: { id: this.id }, type: 2 });
|
|
|
+ uni.navigateBack({ delta: 1 });
|
|
|
}, 500);
|
|
|
}
|
|
|
});
|
|
|
@@ -113,8 +116,10 @@ export default {
|
|
|
.tip {
|
|
|
display: block;
|
|
|
margin-top: 16upx;
|
|
|
- padding: 16upx 0;
|
|
|
- font-size: 28upx;
|
|
|
+ padding: 16upx;
|
|
|
+ font-size: 30upx;
|
|
|
+ text-align: center;
|
|
|
+ font-weight: bold;
|
|
|
border-radius: 8upx;
|
|
|
}
|
|
|
.online-tip {
|