This commit is contained in:
Gdpao
2020-09-01 20:32:15 +08:00
parent 115400353f
commit c5b3505dcd
4 changed files with 124 additions and 6 deletions

View File

@@ -125,7 +125,7 @@
<u-popup v-model="showExpress" mode="center" border-radius="10" class="delivery-popup">
<view class="title">填写快递单号</view>
<view class="input-info"><input type="text" style="color: #333; line-height: 1;" placeholder="请输入快递单号" v-model="pushid" /></view>
<view class="btn" @click="showExpress = false">确认</view>
<view class="btn" @click="saveDelivery">确认</view>
</u-popup>
<u-popup v-model="showRefunds" mode="center" border-radius="10" class="refunds-popup">
<view v-if="cur == 1" class="popup-tips">
@@ -262,6 +262,17 @@ export default {
}
});
},
// 保存订单号
saveDelivery() {
if (!this.pushid) {
uni.showToast({
title: "请填写快递单号!",
icon: "none"
})
return
}
this.showExpress = false;
},
// 取消退款
cancel() {
this.showRefunds = false;