From 196f10bde36f0abb24d9ef4e73ca8b4b9c2612a7 Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期三, 25 三月 2026 16:03:32 +0800
Subject: [PATCH] 托数修改

---
 src/views/system/user/GyDriverEdit.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/system/user/GyDriverEdit.vue b/src/views/system/user/GyDriverEdit.vue
index 2079f56..341729c 100644
--- a/src/views/system/user/GyDriverEdit.vue
+++ b/src/views/system/user/GyDriverEdit.vue
@@ -99,7 +99,7 @@
                 v-model="formData.checkboxHStopflag"
                 :true-label="1"
                 :false-label="0"
-                :disabled="!canEditStopFlag"
+                disabled
                 @change="handleStopFlagChange"
               >
                 鏄惁绂佺敤
@@ -321,7 +321,7 @@
         HPhone: "",
         HDriverCardType: "A1",
         HEmpType: "鍥哄畾",
-        HStopflag: "0",
+        HStopflag: 0,
         checkboxHStopflag: 0,
         HRemark: "",
         HUSEORGID: "",
@@ -537,10 +537,10 @@
       
       if (data.绂佺敤鏍囪瘑) {
         this.formData.checkboxHStopflag = 1;
-        this.formData.HStopflag = "1";
+        this.formData.HStopflag = 1;
       } else {
         this.formData.checkboxHStopflag = 0;
-        this.formData.HStopflag = "0";
+        this.formData.HStopflag = 0;
       }
     },
     
@@ -581,7 +581,7 @@
         const sMainStr = JSON.stringify(saveData);
         const res = await axios.post(`${this.$baseUrl}/Gy_Driver/AddBill1`, {
           oMain: `${sMainStr};${sessionStorage.getItem("HUserName")};${
-            sessionStorage.getItem("OrganizationID") || 100038
+            sessionStorage.getItem("OrganizationID")
           }`,
         });
         
@@ -639,7 +639,7 @@
     
 
     handleStopFlagChange(value) {
-      this.formData.HStopflag = value ? "1" : "0";
+      this.formData.HStopflag = value ? 1 : 0;
     },
     
   

--
Gitblit v1.9.1