From e9ecd350234f21349eaea8901f64ff239f76c65c Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期三, 04 三月 2026 11:25:43 +0800
Subject: [PATCH] 出厂检验和过程检验模块开发
---
src/pages/qualityManagement/materialInspection/detail.vue | 105 ----------------------------------------------------
1 files changed, 0 insertions(+), 105 deletions(-)
diff --git a/src/pages/qualityManagement/materialInspection/detail.vue b/src/pages/qualityManagement/materialInspection/detail.vue
index 7bd3443..4064577 100644
--- a/src/pages/qualityManagement/materialInspection/detail.vue
+++ b/src/pages/qualityManagement/materialInspection/detail.vue
@@ -235,31 +235,6 @@
) {
// 濡傛灉鎺ュ彛娌℃湁杩斿洖鏁版嵁锛屼娇鐢ㄦ湰鍦板瓨鍌ㄤ腑鐨勬暟鎹�
inspectionItems.value = detailDataFromStorage.qualityInspectParams;
- } else {
- // 妯℃嫙妫�楠岄」鐩�
- inspectionItems.value = [
- {
- parameterItem: "鍘氬害",
- unit: "mm",
- standardValue: "2.0 卤 0.1",
- controlValue: "2.0 卤 0.05",
- testValue: "2.05",
- },
- {
- parameterItem: "纭害",
- unit: "HB",
- standardValue: "鈮� 200",
- controlValue: "鈮� 210",
- testValue: "220",
- },
- {
- parameterItem: "琛ㄩ潰璐ㄩ噺",
- unit: "",
- standardValue: "鏃犲垝鐥曘�佹棤閿堣殌",
- controlValue: "鏃犲垝鐥曘�佹棤閿堣殌",
- testValue: "鍚堟牸",
- },
- ];
}
})
.catch(error => {
@@ -272,90 +247,10 @@
inspectionItems.value = detailDataFromStorage.qualityInspectParams;
}
});
- } else {
- // 妯℃嫙鏁版嵁
- detailData.value = {
- id: id,
- checkTime: "2026-03-03",
- purchaseContractNo: "PO20260303001",
- supplier: "涓婃捣閲戝睘鏉愭枡鏈夐檺鍏徃",
- checkName: "寮犱笁",
- productName: "涓嶉攬閽㈡澘鏉�",
- model: "304",
- unit: "kg",
- quantity: 1000,
- checkCompany: "绗笁鏂规娴嬫満鏋�",
- checkResult: "鍚堟牸",
- inspectState: true,
- };
-
- // 妯℃嫙妫�楠岄」鐩�
- inspectionItems.value = [
- {
- parameterItem: "鍘氬害",
- unit: "mm",
- standardValue: "2.0 卤 0.1",
- controlValue: "2.0 卤 0.05",
- testValue: "2.05",
- },
- {
- parameterItem: "纭害",
- unit: "HB",
- standardValue: "鈮� 200",
- controlValue: "鈮� 210",
- testValue: "220",
- },
- {
- parameterItem: "琛ㄩ潰璐ㄩ噺",
- unit: "",
- standardValue: "鏃犲垝鐥曘�佹棤閿堣殌",
- controlValue: "鏃犲垝鐥曘�佹棤閿堣殌",
- testValue: "鍚堟牸",
- },
- ];
}
} catch (error) {
console.error("鍔犺浇璇︽儏鏁版嵁澶辫触:", error);
showToast("鍔犺浇璇︽儏鏁版嵁澶辫触锛岃閲嶈瘯");
- // 鍔犺浇澶辫触鏃朵娇鐢ㄦā鎷熸暟鎹�
- detailData.value = {
- id: id,
- checkTime: "2026-03-03",
- purchaseContractNo: "PO20260303001",
- supplier: "涓婃捣閲戝睘鏉愭枡鏈夐檺鍏徃",
- checkName: "寮犱笁",
- productName: "涓嶉攬閽㈡澘鏉�",
- model: "304",
- unit: "kg",
- quantity: 1000,
- checkCompany: "绗笁鏂规娴嬫満鏋�",
- checkResult: "鍚堟牸",
- inspectState: true,
- };
-
- inspectionItems.value = [
- {
- parameterItem: "鍘氬害",
- unit: "mm",
- standardValue: "2.0 卤 0.1",
- controlValue: "2.0 卤 0.05",
- testValue: "2.05",
- },
- {
- parameterItem: "纭害",
- unit: "HB",
- standardValue: "鈮� 200",
- controlValue: "鈮� 210",
- testValue: "220",
- },
- {
- parameterItem: "琛ㄩ潰璐ㄩ噺",
- unit: "",
- standardValue: "鏃犲垝鐥曘�佹棤閿堣殌",
- controlValue: "鏃犲垝鐥曘�佹棤閿堣殌",
- testValue: "鍚堟牸",
- },
- ];
}
};
--
Gitblit v1.9.3