From 389d880e5b4316f1b501726295e55dfe4de20432 Mon Sep 17 00:00:00 2001 From: 18110972313 <780768673@qq.com> Date: Mon, 26 May 2025 10:15:04 +0800 Subject: [PATCH 1/2] =?UTF-8?q?add=20=E6=96=B0=E5=A2=9E=20=E6=96=B0?= =?UTF-8?q?=E6=96=99=E5=8F=B7=E6=A0=87=E7=AD=BE=E6=89=93=E5=8D=B0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/label/index.ts | 12 + .../label/newMaterialSpecLabelPrint/index.vue | 875 ++++++++++++++++++ src/views/stockIn/deliveryStockIn/index.vue | 8 +- 3 files changed, 894 insertions(+), 1 deletion(-) create mode 100644 src/views/label/newMaterialSpecLabelPrint/index.vue diff --git a/src/api/label/index.ts b/src/api/label/index.ts index 5aa9ace..d44b8f3 100644 --- a/src/api/label/index.ts +++ b/src/api/label/index.ts @@ -142,4 +142,16 @@ export function getUserInfo() { url: '/api/CostCenter/getUserInfo', method: 'get', }) +} + +/** + * 新料号标签打印 + * @param data + */ +export function newMaterialSpecLabelPrint(data: any) { + return request({ + url: '/api/api/label/newMaterialSpecLabelPrint', + method: 'post', + data: data, + }); } \ No newline at end of file diff --git a/src/views/label/newMaterialSpecLabelPrint/index.vue b/src/views/label/newMaterialSpecLabelPrint/index.vue new file mode 100644 index 0000000..2ff52ec --- /dev/null +++ b/src/views/label/newMaterialSpecLabelPrint/index.vue @@ -0,0 +1,875 @@ + + + + + + diff --git a/src/views/stockIn/deliveryStockIn/index.vue b/src/views/stockIn/deliveryStockIn/index.vue index db00ba2..9d85d45 100644 --- a/src/views/stockIn/deliveryStockIn/index.vue +++ b/src/views/stockIn/deliveryStockIn/index.vue @@ -759,6 +759,7 @@ async function sendToERP() { // materialreceiveAct: state.MATERIALPACKINGLIST[0], siteName: 'SDK', receiveRequestName: state.queryParams.params.RECEIVEREQUESTNAME, + materialDeliveryReceive: state.MATERIALRECEIVEACT, user: localStorage.get('userId'), commitDate: state.commitDate, opcode: state.OpCode @@ -769,7 +770,12 @@ async function sendToERP() { ElMessageBox.alert('入库成功', '提醒框', { confirmButtonText: 'OK' }) - handleQuery() + state.InputState = true + state.MATERIALRECEIVEACT = [] + state.MATERIALPACKINGLIST = [] + state.queryParams.params.SITENAME = 'SDK' + state.queryParams.params.MATERIALSPECNAME = '' + state.InputState = false state.loadings = false state.button_state = false From 397568b2ea346246d740970c079a9e626aae1514 Mon Sep 17 00:00:00 2001 From: 18110972313 <780768673@qq.com> Date: Mon, 26 May 2025 13:03:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?update=20=E6=96=B0=E6=96=99=E5=8F=B7?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E6=89=93=E5=8D=B0=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?PET=E6=A8=A1=E6=9D=BF=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/label/newMaterialSpecLabelPrint/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/label/newMaterialSpecLabelPrint/index.vue b/src/views/label/newMaterialSpecLabelPrint/index.vue index 2ff52ec..85a5c2e 100644 --- a/src/views/label/newMaterialSpecLabelPrint/index.vue +++ b/src/views/label/newMaterialSpecLabelPrint/index.vue @@ -557,9 +557,10 @@ function getGetPrintLabelType() { state.queryParams.params.LOCATIONNAME = '' state.AllLocationList = [] state.PRINTLABELLIST = [ - {"LABEINAME":"PET","LABELCODE":"PET_A.btw","LABELURL":"C:\\inetpub\\wwwroot\\BarTender\\wwwroot\\Templates\\","SITENAME":"SDK"}, + {"LABEINAME":"PET","LABELCODE":"PET标签-电晕.btw","LABELURL":"C:\\inetpub\\wwwroot\\BarTender\\wwwroot\\Templates\\WMS\\WHRePrint","SITENAME":"SDK"}, {"LABEINAME":"SKD2","LABELCODE":"Sdk2.btw","LABELURL":"C:\\inetpub\\wwwroot\\BarTender\\wwwroot\\Templates\\","SITENAME":"SDK"}, {"LABEINAME":"胶水原料","LABELCODE":"胶水原材.btw","LABELURL":"C:\\inetpub\\wwwroot\\BarTender\\wwwroot\\Templates\\","SITENAME":"SDK"}, + ] }