|
@@ -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
|
|
|
}
|
|
@@ -705,6 +706,7 @@ function reset() {
|
|
|
};
|
|
|
isCurrentDept.value = false;
|
|
|
deptList.value = []
|
|
|
+ userList.value = []
|
|
|
findProcessList.value = []
|
|
|
processList.value = []
|
|
|
proxy.resetForm("noCurrent");
|