qx
6 天以前 e2f7148c8d5103e1b76e8b31d65f1c3de72c3afc
src/views/system/tijian/index.vue
@@ -1374,6 +1374,8 @@
      });
    },
    inputChange() {
      const reg =
        /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
      if (reg.test(this.form.cusIdcard)) {
@@ -1793,7 +1795,6 @@
          }).catch((error) => {
             _this.butopen = false;
            this.$modal.msgError("登记失败,请检查数据");
            console.error("Error in addCustomer:", error);
          });
        }
      });
@@ -1818,6 +1819,7 @@
          _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 {