|
@@ -138,7 +138,7 @@
|
|
|
<!-- 底部按钮 操作 -->
|
|
|
<view style="height: 150rpx;"></view>
|
|
|
<view class="orderBottom" v-if="state==1">
|
|
|
- <view class="cancelBtn" @click="cancelBtn">撤销申请</view>
|
|
|
+ <view class="cancelBtn" @click="$noMultipleClicks(cancelBtn)">撤销申请</view>
|
|
|
<view class="cancelBtn" @click="editBtn">修改申请</view>
|
|
|
</view>
|
|
|
|
|
@@ -153,7 +153,8 @@
|
|
|
tongguoUrl: '../../static/img/icon_tongguo.png',
|
|
|
waitUrl: '../../static/img/icon_yuan.png',
|
|
|
id: '',
|
|
|
- detailData: '',
|
|
|
+ detailData: '',
|
|
|
+ noClick:true,
|
|
|
}
|
|
|
},
|
|
|
onLoad(opt) {
|
|
@@ -238,14 +239,13 @@
|
|
|
uni.hideLoading();
|
|
|
|
|
|
if(res.code==0){
|
|
|
+ that.getData()
|
|
|
uni.showToast({
|
|
|
title: '撤销成功',
|
|
|
icon: 'none',
|
|
|
duration: 2000,
|
|
|
});
|
|
|
- setTimeout(function() {
|
|
|
- that.getData()
|
|
|
- }, 2000);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
})
|