From d2e867966539004b6b5a73ae3566a659ac6f8b6d Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 30 十月 2025 11:55:34 +0800
Subject: [PATCH] 检验任务数据分类查询问题修复
---
src/views/business/inspectionTask/inspection.vue | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
diff --git a/src/views/business/inspectionTask/inspection.vue b/src/views/business/inspectionTask/inspection.vue
index 7f8b10d..780fbc4 100644
--- a/src/views/business/inspectionTask/inspection.vue
+++ b/src/views/business/inspectionTask/inspection.vue
@@ -20,7 +20,7 @@
<el-button v-if="insOrder.ifsOrderType && insOrder.ifsOrderType==='02wg'" size="small" type="primary" @click="showMaterialPropsDialog">IFS鐗╂枡灞炴�ф洿鏂�</el-button>
<el-button size="small" type="primary" @click="refreshView">鍒锋柊</el-button>
<el-button v-if="typeSource == 1" size="small" type="primary" @click="openPurchase">杩涜揣楠岃瘉</el-button>
- <el-button v-if="state == 1 && typeSource == 1" size="small" type="primary"
+ <el-button v-if="state == 1 && [0,1].includes(typeSource)" size="small" type="primary"
@click="openUnPassDialog('add')">涓嶅悎鏍煎鐞�</el-button>
<el-button size="small" type="primary" @click="sampleVisible = true; uploadSample();">鏍峰搧鍒囨崲</el-button>
<!-- <el-button v-if="state == 1" size="small" type="primary" @click="taskVisible = true">浠诲姟鍒囨崲</el-button>-->
@@ -986,7 +986,6 @@
}
});
}
- console.log("澶勭悊鍚庣殑妯℃澘-",this.tableList)
},
// 鐗规畩妫�楠岄」--鐩戝惉璁惧淇℃伅鏀瑰彉
equipForm: {
@@ -1085,9 +1084,6 @@
},
disconnect() {
return disconnect
- },
- sss() {
- console.log(this.$store.state.weightList) //
},
// 鏂囦欢绠$悊--寮�濮�
getList() {
@@ -1389,7 +1385,6 @@
return newObj;
},
handleDataAcquisition(data, noDialog) {
- console.log("dadad--",data)
// 鏄惁鍙互缂栬緫鏁伴噰鏁版嵁
if (this.dataAcquisitionEidtAble) {
this.getDataType = 1;
@@ -1413,9 +1408,7 @@
};
}
// 寰幆鏁伴噰鏁版嵁
- console.log(data[i],i)
for (let j in data[i]) {
- console.log("jjjjj--",j)
// 鎷兼帴瀛楃涓� 妫�楠岄」鍒嗙被+妫�楠岄」+妫�楠屽瓙椤�
let str0 = "";
if (i.includes("@")) {
@@ -1542,7 +1535,6 @@
}
let num = 0;
list[index].forEach((n) => {
- // console.log(n.v.ps.value);
if (
n.v.ps &&
n.v.ps.value &&
@@ -1619,7 +1611,6 @@
this.getDataIndexLoading = false;
this.dataGetDia = false;
this.getDataTypeId = "";
- console.log("dadada---",this.dataAcquisitionInfo)
this.worker0.postMessage(
JSON.stringify({
dataAcquisitionInfo: this.dataAcquisitionInfo,
@@ -1633,7 +1624,6 @@
// 鐩戝惉 Worker 杩斿洖鐨勭粨鏋�
this.worker0.onmessage = (event) => {
let result = JSON.parse(event.data);
- console.log("Worker 杩斿洖鐨勭粨鏋�:", result);
if (result.method == "changeInput") {
// 閲囬泦鍚庣殑鏁版嵁锛岄渶瑕佽繘琛岃绠楃殑绾跨▼杩涜璁$畻
let { list, n } = result.value;
@@ -2162,7 +2152,6 @@
let aa = inspectionItemClass +
inspectionItem +
inspectionItemSubclass;
- console.log(aa,str,aa===str)
if (
this.currentSample.insProduct[i].templateId ===
a.templateId &&
@@ -2864,7 +2853,6 @@
orderId: this.orderId,
laboratory: this.sonLaboratory,
}).then((res) => {
- console.log(res)
if (res.code === 200) {
if (!res.data || res.data.errorMsg.length == 0) {
this.submitLoading = true;
--
Gitblit v1.9.3