diff --git a/src/views/mes/qc/indicator/IndicatorForm.vue b/src/views/mes/qc/indicator/IndicatorForm.vue
index db4d2ff7d..bea898b22 100644
--- a/src/views/mes/qc/indicator/IndicatorForm.vue
+++ b/src/views/mes/qc/indicator/IndicatorForm.vue
@@ -9,14 +9,14 @@
v-loading="formLoading"
>
-
+
生成
-
+
@@ -29,7 +29,7 @@
-
+
-
+ placeholder="请选择字典类型"
+ filterable
+ class="!w-1/1"
+ >
+
+
-
+
@@ -82,17 +96,19 @@
diff --git a/src/views/mes/qc/indicator/index.vue b/src/views/mes/qc/indicator/index.vue
index 73e43d2a1..da6184264 100644
--- a/src/views/mes/qc/indicator/index.vue
+++ b/src/views/mes/qc/indicator/index.vue
@@ -154,6 +154,7 @@ const { t } = useI18n() // 国际化
const loading = ref(true) // 列表的加载中
const list = ref([]) // 列表的数据
const total = ref(0) // 列表的总页数
+const exportLoading = ref(false) // 导出的加载中
const queryParams = reactive({
pageNo: 1,
pageSize: 10,
@@ -163,7 +164,7 @@ const queryParams = reactive({
resultType: undefined
})
const queryFormRef = ref() // 搜索的表单
-const exportLoading = ref(false) // 导出的加载中
+const formRef = ref() // 表单弹窗
/** 查询列表 */
const getList = async () => {
@@ -190,7 +191,6 @@ const resetQuery = () => {
}
/** 添加/修改操作 */
-const formRef = ref()
const openForm = (type: string, id?: number) => {
formRef.value.open(type, id)
}
diff --git a/src/views/mes/utils/constants.ts b/src/views/mes/utils/constants.ts
index 2df65f0ed..b59312967 100644
--- a/src/views/mes/utils/constants.ts
+++ b/src/views/mes/utils/constants.ts
@@ -467,6 +467,7 @@ export const MesAutoCodeRuleCode = {
PRO_FEEDBACK_CODE: 'PRO_FEEDBACK_CODE', // 生产报工单编码
PRO_WORK_ORDER_CODE: 'PRO_WORK_ORDER_CODE', // 生产工单编码
QC_DEFECT_CODE: 'QC_DEFECT_CODE', // 缺陷类型编码
+ QC_INDICATOR_CODE: 'QC_INDICATOR_CODE', // 检测项编码
PRO_CARD_CODE: 'PRO_CARD_CODE' // 流转卡编码
} as const