From 43d86830f4696c3ba2250a961d26377e1ff6cc32 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期三, 17 十二月 2025 10:39:43 +0800
Subject: [PATCH] 1、 查询是否除膜优化

---
 UI-Project/src/views/User/userpageNo.vue |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/UI-Project/src/views/User/userpageNo.vue b/UI-Project/src/views/User/userpageNo.vue
index 1ef997c..31e51e3 100644
--- a/UI-Project/src/views/User/userpageNo.vue
+++ b/UI-Project/src/views/User/userpageNo.vue
@@ -130,6 +130,18 @@
   let configCode = window.localStorage.getItem('configCode')
   let id = window.localStorage.getItem('id')
   let page = window.localStorage.getItem('pagenumber')
+   if (!configValue.value) {
+    ElMessage.error(t('productStock.inconfigValue'))
+    return
+  }
+    if (isEnable.value === '' || isEnable.value === undefined || isEnable.value === null) {
+    ElMessage.error(t('searchOrder.choicestartstatus'));
+    return;
+  }
+  //   if (!isEnable.value) {
+  //   ElMessage.error(t('searchOrder.choicestartstatus'))
+  //   return
+  // }
   try {
     const response = await request.post('/loadGlass/sys/sysConfig/updateConfig',{
       id: id,

--
Gitblit v1.8.0