qinxianzhangyao
2024-07-26 494dd9608549c5ff1672306eeeff0ce45ab64582
src/views/system/Checkout/index.vue
@@ -120,9 +120,10 @@
          :show-overflow-tooltip="true"
        >
          <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>
            <dict-tag
              :options="dict.type.sys_user_sex"
              :value="scope.row.tjCustomerSex"
            />
          </template>
        </el-table-column>
        <el-table-column
@@ -251,7 +252,12 @@
    </el-dialog>
    <!-- 添加或修改体检记录对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="660px" :close-on-click-modal="false">
    <el-dialog
      :title="title"
      :visible.sync="open"
      width="660px"
      :close-on-click-modal="false"
    >
      <el-form
        :model="formIn"
        ref="queryForm"
@@ -288,7 +294,8 @@
            style="width: 116px"
            ref="inputName"
            v-model="formIn.tjCustomerSex"
          />
          >
          </el-input>
        </el-form-item>
        <el-form-item label="年龄" prop="tjCustomerAge">
          <el-input
@@ -405,7 +412,7 @@
  components: {
    ViewPdf,
  },
  dicts: ["dict_pay_type"],
  dicts: ["dict_pay_type","sys_user_sex"],
  name: "Order",
  data() {
    return {
@@ -819,7 +826,6 @@
            this.tcShow = false;
            return;
          } else {
            return;
          }
        }
@@ -883,7 +889,8 @@
    handleDelete() {
      this.title = "签离登记";
      this.numberList = [];
      this.List.forEach((item) => {
      let list = JSON.parse(JSON.stringify(this.List))
      list.forEach((item) => {
        this.formIn = item;
        if (this.formIn.tjCustomerSex === 0) {
          this.formIn.tjCustomerSex = "男";