Merge branch 'material-ui' of http://192.168.0.75:3000/bonus/bonus-ui into material-ui

This commit is contained in:
hongchao 2025-03-18 16:53:44 +08:00
commit 5f31bb9f09
1 changed files with 11 additions and 0 deletions

View File

@ -430,6 +430,17 @@ export default {
itemsTemp.push({'typeId': item.typeId,'parentId':item.parentId, 'num': item.num, 'newTypeId': item.newTypeId});
}
});
// 0
let errorInfo = '';
itemsTemp.some(item=>{
if(item.num === 0){
errorInfo = "发布数据中含有待发布数量为0的数据请仔细检查";
return true;
}
})
if(errorInfo){
return this.$modal.msgError(errorInfo);
}
console.log("xxxxxxxxxxxxxxxxxxxxxx", itemsTemp)
applySubmit({
leaseApplyDetailsList: itemsTemp,