This commit is contained in:
Vinjor 2024-11-13 10:35:04 +08:00
commit b446915f86

View File

@ -107,16 +107,18 @@ export default {
},
confirmOpe(type){
let forSign = true
this.repairList.map(item=>{
if (item.wares.price == null || item.wares.price == ''){
uni.showToast({
title: '售价不能为空!',
icon: 'none'
})
forSign = false
return;
}
})
if (type == 'yes') {
this.repairList.map(item=>{
if (item.wares.price == null || item.wares.price == ''){
uni.showToast({
title: '售价不能为空!',
icon: 'none'
})
forSign = false
return;
}
})
}
if (!forSign) {
return;
}