src/views/qualityManagement/processInspection/index.vue
@@ -2,11 +2,11 @@
  <div class="app-container">
    <div class="search_form">
      <div>
        <span class="search_title">工序:</span>
        <span class="search_title">部件类型:</span>
        <el-input
            v-model="searchForm.process"
            style="width: 240px"
            placeholder="请输入工序搜索"
            placeholder="请输入部件类型搜索"
            @change="handleQuery"
            clearable
            :prefix-icon="Search"
@@ -101,9 +101,14 @@
    width: 120
  },
  {
    label: "工序",
    label: "部件类型",
    prop: "process",
    width: 230
    width: 230,
    formatData: (params) => {
      const dictItems = product_process_type?.value || []
      const hit = dictItems.find(i => String(i.value) === String(params))
      return hit?.label || params
    }
  },
  {
    label: "检验员",
@@ -245,6 +250,8 @@
const inspectionFormDia = ref()
const { proxy } = getCurrentInstance()
const userStore = useUserStore()
// 部件类型字典(value -> label)
const { product_process_type } = proxy.useDict('product_process_type')
const changeDaterange = (value) => {
  searchForm.value.entryDateStart = undefined;
  searchForm.value.entryDateEnd = undefined;