Merge remote-tracking branch 'origin/master'

prod
anthonywj 2 years ago
commit 6b5986f1b4

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

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

@ -218,7 +218,7 @@ export default {
this.userTotal = res.data.total; this.userTotal = res.data.total;
}).catch((error) => { }).catch((error) => {
this.$message.error("用户数据加载失败") this.$message.error("数据正在处理,请勿重复提交")
}); });
}, },

Loading…
Cancel
Save