wangxia 2 years ago
commit 910b53909d

@ -386,6 +386,7 @@ export default {
{ {
min: 18, min: 18,
max: 18, max: 18,
pattern: /^[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]$/,
message: "请输入正确的身份证号", message: "请输入正确的身份证号",
trigger: "submit", trigger: "submit",
}, },
@ -710,6 +711,10 @@ export default {
this.form["customJobId"] = this.firminfo.id; this.form["customJobId"] = this.firminfo.id;
this.form["applyUserId"] = this.proxyinfo.id; this.form["applyUserId"] = this.proxyinfo.id;
this.form["agencyUserId"] = this.proxyinfo.id; this.form["agencyUserId"] = this.proxyinfo.id;
this.form["idCard"] = this.form["idCard"].replace(/\s+/g, "");
dataObj = qs.stringify({ dataObj = qs.stringify({
...this.form, ...this.form,
@ -719,6 +724,9 @@ export default {
}); });
data = await recordBillApiDaotian(dataObj); data = await recordBillApiDaotian(dataObj);
} else { } else {
this.form["idCard"] = this.form["idCard"].replace(/\s+/g, "");
dataObj = qs.stringify({ dataObj = qs.stringify({
...this.form, ...this.form,
storeJobId: this.firminfo.id, storeJobId: this.firminfo.id,

Loading…
Cancel
Save