lkk
2024-12-30 2edd8e62d1876b8344952c0cac4507ecf4ea4c9a
src/views/system/tijian/index.vue
@@ -1150,7 +1150,7 @@
                    style="width: 100%"
                    height="270"
                  >
                    <el-table-column prop="s" label="项目" width="180">
                    <el-table-column prop="proName" label="项目" width="180">
                    </el-table-column>
                    <el-table-column prop="proType" label="性别" width="180">
                      <template
@@ -1767,7 +1767,7 @@
      CompanyList: [],
      form: {
        cusIdcard: "",
        tjType: "3",
        tjType: "",
        cusSex: 1,
        cusNational: "1",
        cusMarryStatus: "5",
@@ -1819,6 +1819,7 @@
    this.getCurrentDateTime();
    this.startTimer();
    this.getList1();
    // this.getData();
  },
  mounted() {},
@@ -1867,7 +1868,6 @@
    },
    idFn1(value) {
      if (value) {
        const originalCompId = this.form.dictCompId;
        this.form.compName = value;
        this.CompanyList.forEach((item) => {
@@ -1877,7 +1877,7 @@
        });
        if (this.form.dictCompId === originalCompId) {
          this.form.dictCompId = '';
          this.form.dictCompId = "";
        }
      }
    },
@@ -2342,8 +2342,13 @@
          if (this.form.cusSex === "未知") {
            this.form.cusSex = 2;
          }
          if (this.form.tjType === '') {
            this.form.tjType = this.dict.type.dict_team[0].value;
          }
          addCustomer(this.form).then((response) => {
            this.responseList = response.data;
            this.$modal.msgSuccess("新增成功");
            // let cusSex = this.form.cusSex;
            // //全部套餐
@@ -2385,7 +2390,7 @@
              this.discount = this.form.discount;
            }
            if (this.form.tjType === null) {
              this.form.tjType = "3";
              this.form.tjType = this.dict.type.dict_team[0].value;
            }
            if (this.form.cusMarryStatus === "null") {
              this.form.cusMarryStatus = "5";