lkk
2025-07-07 ba772ed9b7e6009f57bd6b4f95f43ff61b12dd9b
src/views/system/tijian/index.vue
@@ -183,7 +183,7 @@
                trigger: 'blur',
              },
            ]">
              <el-input v-model="form.cusPhone" placeholder="请输入联系电话" :disabled="isDisabled"
              <el-input v-model="form.cusPhone" placeholder="请输入联系电话"  maxlength="11" :disabled="isDisabled"
                @input="form.cusPhone = $event.replace(/\s/g, '')" />
            </el-form-item>
@@ -1819,9 +1819,11 @@
      let cusIdcard = this.form.cusIdcard;
      if (cusIdcard) {
        getCusIdcard(cusIdcard).then((response) => {
          console.log(response,1111111111)
          _this.top = false;
          if (response.data) {
            this.form = response.data;
            this.form.firmDeptName = response.data.department;
            if (this.form.discount === null) {
              this.discount = 10;
            } else {
@@ -2572,6 +2574,8 @@
    },
    handleClick(tab, event) {
      if (this.activeNames == "second") {
        console.log(this.form);
        this.DataList = [];
        this.checkedkey = [];
        this.TreedataList = [];
@@ -2590,15 +2594,11 @@
        });
      }
    },
    // gaibian(val){
    //   let pname = val;
    //   getProParentIdDxList(pname).then(response=>{
    //     this.Treedata = response.data.list;
    //   })
    // },
    getDataList() {
      this.loading = true;
      getProParentIdDxList().then((response) => {
      console.log(this.form);
      getProParentIdDxList(this.form.cusSex).then((response) => {
        this.Treedata = response.data.list;
        // 回显 TreedataList 到 DataList