From 2edd8e62d1876b8344952c0cac4507ecf4ea4c9a Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期一, 30 十二月 2024 15:59:46 +0800
Subject: [PATCH] tjtype

---
 src/views/system/tijian/index.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue
index 63ee372..7c27cb3 100644
--- a/src/views/system/tijian/index.vue
+++ b/src/views/system/tijian/index.vue
@@ -1150,7 +1150,7 @@
                     style="width: 100%"
                     height="270"
                   >
-                    <el-table-column prop="s" label="椤圭洰" width="180">
+                    <el-table-column prop="proName" label="椤圭洰" width="180">
                     </el-table-column>
                     <el-table-column prop="proType" label="鎬у埆" width="180">
                       <template
@@ -1767,7 +1767,7 @@
       CompanyList: [],
       form: {
         cusIdcard: "",
-        tjType: "3",
+        tjType: "",
         cusSex: 1,
         cusNational: "1",
         cusMarryStatus: "5",
@@ -1819,6 +1819,7 @@
     this.getCurrentDateTime();
     this.startTimer();
     this.getList1();
+    
     // this.getData();
   },
   mounted() {},
@@ -1867,7 +1868,6 @@
     },
     idFn1(value) {
       if (value) {
-  
         const originalCompId = this.form.dictCompId;
         this.form.compName = value;
         this.CompanyList.forEach((item) => {
@@ -1877,7 +1877,7 @@
         });
 
         if (this.form.dictCompId === originalCompId) {
-          this.form.dictCompId = '';
+          this.form.dictCompId = "";
         }
       }
     },
@@ -2342,8 +2342,13 @@
           if (this.form.cusSex === "鏈煡") {
             this.form.cusSex = 2;
           }
+          if (this.form.tjType === '') {
+            this.form.tjType = this.dict.type.dict_team[0].value;
+          }
+          
           addCustomer(this.form).then((response) => {
             this.responseList = response.data;
+            
             this.$modal.msgSuccess("鏂板鎴愬姛");
             // let cusSex = this.form.cusSex;
             // //鍏ㄩ儴濂楅
@@ -2385,7 +2390,7 @@
               this.discount = this.form.discount;
             }
             if (this.form.tjType === null) {
-              this.form.tjType = "3";
+              this.form.tjType = this.dict.type.dict_team[0].value;
             }
             if (this.form.cusMarryStatus === "null") {
               this.form.cusMarryStatus = "5";

--
Gitblit v1.8.0