Commit 605f3da0 authored by Morson's avatar Morson

清除调试代码

parent dba883c7
...@@ -62,17 +62,28 @@ ...@@ -62,17 +62,28 @@
PopView PopView
}, },
onLoad(e) { onLoad(e) {
this.orderId = 111
if(e && e.orderId) { if(e && e.orderId) {
this.orderId = e.orderId this.orderId = e.orderId
} }
this.getRejectCount()
}, },
methods: { methods: {
changeReason(reason) { changeReason(reason) {
this.formData.rejectReason = reason this.formData.rejectReason = reason
}, },
getRejectCount() {
// 获取拒单次数
this.count = 3
},
handleClickSubmit() { handleClickSubmit() {
if(!this.orderId) {
uni.showToast({
icon: 'none',
title: '订单ID不能为空',
})
return
}
if (this.count > 0) { if (this.count > 0) {
this.visibale = true this.visibale = true
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment