From a660db06773007b1be690e0674829c00a57aeb7b Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期三, 24 十二月 2025 16:21:23 +0800
Subject: [PATCH] 订单首页流程卡新增楼层编号显示
---
north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelXJTwo.vue | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelXJTwo.vue b/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelXJTwo.vue
index 3d8cd74..a404248 100644
--- a/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelXJTwo.vue
+++ b/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelXJTwo.vue
@@ -89,12 +89,29 @@
}else {
labelList = dataList[0]
}
+ lastList.value = deepClone(res.data.data)
+ } else {
+ ElMessage.warning(res.msg)
+ }
+ })
+ }else if(parseInt(dataType)===3){
+ data.value.printList = JSON.parse(props.list)
+ request.post(`/processCard/getPrintCustomDataProjectNoDetail/${type}`, data.value).then((res) => {
+ if (res.code == 200) {
+ produceList.value = deepClone(res.data.title)
+ list.value = deepClone(res.data.data)
+ const data = produceList.value[0].value
+ dataList = JSON.parse(`[${data}]`);
+ if (switchType===true){
+ labelList = props.titleList
+ }else {
+ labelList = dataList[0]
+ }
for (let i = 0; i < list.value.length; i++) {
let count = list.value[i].data.length
for (let j = 0; j < count; j++) {
- for (let k = 0; k < list.value[i].data[j].quantity; k++) {
lastList.value.push(list.value[i].data[j])
- }
+
}
}
} else {
--
Gitblit v1.8.0