单据打印修改

prod
郑明梁 2 years ago
parent 6a6388e23e
commit 5c60c71d46

@ -736,7 +736,7 @@ export default {
printOrder(row) {
let tQuery = {
action: row.action,
moduleId: 1,
status: row.status,
}
this.loading = true;
inspectionOrderPDFFromTemplateFile(tQuery).then((response) => {
@ -745,7 +745,7 @@ export default {
templateId: response.data,
orderIdFk: row.billNo,
action: row.action,
moduleId: 1,
status: row.status,
}
orderPDFFromTemplateFile(tQuery).then((response) => {
//pdfurl

@ -730,13 +730,14 @@ export default {
printOrder(row) {
let tQuery = {
action: row.action,
moduleId: 2,
status: row.status,
}
this.loading = true;
inspectionOrderPDFFromTemplateFile(tQuery).then((response) => {
if (response.code === 20000) {
tQuery = {
templateId: response.data,
status: row.status,
orderIdFk: row.billNo,
action: row.action,
moduleId: 2,

Loading…
Cancel
Save