From 3a60ee203ba55ff9df9bcc81b465cfaeb5faf05b Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期二, 23 九月 2025 15:08:16 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/YiWuProject
---
UI-Project/src/views/hollow/hollowequipmenttwo.vue | 35 +++++++++++++++++------------------
1 files changed, 17 insertions(+), 18 deletions(-)
diff --git a/UI-Project/src/views/hollow/hollowequipmenttwo.vue b/UI-Project/src/views/hollow/hollowequipmenttwo.vue
index 414d741..035f2e7 100644
--- a/UI-Project/src/views/hollow/hollowequipmenttwo.vue
+++ b/UI-Project/src/views/hollow/hollowequipmenttwo.vue
@@ -40,7 +40,7 @@
$t('hellow.taskdet')
}}
</el-button>
- <el-button style="margin-left: 10px;" :disabled="listFlow.length > 0 ? false : true" id="searchButton" type="warning" @click="handleBinde">{{
+ <el-button style="margin-left: 10px;" id="searchButton" type="warning" @click="handleBinde(tab.tableDataa)">{{
$t('searchOrder.printlabels')
}}
</el-button>
@@ -401,7 +401,7 @@
<template #footer>
<div id="dialog-footer">
<el-button type="primary" @click="handlec">
- {{ $t('basicData.confirm') }}e
+ {{ $t('basicData.confirm') }}
</el-button>
<el-button @click="blindc = false">{{ $t('basicData.cancel') }}</el-button>
</div>
@@ -655,7 +655,20 @@
const handleBindc = (row) => {
blindc.value = true;
};
-const handleBinde = (row) => {
+const handleBinde = (flowCard) => {
+ const summary = flowCard.reduce((map, item) => {
+ const key = `${item.hollowSequence}`;
+ if (!map[key]) {
+ map[key] = {
+ printQuantity: 1,
+ order_number: item.glassType,
+ processId: item.flowCardId,
+ orderId:item.flowCardId.slice(0, 10)
+ };
+ }
+ return map;
+ }, {});
+ listFlow.value = Object.values(summary);
blinde.value = true;
getTags();
hiprint.init();
@@ -941,20 +954,6 @@
selectedProjectNo.value = ''
closeWebSocket(socket);
- const summary = response.data.reduce((map, item) => {
- const key = `${item.hollowSequence}`;
- if (!map[key]) {
- map[key] = {
- printQuantity: 1,
- order_number: item.glassType,
- processId: item.flowCardId,
- orderId:item.flowCardId.slice(0, 10)
- };
- }
- return map;
- }, {});
- listFlow.value = Object.values(summary);
-
} else {
}
} catch (error) {
@@ -1023,7 +1022,7 @@
}
);
if (confirmResult === 'confirm') {
- var url = "/hollowGlass/hollowGlassOutRelationInfo/deleteHollowTaskDetails?flowCardId=" + flowCardId + "&cell=" + 930;
+ var url = "/hollowGlass/hollowGlassOutRelationInfo/deleteHollowTaskDetails?flowCardId=" + flowCardId + "&cell=" + 931;
const response = await request.post(url)
if (response.code === 200) {
ElMessage.success(response.message);
--
Gitblit v1.8.0