设备检查bug
This commit is contained in:
parent
03089fd2c6
commit
fc8609d851
|
@ -324,6 +324,15 @@ submit:function(){
|
|||
})
|
||||
return
|
||||
}
|
||||
for(var i=0;i<that.data.itemscheck.length;i++){
|
||||
if(that.data.itemscheck[i].checked == undefined){
|
||||
wx.showToast({
|
||||
title: '有检查项未勾选!',
|
||||
icon:'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
}
|
||||
let data1 = {
|
||||
equipment: this.data.equipment.id,
|
||||
state: 1,
|
||||
|
|
Loading…
Reference in New Issue