|
@@ -540,7 +540,8 @@ const add = (row) => {
|
|
|
//审核
|
|
|
function handleReview(value){
|
|
|
//审核责任人不能为空
|
|
|
- if(detailInfo.value.userIds.length == 0){
|
|
|
+ console.log(detailInfo.value)
|
|
|
+ if((detailInfo.value.userIds &&detailInfo.value.userIds.length == 0) || (detailInfo.value.supplierIds &&detailInfo.value.supplierIds.length == 0)){
|
|
|
proxy.$modal.msgError("责任人不能为空");
|
|
|
return
|
|
|
}
|