ywj_dev
wangwei 2 years ago
parent 459092c845
commit d437c550e2

@ -288,19 +288,16 @@ export default {
},
printStockOrderDetailPDF(row) {
let tQuery = {
queryId: null,
orderId: null,
countList: [],
moduleId: 6,
id: 1
};
if (row == null) {
tQuery.orderId = this.formData.id;
} else {
// if (row == null) {
// tQuery.orderId = this.formData.id;
// } else {
if (row.reCount <= 0) {
return this.$message.error('数量错误');
}
tQuery.queryId = row.id;
}
// }
this.loading = true;
inspectionStockQRCodeTextPDFFromTemplateFile(tQuery).then((response) => {

@ -585,7 +585,7 @@ export default {
this.getRegistrationList();
},
printSupCertPdf(row) {
let query = {moduleId: 8};
let query = {id: 1};
this.loading = true;
verifyTemplateFile(query).then((res) => {
if (res.code === 20000) {
@ -625,7 +625,7 @@ export default {
},
//
printSupCertManufacturerPdf(row) {
let query = {moduleId: 9};
let query = {id: 2};
this.loading = true;
verifyTemplateFile(query).then((res) => {
if (res.code === 20000) {
@ -666,7 +666,7 @@ export default {
//
printSupCertProductionPdf(row) {
let query = {moduleId: 10};
let query = {id: 3};
this.loading = true;
verifyTemplateFile(query).then((res) => {
if (res.code === 20000) {

@ -695,7 +695,7 @@ export default {
this.$message.error("请先选择打印的证书!");
return
}
let query = {moduleId: 8};
let query = {id: 1};
this.loading = true;
verifyTemplateFile(query).then((res) => {
if (res.code === 20000) {

@ -840,7 +840,7 @@ export default {
this.$message.error("请先选择打印的证书!");
return
}
let query = {moduleId: 9};
let query = {id: 2};
this.loading = true;
verifyTemplateFile(query).then((res) => {
if (res.code === 20000) {

@ -814,7 +814,7 @@ export default {
this.$message.error("请先选择打印的证书!");
return
}
let query = {moduleId: 10};
let query = {id: 3};
this.loading = true;
verifyTemplateFile(query).then((res) => {
if (res.code === 20000) {

Loading…
Cancel
Save