一个小bug

This commit is contained in:
xiaofajia 2024-11-27 15:39:03 +08:00
parent b98368f6fb
commit 312d88e66c

View File

@ -312,8 +312,8 @@ export default {
this.yesText = "通过" this.yesText = "通过"
this.backText = "驳回" this.backText = "驳回"
} else { } else {
this.yesText = "通过" this.yesText = "通过全部"
this.backText = "驳回" this.backText = "驳回全部"
} }
}, },
getWaresStatus(val) { getWaresStatus(val) {
@ -359,14 +359,14 @@ export default {
confirmOpe(type) { confirmOpe(type) {
if (!this.subLoading){ if (!this.subLoading){
this.subLoading = true this.subLoading = true
if(this.selectWares.length==0){ // if(this.selectWares.length==0){
uni.showToast({ // uni.showToast({
title: '请选中要审核的配件!', // title: '',
icon: 'none' // icon: 'none'
}) // })
this.subLoading = false // this.subLoading = false
return // return
} // }
if (this.canClick) { if (this.canClick) {
this.canClick = false this.canClick = false
let url = '/admin-api/repair/tw/audit' let url = '/admin-api/repair/tw/audit'