|
|
@ -190,14 +190,14 @@ const isShowMainButton = (row,val) => { |
|
|
|
|
|
|
|
// 列表-操作按钮 |
|
|
|
const butttondata = (row) => { |
|
|
|
return [ |
|
|
|
defaultButtons.mainListOrderCloBtn({hide:isShowMainButton(row,['ORDER_READY'])}), // 关闭 |
|
|
|
defaultButtons.mainListOrderPubBtn({hide:isShowMainButton(row,['ORDER_READY'])}), // 发布 |
|
|
|
defaultButtons.mainListOrderOpeBtn({hide:isShowMainButton(row,['ORDER_CLOSED'])}), // 打开 |
|
|
|
defaultButtons.mainListOrderWitBtn({hide:isShowMainButton(row,['ORDER_PUBLISHED'])}), // 下架 |
|
|
|
defaultButtons.mainListEditBtn({hasPermi:'wms:purchase-main:update',hide:isShowMainButton(row,['ORDER_READY'])}), // 编辑 |
|
|
|
defaultButtons.mainListDeleteBtn({hasPermi:'wms:purchase-main:delete',hide:isShowMainButton(row,['ORDER_READY'])}), // 删除 |
|
|
|
] |
|
|
|
return [ |
|
|
|
defaultButtons.mainListOrderCloBtn({hide:isShowMainButton(row,['ORDER_READY'])}), // 关闭 |
|
|
|
defaultButtons.mainListOrderPubBtn({hide:isShowMainButton(row,['ORDER_READY'])}), // 发布 |
|
|
|
defaultButtons.mainListOrderOpeBtn({hide:isShowMainButton(row,['ORDER_CLOSED'])}), // 打开 |
|
|
|
defaultButtons.mainListOrderWitBtn({hide:isShowMainButton(row,['ORDER_PUBLISHED'])}), // 下架 |
|
|
|
defaultButtons.mainListEditBtn({hasPermi:'wms:purchase-main:update',hide:isShowMainButton(row,['ORDER_READY'])}), // 编辑 |
|
|
|
defaultButtons.mainListDeleteBtn({hasPermi:'wms:purchase-main:delete',hide:isShowMainButton(row,['ORDER_READY'])}), // 删除 |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|