From 7b5f1e33b4936c02fbe31d4b064ea3873da2e511 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 18 九月 2025 14:06:55 +0800
Subject: [PATCH] 发货弹窗成品料架
---
north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelXJTwo.vue | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 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 fc54842..a404248 100644
--- a/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelXJTwo.vue
+++ b/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelXJTwo.vue
@@ -94,6 +94,30 @@
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++) {
+ lastList.value.push(list.value[i].data[j])
+
+ }
+ }
+ } else {
+ ElMessage.warning(res.msg)
+ }
+ })
}
})
--
Gitblit v1.8.0