From 2129f5b77f552a55f448fbc076ffa2a4c31ef537 Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期四, 20 十一月 2025 16:54:52 +0800
Subject: [PATCH] 生产入库校验单

---
 components/ZLGL/InspectValueTemplate.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/components/ZLGL/InspectValueTemplate.vue b/components/ZLGL/InspectValueTemplate.vue
index 6be895e..9c073c8 100644
--- a/components/ZLGL/InspectValueTemplate.vue
+++ b/components/ZLGL/InspectValueTemplate.vue
@@ -45,7 +45,7 @@
                         {{ checkData.HStatus?"鍚堟牸":"涓嶅悎鏍�" }}
                     </view>
                     <view>
-                        <switch style="width: 2em; transform:scale(0.7);" :checked="checkData.HStatus"
+                        <switch style="width: 2em; transform:scale(0.7);" :checked="!!checkData.HStatus"
                             @change="HStatusChange" />
                     </view>
                 </view>
@@ -399,6 +399,7 @@
 
             },
             async set_SaveValue() {
+				await this.$nextTick(); 
                 console.log("InSpect Values: ", this.InSpectValues)
                 try {
                     let res = await CommonUtils.doRequest2Sync({
@@ -409,7 +410,7 @@
                         method: "POST"
                     })
 
-                    if (res) {
+                    if (!res) {
                         return
                     }
                     let {

--
Gitblit v1.9.1