From 3435a2b1b3e237ee53c98ae7c044d0e84cfa521c Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期四, 25 一月 2024 18:01:18 +0800
Subject: [PATCH] su

---
 src/views/system/invoice/index.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/views/system/invoice/index.vue b/src/views/system/invoice/index.vue
index 38aa7d2..ab0ae6c 100644
--- a/src/views/system/invoice/index.vue
+++ b/src/views/system/invoice/index.vue
@@ -10,7 +10,7 @@
         </el-col>
         <el-col :span="6">
           <el-form-item label="浣撴鍙�" prop="tjNum" style="display: flex;">
-            <el-input ref="inputName"  v-model="queryParams.tjNum" placeholder="璇疯緭鍏ヤ綋妫�鍙�" @keyup.enter.native="handleQuery" @blur="handleQuery"
+            <el-input ref="inputName"  v-model="queryParams.tjNum" placeholder="璇疯緭鍏ヤ綋妫�鍙�" @keyup.enter.native="handleQuery" @blur="hb"
               clearable />
           </el-form-item>
         </el-col>
@@ -77,6 +77,7 @@
           <template slot-scope="scope">
             <span v-if="scope.row.tjCustomerSex == '0'">鐢�</span>
             <span v-if="scope.row.tjCustomerSex == '1'">濂�</span>
+            <span v-if="scope.row.tjCustomerSex == '2'">鏈煡</span>
           </template>
         </el-table-column>
         <el-table-column label="骞撮緞" align="center" prop="tjCustomerAge" width="55px" :show-overflow-tooltip="true" />
@@ -423,6 +424,12 @@
       };
       this.resetForm("form");
     },
+    hb(){
+      console.log(this.queryParams.tjNum);
+       if (this.queryParams.tjNum != null) {
+        this.handleQuery();
+      }
+    },
     /** 鎼滅储鎸夐挳鎿嶄綔 */
     handleQuery() {
       this.queryParams.pageNum = 1;

--
Gitblit v1.8.0