From d10c7c728234b5a9098b7bd5bb7a914a14e33c20 Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期五, 29 十二月 2023 18:37:28 +0800 Subject: [PATCH] su --- src/views/system/bill/index.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/views/system/bill/index.vue b/src/views/system/bill/index.vue index e9ea86d..ad44a7e 100644 --- a/src/views/system/bill/index.vue +++ b/src/views/system/bill/index.vue @@ -10,7 +10,6 @@ > <el-form-item label="濮撳悕" prop="name"> <el-input - ref="inputName" v-model="queryParams.name" placeholder="璇疯緭鍏ュ鍚�" style="width: 100px" @@ -19,11 +18,13 @@ </el-form-item> <el-form-item label="浣撴鍙�" prop="tjNum"> <el-input + ref="inputName" style="width: 170px" v-model="queryParams.tjNum" placeholder="璇疯緭鍏ヤ綋妫�鍙�" clearable @keyup.enter.native="handleQuery" + @blur="handleQuery" /> </el-form-item> <el-form-item label="鐧昏鏃堕棿" prop="createTimeList"> @@ -169,6 +170,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 @@ -634,6 +636,11 @@ this.getList(); this.Company(); }, + mounted() { + this.$nextTick(() => { + this.$refs.inputName.focus(); + }); + }, methods: { // / 澶勭悊榛樿閫変腑褰撳墠鏃ユ湡 getNowTime() { -- Gitblit v1.8.0