This commit is contained in:
PQZ 2024-11-13 09:49:17 +08:00
parent bd5be7e4e9
commit 21d9c7cc04

View File

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