From 2e5fe8dc8e213e4928013684d930f68fbd86b157 Mon Sep 17 00:00:00 2001 From: 廖井涛 <2265517004@qq.com> Date: 星期一, 17 二月 2025 13:55:30 +0800 Subject: [PATCH] 流程卡合并标记打印 --- north-glass-erp/northglass-erp/src/components/pp/PrintProcessStraight.vue | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/north-glass-erp/northglass-erp/src/components/pp/PrintProcessStraight.vue b/north-glass-erp/northglass-erp/src/components/pp/PrintProcessStraight.vue index 8d6f2a2..592201c 100644 --- a/north-glass-erp/northglass-erp/src/components/pp/PrintProcessStraight.vue +++ b/north-glass-erp/northglass-erp/src/components/pp/PrintProcessStraight.vue @@ -31,7 +31,8 @@ printList: null, printMerge: null, printLike: null, - printProject:null + printProject:null, + merges:null }) const {currentRoute} = useRouter() @@ -54,23 +55,27 @@ if (like == '') { like = null } +let merges = props.merges +if (merges == '') { + merges = null +} let name=company.companyName data.value.printList = JSON.parse(props.printList) let flowCardCount = '' onMounted(() => { if(props.printProject!=null){ - request.post(`/processCard/getSelectPrintProject/${printProject}`).then((res) => { + request.post(`/processCard/getSelectPrintProject/${printProject}/${merges}`).then((res) => { if (res.code == 200) { load(res.data.data) - console.log(res.data) } else { ElMessage.warning(res.msg) router.push("/login") } }) }else{ - request.post(`/processCard/getSelectPrinting/${merge}/${like}`, data.value).then((res) => { + request.post(`/processCard/getSelectPrinting/${merge}/${like}/${merges}`, data.value).then((res) => { if (res.code == 200) { + console.log(res.data.data) load(res.data.data) } else { ElMessage.warning(res.msg) @@ -261,7 +266,7 @@ 鏃堕棿锛歿{formattedTime}} </div> - <div> + <div>{{itemFlow.rack}} 娴佺▼鍗″彿锛� {{ itemFlow.process_id }}/{{ itemFlow.technologyNumber }} 鍏� {{ item.count }} 鏋� -- Gitblit v1.8.0