From 3b517fd9d5d4e8b9dd4bab7d73642647151947e1 Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Sat, 24 Aug 2024 11:57:49 +0800 Subject: [PATCH] =?UTF-8?q?SCP=E5=8E=BB=E6=8E=89=E8=A1=A5=E6=89=93?= =?UTF-8?q?=E6=94=B6=E8=B4=A7=E6=A3=80=E9=AA=8C=E6=8C=87=E5=BC=95=E5=8D=95?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasereceipt/purchasereceiptRecordMain/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue index a7e9b2013..249d3082a 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue @@ -183,14 +183,14 @@ const isShowSourceTypeButton = (row) => { const butttondata = (row,$index) => { const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1 if(findIndex>-1&&findIndex<$index){ - return [defaultButtons.mainListPrintInspectionBtn(null)] + return [defaultButtons.mainListPrintInspectionBtn({hide:routeName.value.includes('SCP')})] } return [ defaultButtons.mainInspectRequestBtn({hasPermi:'wms:purchasereceipt-record-main:createInspectRequest',hide:row.inspectRequestFlag == "FALSE" }),// 生成到货检验申请 defaultButtons.mainPutawayRequestBtn({hasPermi:'wms:purchasereceipt-record-main:createPutawayRequest',hide:row.putawayRequestFlag == "FALSE" }),// 生成采购上架申请 //defaultButtons.mainListPlanCheckQualityReportBtn({hide:row.orderTypeM == "2"}), // 查看质检报告 defaultButtons.mainListPlanCheckQualityReportBtn({hide:isShowSourceTypeButton(row)}), // 查看质检报告 - defaultButtons.mainListPrintInspectionBtn(null), + defaultButtons.mainListPrintInspectionBtn({hide:routeName.value.includes('SCP')}) ] }