diff --git a/src/views/wms/basicDataManage/documentSetting/switch/index.vue b/src/views/wms/basicDataManage/documentSetting/switch/index.vue
index 9cfc75791..138b6cae1 100644
--- a/src/views/wms/basicDataManage/documentSetting/switch/index.vue
+++ b/src/views/wms/basicDataManage/documentSetting/switch/index.vue
@@ -32,8 +32,8 @@
{{ row.code }}
-
-
+
+
@@ -129,10 +129,20 @@ const buttonBaseClick = (val, item) => {
}
// 列表-操作按钮
-const butttondata = [
- defaultButtons.mainListEditBtn(null), // 编辑
- // defaultButtons.mainListDeleteBtn({hasPermi:'wms:switch:delete'}), // 删除
-]
+
+const butttondata = (row, $index)=>{
+ const hiddenArray = ['CreatePutawayRequestAfterInspectRecordCreated',
+'CreateBackflushRecordAfterProductreceiptRecordCreated',
+'CreateProductputawayRequestAfterProductreceiptRecordCreated',
+'ExecuteProductreceiptJobPredictIsCreatePutawayRequest',
+'CreatePurchasePlanAfterDiscretePurchaseOrderPublished',
+'ExemptItemCreatePutawayRequestAfterPurchaseReceiptRecordCreated',
+'CreatePurchaseReceiptRequestAfterSupplierDeliverRecordCreated']
+ return [
+ defaultButtons.mainListEditBtn({hide:hiddenArray.indexOf(row.code)>-1}), // 编辑
+ // defaultButtons.mainListDeleteBtn({hasPermi:'wms:switch:delete'}), // 删除
+ ]
+}
// 列表-操作按钮事件
const buttonTableClick = async (val, row) => {