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) {