瀏覽代碼

快速报工刷新

wangxin 4 月之前
父節點
當前提交
fd5827dbe8

+ 1 - 1
components/dialog-lotReporting/dialog-lotReporting.vue

@@ -203,8 +203,8 @@
 		// 然后关闭dialog
 		// console.log(props)
 		addDayworkItem(() => {
-			baseDialog.value.close()
 			props.getList()
+			baseDialog.value.close()
 		})
 	}
 	//打开电子图纸

+ 0 - 1
pages/batchReporting/index.vue

@@ -264,7 +264,6 @@
 			}
 		})
 		console.log(wasteRecyclingList.value.length)
-
 	})
 
 	// 页面下拉刷新操作

+ 0 - 4
pages/dashboard/index.vue

@@ -296,10 +296,6 @@
 
 	//根据权限判断是否全部展示分选报工和普通报工
 	function dayworkall(tape) {
-		console.log("tape", tape);
-
-		console.log("tape", tape);
-		console.log("store.userInfo.permissions", store.userInfo.permissions);
 		//判断是否有权限,如果没有权限则判断按钮类型
 		if ((store.userInfo.permissions.some(item => item === 'business:dawworkAll:list') || store.userInfo
 				.permissions.some(item => item === "*:*:*")) && !showQuick.value) {

+ 3 - 0
pages/sortBatchReporting/index.vue

@@ -232,6 +232,9 @@
 			requisitionDepartmentId: store.curDeptDetails.deptId
 		}).then(res => {
 			wasteRecyclingList.value = res.rows
+			console.log("requisitionDepartmentId", store.planDetails.requisitionDepartmentId);
+			console.log("store.curDeptDetails", store.curDeptDetails.deptId);
+			console.log("wasteRecyclingList", wasteRecyclingList.value);
 			console.log(wasteRecyclingList.value.length)
 			if (store.planDetails.requisitionDepartmentId == store.curDeptDetails.deptId ||
 				wasteRecyclingList.value.length > 0) {