ezhizao_zx 3 meses atrás
pai
commit
2c9476a44a
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      pages/addNewBatch/index.vue

+ 4 - 1
pages/addNewBatch/index.vue

@@ -244,6 +244,9 @@
 					if (batchNoList.value[0].isWasteRecycling == 0) {
 						isWasteRecyclingFlag.value = false
 					}
+					if (batchNoList.value[0].planType == 'HY') {
+						isWasteRecyclingFlag.value = false
+					}
 					dayWork.value.lotId = batchNoList.value[0].id;
 					dayWork.value.lotCode = batchNoList.value[0].lotCode;
 					dayWork.value.technologicalProcessId = batchNoList.value[0].technologicalProcessId;
@@ -292,7 +295,7 @@
 	// 	}
 	// }
 	function getFurnaceInfo(data) {
-		if (data.isWasteRecycling == 0) {
+		if (data.isWasteRecycling == 0 && data.planType != 'HY') {
 			isWasteRecyclingFlag.value = true
 			let token = 'Bearer ' + getToken();
 			let header = {