diff --git a/src/views/inm/mainso.vue b/src/views/inm/mainso.vue index 6aefc73a..ddafbb76 100644 --- a/src/views/inm/mainso.vue +++ b/src/views/inm/mainso.vue @@ -192,6 +192,7 @@ export default { 'QRCODE 30,400,H,5,A,0,"' +code +'"', "WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name, "WINTEXT 240,550,28,90,0,0,Simhei," + res.batch, + "WINTEXT 280,550,28,90,0,0,Simhei," + row.count, "PRINT 1", ]; let obj = {}; diff --git a/src/views/inm/mioitem.vue b/src/views/inm/mioitem.vue index b562e1a5..cb0f5906 100644 --- a/src/views/inm/mioitem.vue +++ b/src/views/inm/mioitem.vue @@ -490,6 +490,7 @@ export default { 'QRCODE 30,400,H,5,A,0,"' +code +'"', "WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name, "WINTEXT 240,550,28,90,0,0,Simhei," + res.batch, + "WINTEXT 280,550,28,90,0,0,Simhei," + row.count, "PRINT 1", ]; let obj = {}; diff --git a/src/views/wpm_bx/inm.vue b/src/views/wpm_bx/inm.vue index 025a6d86..b312bbf7 100644 --- a/src/views/wpm_bx/inm.vue +++ b/src/views/wpm_bx/inm.vue @@ -492,6 +492,7 @@ export default { 'QRCODE 30,400,H,5,A,0,"' +code +'"', "WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name, "WINTEXT 240,550,28,90,0,0,Simhei," + res.batch, + "WINTEXT 280,550,28,90,0,0,Simhei," + row.count, "PRINT 1", ]; let obj = {}; @@ -510,7 +511,6 @@ export default { "CLS", "REFERENCE 0,0", 'QRCODE 30,400,H,5,A,0,"' +code +'"', - "WINTEXT 200,550,28,90,0,0,Simhei," + row.material_name, "WINTEXT 240,550,28,90,0,0,Simhei," + row.number, "PRINT 1", ]; diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index a3420f7b..16012a16 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -813,7 +813,7 @@ export default { //打印物料标签 printMaterial(row){ let that = this; - that.apiObj.req({tid:row.id}).then((res) => { + that.apiObjPrint.req({tid:row.id}).then((res) => { let code = res.code_label; let str = [ "SIZE 40 mm,70 mm", @@ -823,6 +823,7 @@ export default { 'QRCODE 30,400,H,5,A,0,"' +code +'"', "WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name, "WINTEXT 240,550,28,90,0,0,Simhei," + res.batch, + "WINTEXT 280,550,28,90,0,0,Simhei," + row.count, "PRINT 1", ]; let obj = {}; diff --git a/src/views/wpm_bx/mlogbw_check.vue b/src/views/wpm_bx/mlogbw_check.vue index 58fd1fdb..d8a4ab7a 100644 --- a/src/views/wpm_bx/mlogbw_check.vue +++ b/src/views/wpm_bx/mlogbw_check.vue @@ -776,7 +776,7 @@ export default { //打印物料标签 printMaterial(row){ let that = this; - that.apiObj.req({tid:row.id}).then((res) => { + that.apiObjPrint.req({tid:row.id}).then((res) => { let code = res.code_label; let str = [ "SIZE 40 mm,70 mm", @@ -786,6 +786,7 @@ export default { 'QRCODE 30,400,H,5,A,0,"' +code +'"', "WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name, "WINTEXT 240,550,28,90,0,0,Simhei," + res.batch, + "WINTEXT 280,550,28,90,0,0,Simhei," + row.count, "PRINT 1", ]; let obj = {};