From cfd0b53967daca92d98cd304e4d4e0577e2efbd3 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期二, 13 一月 2026 13:27:45 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-VUEUI
---
src/views/component/printList/barcode.vue | 16 ++--------------
1 files changed, 2 insertions(+), 14 deletions(-)
diff --git a/src/views/component/printList/barcode.vue b/src/views/component/printList/barcode.vue
index 911824d..ae0f5fc 100644
--- a/src/views/component/printList/barcode.vue
+++ b/src/views/component/printList/barcode.vue
@@ -82,20 +82,8 @@
" order by hmainid";
} else if (this.$route.query.Type == "HGyStockPlaceBarCode") {
let condition = decodeURI(this.handleMessage.linterid.toString());
- sql = `SELECT
- CEILING(CAST(t.row_num AS FLOAT) / 2) AS orderid,
- MAX(CASE WHEN t.row_num % 2 = 1 THEN t.鏉$爜缂栧彿 END) AS 鏉$爜缂栧彿1,
- MAX(CASE WHEN t.row_num % 2 = 1 THEN t.浠撲綅鍚嶇О END) AS 浠撲綅鍚嶇О1,
- MAX(CASE WHEN t.row_num % 2 = 0 THEN t.鏉$爜缂栧彿 END) AS 鏉$爜缂栧彿2,
- MAX(CASE WHEN t.row_num % 2 = 0 THEN t.浠撲綅鍚嶇О END) AS 浠撲綅鍚嶇О2
- FROM (
- SELECT
- 鏉$爜缂栧彿, 浠撲綅鍚嶇О,
- ROW_NUMBER() OVER (ORDER BY t1.HItemID) AS row_num
- FROM h_v_IF_StockPlaceList t1 where 鏉$爜缂栧彿 in (${condition})
- ) AS t
- GROUP BY CEILING(CAST(t.row_num AS FLOAT) / 2)
- ORDER BY orderid;`;
+ condition = condition.split(',').map(e => `'${e}'`).join(',')
+ sql = `exec h_p_GetSPBarCode_Swell N'${condition}'`;
}
try{
let res = await axios.get(this.baseUrl + "/CommonModel/searchMethod", {
--
Gitblit v1.9.1