north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/ProcessCard.vue
@@ -1,5 +1,5 @@ <script setup> import {onMounted, reactive, ref} from "vue"; import {onMounted, reactive, ref, watch} from "vue"; import {useI18n} from "vue-i18n"; import {Search} from "@element-plus/icons-vue"; import request from "@/utils/request"; @@ -76,6 +76,18 @@ }) const xGrid = ref() // 添加监听器 - 监听膜系选择变化 watch(optionVal, (newVal, oldVal) => { if (oldVal !== undefined && newVal !== oldVal) { // 当膜系改变时,自动刷新数据 if (newVal) { selectFlowCardList(); } } }); const gridOptions = reactive({ height: '100%',