|
|
@ -271,10 +271,10 @@ console.log('PurchaseMain.allSchemas.searchSchema',PurchaseMain.allSchemas.searc |
|
|
|
return [] |
|
|
|
} |
|
|
|
return [ |
|
|
|
defaultButtons.mainListOrderCloBtn({ hide: isShowMainButton(row, ['1']) }), // 关闭 |
|
|
|
defaultButtons.mainListOrderOpeBtn({ hide: isShowMainButton(row, ['3']) }), // 打开 |
|
|
|
defaultButtons.mainListOrderPubBtn({ hide: isShowMainButton(row, ['1']) }), // 发布 |
|
|
|
defaultButtons.mainListOrderWitBtn({ hide: isShowMainButton(row, ['2']) }), // 下架 |
|
|
|
defaultButtons.mainListOrderCloBtn({ hide: isShowMainButton(row, ['1']),hasPermi: 'wms:purchase-main:close' }), // 关闭 |
|
|
|
defaultButtons.mainListOrderOpeBtn({ hide: isShowMainButton(row, ['3']),hasPermi: 'wms:purchase-main:open' }), // 打开 |
|
|
|
defaultButtons.mainListOrderPubBtn({ hide: isShowMainButton(row, ['1']),hasPermi: 'wms:purchase-main:publish' }), // 发布 |
|
|
|
defaultButtons.mainListOrderWitBtn({ hide: isShowMainButton(row, ['2']),hasPermi: 'wms:purchase-main:wit' }), // 下架 |
|
|
|
defaultButtons.mainListEditBtn({ hasPermi: 'wms:purchase-main:update', hide: isShowMainButton(row, ['1']) }), // 编辑 |
|
|
|
// defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:purchase-main:delete', hide: isShowMainButton(row, ['1']) }), // 删除 |
|
|
|
] |
|
|
|