111
lkk
2025-04-09 e4717b437f7b4ef27c9801508f252f811fc65b3e
src/views/system/tijianall/index.vue
@@ -181,8 +181,11 @@
                },
              ]"
            > 
              <el-input v-model="form.cusPhone" placeholder="请输入电话"   @input="form.cusPhone = $event.replace(/\s/g, '')"/>
              <el-input
                v-model="form.cusPhone"
                placeholder="请输入电话"
                @input="form.cusPhone = $event.replace(/\s/g, '')"
              />
            </el-form-item>
            <el-form-item label="婚姻" prop="cusMarryStatus">
@@ -228,7 +231,6 @@
                placeholder="请输入身份证号"
                @input="handleIdCardInput"
                style="width: 190px"
              />
              <!-- <i
                style="font-size: 17px; margin-left: 3px"
@@ -246,8 +248,11 @@
            label-width="106px"
          >
            <el-form-item label="邮箱" prop="cusEmail">
              <el-input v-model="form.cusEmail" placeholder="请输入邮箱"      @input="form.cusEmail = $event.replace(/\s/g, '')"/>
              <el-input
                v-model="form.cusEmail"
                placeholder="请输入邮箱"
                @input="form.cusEmail = $event.replace(/\s/g, '')"
              />
            </el-form-item>
            <el-form-item label="民族" prop="cusNational">
              <el-select
@@ -294,7 +299,11 @@
            label-width="106px"
          >
            <el-form-item label="卡号" prop="indexCard">
              <el-input v-model="form.indexCard" placeholder="请输入卡号"   @input="form.indexCard = $event.replace(/\s/g, '')"/>
              <el-input
                v-model="form.indexCard"
                placeholder="请输入卡号"
                @input="form.indexCard = $event.replace(/\s/g, '')"
              />
            </el-form-item>
            <el-form-item label="职业" prop="career">
              <el-select
@@ -1486,7 +1495,7 @@
        // 如果 dictCompId 没有变化,重置为空
        if (this.form.dictCompId === originalCompId) {
          this.form.dictCompId = '';
          this.form.dictCompId = "";
        }
      }
    },
@@ -1503,7 +1512,7 @@
      }
    },
    handleIdCardInput(value) {
  this.form.cusIdcard = value.replace(/\s/g, '');
      this.form.cusIdcard = value.replace(/\s/g, "");
  this.inputChange(); // 保留原有的身份证输入处理逻辑
},
    inputChange() {