|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
//发放
|
|
|
|
|