diff --git a/src/views/qms/QcInspectionMain/index.vue b/src/views/qms/QcInspectionMain/index.vue
index 8e3bad0..b18f5b7 100644
--- a/src/views/qms/QcInspectionMain/index.vue
+++ b/src/views/qms/QcInspectionMain/index.vue
@@ -21,11 +21,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -103,11 +103,7 @@
-
-
-
-
-
+
@@ -322,8 +318,8 @@
-
-
+
+
({
title: ''
});
-//0首检 1专检 2自检 3互检 4原材料检 5抽检 6成品检 7入库检
+
//路由:inspectionType = 1产品检 2原材料检 3入库检
const inspectionType = ref();
-const inspectionTypeVisible = ref(false);
const getInspectionType = async () => {
const router = useRouter();
inspectionType.value = router.currentRoute._rawValue.query && router.currentRoute._rawValue.query.inspectionType;
if (inspectionType.value == 2){
- queryParams.value.inspectionType = '4';
+ queryParams.value.qcInspectionType = '2';
} else if (inspectionType.value == 3){
- queryParams.value.inspectionType = '7';
+ queryParams.value.qcInspectionType = '3';
} else {
- queryParams.value.inspectionType = '6';
- inspectionTypeVisible.value = true;
+ queryParams.value.qcInspectionType = '1';
}
};
@@ -670,7 +664,7 @@ const columns = ref([
{ key: 10, label: `不合格数`, visible: true },
{ key: 11, label: `质检结果`, visible: true },
{ key: 12, label: `车间`, visible: true },
- { key: 13, label: `检验类别`, visible: true },
+ { key: 13, label: `检测类别`, visible: true },
{ key: 14, label: `单据状态`, visible: true },
{ key: 15, label: `检测人员`, visible: true },
{ key: 16, label: `班次`, visible: true },
@@ -754,7 +748,7 @@ const data = reactive>({
unqualifiedQty: undefined,
result: undefined,
workshop: undefined,
- inspectionType: undefined,
+ qcInspectionType: undefined,
status: undefined,
inspector: undefined,
shift: undefined,