From 37bb2aac6fe2d856f06ff447d26163422c56024a Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期一, 10 十一月 2025 11:22:19 +0800
Subject: [PATCH] 提交 文件上传代码
---
north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue | 22 +++++++++++++++++++---
1 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue b/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
index 29e5774..f401849 100644
--- a/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
+++ b/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
@@ -76,7 +76,9 @@
let printNumberFc = props.printFc
data.value.printList = JSON.parse(props.printList)
let flowCardCount = ''
+const picture = ref([])
onMounted(() => {
+ //鍒ゆ柇鏄惁鏄伐绋嬫墦鍗�
if(props.printProject!=null){
request.post(`/processCard/getSelectPrintProject/${printProject}/${merges}/${props.flashback}/${props.landingSequence}`).then((res) => {
if (res.code == 200) {
@@ -87,6 +89,7 @@
}
})
}else{
+ //娴佺▼鍗�
request.post(`/processCard/getSelectPrinting/${merge}/${like}/${merges}/${props.flashback}/${compound}/${props.landingSequence}`, data.value).then((res) => {
if (res.code == 200) {
load(res.data.data)
@@ -94,6 +97,10 @@
ElMessage.warning(res.msg)
router.push("/login")
}
+ })
+ //璁㈠崟搴忓彿dwg鍥剧墖鏌ヨ
+ request.post("/orderFile/getOrderFilePicture", data.value.printList).then((res) => {
+ picture.value = res.data
})
}
@@ -292,7 +299,7 @@
鎵撳嵃浜猴細{{user.user.userName}}
鏃堕棿锛歿{formattedTime}}
- <span style="font-weight: bolder;" v-if="name=='閲戝崕绂忓枩澶╂垚鐜荤拑鏈夐檺鍏徃'">
+ <span style="font-weight: bolder;" >
鎵撳嵃鎬绘暟閲忥細{{totalQuantity}}
鎵撳嵃鎬婚潰绉細{{totalArea}}
</span>
@@ -453,7 +460,14 @@
</tr>
</tfoot>
</table>
-
+ <el-image
+ class="picture"
+ v-for="(item,index) in picture"
+ :src="item.imageBase64"
+ :preview-src-list="[item.imageBase64]"
+ fit="contain"
+ style="max-height: 700px;"
+ />
</div>
</template>
@@ -545,6 +559,8 @@
width: 100%;
height: 100%;
}
-
+.picture{
+ page-break-before: always;
+}
</style>
\ No newline at end of file
--
Gitblit v1.8.0