guoyujia hai 3 meses
pai
achega
266dc2f6cb
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/business/noCurrentReject/DialogRejectInfo.vue

+ 2 - 1
src/views/business/noCurrentReject/DialogRejectInfo.vue

@@ -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
   }