一次性证书邮政表单验证

dev
许宏杰 2 years ago
parent c71713430d
commit b198991798

@ -378,15 +378,19 @@ export default {
/**纸制提交 */
submitForm() {
this.$refs["form"].validate((valid) => {
let data = {
courierCompanies: this.form.courierCompanies,
id: this.form.id,
trackingNumber: this.form.trackingNumber,
type: 2, // 1: 2:
status: 1,
recordsId: this.form.recordsId,
};
this.subIssue(data);
if (valid) {
let data = {
courierCompanies: this.form.courierCompanies,
id: this.form.id,
trackingNumber: this.form.trackingNumber,
type: 2, // 1: 2:
status: 1,
recordsId: this.form.recordsId,
};
this.subIssue(data);
} else {
return false;
}
});
},
//

Loading…
Cancel
Save