guoyujia 1 year ago
parent
commit
3b4934c798
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/batchReporting/index.vue

+ 4 - 0
pages/batchReporting/index.vue

@@ -279,6 +279,7 @@
 
 	function handleClickProcessList(item) {
 		let curProcessAfterList = [];
+		console.log(item)
 		let nextIndex = 0;
 		for (let i = 0; i < item.processSequence.length; i++) {
 			if (item.nextProcess.id == item.processSequence[i].id) {
@@ -290,6 +291,9 @@
 				curProcessAfterList.push(item.processSequence[i]);
 			}
 		}
+		if(item.status==3) {
+			curProcessAfterList.splice(0,1)
+		}
 		console.log(curProcessAfterList)
 		curProcessAfte.value = curProcessAfterList;
 		showRight.value.open();