From 57dadd997e29e754d4b73c73d417c2de65eab28f Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Sun, 15 Dec 2024 12:32:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E5=88=92=E5=A4=96=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E5=8D=8F=E5=AE=9A=E5=93=81=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../unplannedreceipt/unplannedreceiptRequestMain/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue index 525dae1ab..9bce5e57e 100644 --- a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue @@ -1062,9 +1062,13 @@ const labelPrint = async (row) => { // labelPrint(row) await UnplannedreceiptRequestDetailApi.getDetailList(row.masterId).then(async (res) => { if (res.length > 0) { - const itemType = res.some((item) => item.itemType == '可采购') + const itemType = res.some((item) => item.itemType == '可采购' && item.itemBasicType =='TOOL')//跳转协定品 + const itemType2 = res.some((item) => item.itemType == '可采购' && item.itemBasicType !='TOOL') const itemType1 = res.some((item) => item.itemType == '可制造') if (itemType) { + window.open( BASE_URL + '/jmreport/view/1028102732077142016?token=' + getAccessToken() + '&request_number=' + row.number ) + } + if (itemType2) { window.open( BASE_URL + '/jmreport/view/1016234988731322368?token=' + getAccessToken() + '&request_number=' + row.number ) } if (itemType1) {