su
su1124
2023-12-29 d10c7c728234b5a9098b7bd5bb7a914a14e33c20
src/views/system/Checkout/index.vue
@@ -6,7 +6,7 @@
          @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="体检号" prop="tjNum">
        <el-input ref="inputName" v-model="queryParams.tjNum" placeholder="请输入体检号" @keyup.enter.native="handleQuery"
        <el-input ref="inputName" v-model="queryParams.tjNum" placeholder="请输入体检号" @keyup.enter.native="handleQuery"  @blur="handleQuery"
          style="width:170px" clearable />
      </el-form-item>
      <el-form-item label="登记时间" prop="createTimeList">
@@ -46,6 +46,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" />
@@ -595,8 +596,10 @@
        this.formIn = item
        if (this.formIn.tjCustomerSex === 0) {
          this.formIn.tjCustomerSex = "男"
        } else {
        } else if(this.formIn.tjCustomerSex === 1) {
          this.formIn.tjCustomerSex = "女"
        }else if(this.formIn.tjCustomerSex === 2){
          this.formIn.tjCustomerSex = "未知"
        }
        this.tjNumber = item.tjNumber;
      });