From 0efe80f285b799fbf376c6567889dfa9061b72ec Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期日, 04 二月 2024 16:26:35 +0800
Subject: [PATCH] su

---
 src/views/hosp/order/index.vue |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/views/hosp/order/index.vue b/src/views/hosp/order/index.vue
index 6746f97..9c20890 100644
--- a/src/views/hosp/order/index.vue
+++ b/src/views/hosp/order/index.vue
@@ -7,7 +7,7 @@
       </el-form-item>
       <el-form-item label="浣撴鍙�" prop="tjNum">
         <el-input ref="inputName" v-model="queryParams.tjNum" placeholder="璇疯緭鍏ヤ綋妫�鍙�" style="width: 170px" clearable
-          @keyup.enter.native="handleQuery" />
+          @keyup.enter.native="handleQuery"  @blur="hb" />
       </el-form-item>
       <el-form-item label="鐧昏鏃堕棿" prop="createTimeList">
         <el-date-picker v-model="createTimeList" type="datetimerange" align="right" :picker-options="pickerOptions"
@@ -69,6 +69,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" />
@@ -198,7 +199,7 @@
     </el-dialog>
 
     <!-- 娣诲姞琛ュ綍椤圭洰 -->
-    <el-dialog :title="title" :visible.sync="Projectopen" width="980px" style="height: 860px" append-to-body>
+    <el-dialog :title="title" :visible.sync="Projectopen" width="1200px" style="height: 860px" append-to-body>
       <el-row type="flex" class="row-bg" justify="space-around">
         <el-col :span="6">
           <div style="text-align: center; margin-bottom: 10px;margin-top:10px">椤圭洰鍒楄〃</div>
@@ -736,6 +737,11 @@
       };
       this.resetForm("form");
     },
+    hb(){
+       if (this.queryParams.tjNum != undefined) {
+        this.handleQuery();
+      }
+    },
     /** 鎼滅储鎸夐挳鎿嶄綔 */
     handleQuery() {
       this.queryParams.pageNum = 1;
@@ -870,7 +876,10 @@
         this.list1 = false;
         this.DataList.forEach((item) => {
           this.TotalPrice1 = item.proPrice + this.TotalPrice1;
-          this.proIds.push(item.proId);
+          item.tjProjectList.forEach(item1 => {
+            this.proIds.push(item1.proId);
+          })
+         
         });
       }
     },

--
Gitblit v1.8.0