From 92f550dfcee260da85a9bdbc81d0185e08c80e14 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期二, 24 三月 2026 10:22:16 +0800
Subject: [PATCH] Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev

---
 pages/ZLGL/shoujianjianyan/firstCheckBill.vue |   33 ++++++++++++++++++++++++++++++---
 1 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/pages/ZLGL/shoujianjianyan/firstCheckBill.vue b/pages/ZLGL/shoujianjianyan/firstCheckBill.vue
index 914d70f..1b08db8 100644
--- a/pages/ZLGL/shoujianjianyan/firstCheckBill.vue
+++ b/pages/ZLGL/shoujianjianyan/firstCheckBill.vue
@@ -113,7 +113,7 @@
                     <view class="form-item">
                         <view class="left">鍒ゆ柇缁撹</view>
                         <view class="right none-border">
-                            <radio-group @changer="checkResultChange">
+                            <radio-group @change.stop="checkResultChange">
                                 <label>
                                     <radio value="0" :checked="hform.HLastResult" /><text></text>
                                     鍚堟牸
@@ -1430,8 +1430,12 @@
                 }
                 return "";
             },
-            checkResultChange(event) {
-                console.log("event: ", event);
+            checkResultChange({detail: {value}}) {
+               if(value == 1) {
+                   this.hform.HLastResult = false
+               }else {
+                   this.hform.HLastResult = true
+               }
             },
             // 妫�楠岄」鐩柊澧炶
             addCheckItem(resource) {
@@ -1978,6 +1982,26 @@
                     });
                     return false;
                 }
+                
+                // 鍒ゆ柇 鏈�鍚庣粨鏋滀负涓嶅悎鏍肩殑鎯呭喌涓嬶紝妫�楠岄」鐩腑鏄惁鏈変笉鍚堟牸椤�
+                if(this.hform.HLastResult == 0 || this.hform.HLastResult == false){
+                    let count = 0
+                    for (let key in this.checkItems) {
+                        if (this.checkItems.hasOwnProperty(key)) {
+                            let element = this.checkItems[key];
+                            if(element.HResult == 0){
+                                count ++
+                            }
+                            
+                        }
+                    }
+                    if(count == 0) {
+                        CommonUtils.showTips({
+                            message: "鍒ゆ柇缁撹涓轰笉鍚堟牸锛屾楠岄」鐩腑涓嶅瓨鍦ㄤ笉鍚堟牸鍗曟嵁锛屾彁浜ゅけ璐ワ紒",
+                        });
+                        return false;
+                    }
+                }
 
                 for (let key in this.checkItems) {
                     if (!this.checkItems[key].HQCCheckItemID) {
@@ -2027,6 +2051,9 @@
                         this.checkItems[key].HUnitID = 0;
                     }
                 }
+                
+                
+                return false
 
                 return true;
             },

--
Gitblit v1.9.1