Commit a44c4882 authored by Damon's avatar Damon

完工校验

parent e26f4273
......@@ -161,7 +161,8 @@
completeCheckResult: [],
waitHandlerPanelIndex: 0,
waitHandlerGroupIndex: 0,
waitHandlerEleIndex: 0,
waitHandlerEleIndex: 0,
pass: false,
}
},
components: {
......@@ -311,8 +312,8 @@
return pass
},
confirm(){// 检查结果窗口 确认回调
uni.navigateTo({
url: 'pages/index/order'
uni.switchTab({
url: '/pages/index/order'
})
},
closeCheckResult(){// 检查结果窗口取消回调
......@@ -333,11 +334,12 @@
},
orderFinish(){
let self = this
let pass = this.checkCompleteItem()
let pass = this.checkCompleteItem()
if(!pass){
self.completeCheckStatus = true
}else{
console.log("完工");
console.log("完工");
this.pass = pass
if(self.inGuaranteePeriod === 'Y'){
self.$u.api.inOrderFinish(self.orderId).then((res)=>{
console.log(res)
......
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