From 740a61ac30e319dc3354859f3168c611bd89a955 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 27 十二月 2024 07:44:01 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override
---
north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintProject.vue | 26 ++++++++++++++++++++++++--
1 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintProject.vue b/north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintProject.vue
index dc747c2..ff19127 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintProject.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintProject.vue
@@ -225,6 +225,14 @@
slots: {filter: 'num1_filter'},
filterMethod: filterChanged
},
+ {
+ field: 'labelPrintNum',
+ title: t('鏍囩鎵撳嵃娆℃暟')
+ },
+ {
+ field: 'processPrintNum',
+ title: t('娴佺▼鍗℃墦鍗版鏁�')
+ },
],//琛ㄥご鎸夐挳
toolbarConfig: {
@@ -313,6 +321,15 @@
id: 'child',
})
+const printCount = ()=>{
+ request.post(`/processCard/updateProjectProcessPrintCount/${printRow.value.project}`).then((res) => {
+ if(res.code==='200'){
+ ElMessage.info(t('order.printingNumber')+':'+res.data)
+ getWorkOrder()
+ }
+ })
+}
+
</script>
<template>
@@ -402,7 +419,9 @@
destroy-on-close
style="width: 80%;height:75%;overflow: auto ">
<template #header="{ close, titleId, titleClass }">
- <el-button v-print="printContentLabel" :icon="Printer" circle/>
+ <el-button
+ v-print="printContentLabel"
+ :icon="Printer" circle/>
</template>
<print-custom-label-x-j-two id="childLabel"
:faceOrientation="labelRow.faceOrientation"
@@ -419,7 +438,10 @@
destroy-on-close
style="width: 75%;height:75% ">
<template #header="{ close, titleId, titleClass }">
- <el-button v-print="printContent" :icon="Printer" circle />
+ <el-button
+ v-print="printContent"
+ @click="printCount"
+ :icon="Printer" circle />
</template>
<print-process
id="child"
--
Gitblit v1.8.0