bug
This commit is contained in:
@@ -149,6 +149,21 @@ export default {
|
||||
this.negativeTypeList[index].status = val
|
||||
},
|
||||
add() {
|
||||
var isStatus = true
|
||||
this.positiveTypeList.map((item) => {
|
||||
if(item.status == null) {
|
||||
isStatus = false
|
||||
}
|
||||
})
|
||||
this.negativeTypeList.map((item) => {
|
||||
if(item.status == null) {
|
||||
isStatus = false
|
||||
}
|
||||
})
|
||||
|
||||
if(!isStatus) {
|
||||
return this.$u.toast('请填写评价清单中所有项内容')
|
||||
}
|
||||
if(!this.form.remark) {
|
||||
return this.$u.toast('请填写评语')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user