一次性证书邮政表单验证

dev
许宏杰 2 years ago
parent c71713430d
commit b198991798

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

Loading…
Cancel
Save