|
|
@ -177,12 +177,12 @@ 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'])}), // 删除 |
|
|
|
defaultButtons.mainListOrderCloBtn({hide:isShowMainButton(row,['1'])}), // 关闭 |
|
|
|
defaultButtons.mainListOrderPubBtn({hide:isShowMainButton(row,['1'])}), // 发布 |
|
|
|
defaultButtons.mainListOrderOpeBtn({hide:isShowMainButton(row,['3'])}), // 打开 |
|
|
|
defaultButtons.mainListOrderWitBtn({hide:isShowMainButton(row,['2'])}), // 下架 |
|
|
|
defaultButtons.mainListEditBtn({hasPermi:'wms:purchase-main:update',hide:isShowMainButton(row,['1'])}), // 编辑 |
|
|
|
defaultButtons.mainListDeleteBtn({hasPermi:'wms:purchase-main:delete',hide:isShowMainButton(row,['1'])}), // 删除 |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
|