From 67b366a384a38ed88c689a71783e36ef457787fb Mon Sep 17 00:00:00 2001 From: chenfang Date: Thu, 25 Apr 2024 16:52:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B6=E5=93=81=E6=94=B6=E8=B4=A7=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E6=93=8D=E4=BD=9C=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productreceipt/productreceiptRecordMain/index.vue | 4 +++- .../productreceiptRecordMain/productreceiptRecordMain.data.ts | 4 ++-- .../productreceiptAssembleRecordMain/index.vue | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue index b8a9fdcde..5da6c7699 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue +++ b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue @@ -176,7 +176,9 @@ const butttondata = (row,$index) => { if(findIndex>0&&findIndex<$index){ return [] } - return [] + return [ + defaultButtons.mainInspectRequestBtn({hasPermi:'wms:purchasereceipt-record-main:createInspectRequest',hide:row.inspectRequestFlag == "FALSE" }),// 生成到货检验申请 + ] } // 列表-操作按钮事件 diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts index 4d70c5a54..fdc79bef9 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts @@ -652,7 +652,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive( }, { label: '操作', - hiddenInMain:true, + hiddenInMain:false, field: 'action', isDetail: false, isForm: false , @@ -660,7 +660,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive( width: 150, fixed: 'right' }, - isTableForm:false, + isTableForm:true, } ])) diff --git a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue index 4f8a496e0..d849da862 100644 --- a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue +++ b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue @@ -175,7 +175,9 @@ const butttondata = (row,$index) => { if(findIndex>0&&findIndex<$index){ return [] } - return [] + return [ + defaultButtons.mainInspectRequestBtn({hasPermi:'wms:purchasereceipt-record-main:createInspectRequest',hide:row.inspectRequestFlag == "FALSE" }),// 生成到货检验申请 + ] } // 列表-操作按钮事件