From 105242d9df9bda200da395b04972b65cb22a4496 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期一, 30 十二月 2024 18:08:15 +0800
Subject: [PATCH] 拼音码页面

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

diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue
index 63ee372..aaf0a34 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
@@ -1510,8 +1510,6 @@
   getByTjNum,
 } from "@/api/hosp/customer";
 import { getPrintSetUp } from "@/api/system/examcharge";
-import axios from "axios";
-import { getIp } from "@/utils/auth";
 import {
   deptTreeSelect,
   projectGetList,
@@ -1767,7 +1765,7 @@
       CompanyList: [],
       form: {
         cusIdcard: "",
-        tjType: "3",
+        tjType: "",
         cusSex: 1,
         cusNational: "1",
         cusMarryStatus: "5",
@@ -1819,6 +1817,7 @@
     this.getCurrentDateTime();
     this.startTimer();
     this.getList1();
+    
     // this.getData();
   },
   mounted() {},
@@ -1867,7 +1866,6 @@
     },
     idFn1(value) {
       if (value) {
-  
         const originalCompId = this.form.dictCompId;
         this.form.compName = value;
         this.CompanyList.forEach((item) => {
@@ -1877,7 +1875,7 @@
         });
 
         if (this.form.dictCompId === originalCompId) {
-          this.form.dictCompId = '';
+          this.form.dictCompId = "";
         }
       }
     },
@@ -2342,8 +2340,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 +2388,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