Browse Source

HL-5188:采购退货申请创建没有关闭按钮,但是已经给与退货申请关闭权限

linshi20240813
songguoqiang 3 months ago
parent
commit
20176a3298
  1. 14
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue

14
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue

@ -534,31 +534,31 @@ const butttondata = (row, $index) => {
return [ return [
defaultButtons.mainListCloseBtn({ defaultButtons.mainListCloseBtn({
hide: isShowMainButton(row, ['1', '2', '3', '4', '6']), hide: isShowMainButton(row, ['1', '2', '3', '4', '6']),
hasPermi: 'wms:purchasereceipt-request-main:close' hasPermi: 'wms:purchasereturn-request-main:close'
}), // }), //
defaultButtons.mainListReAddBtn({ defaultButtons.mainListReAddBtn({
hide: isShowMainButton(row, ['5']), hide: isShowMainButton(row, ['5']),
hasPermi: 'wms:purchasereceipt-request-main:reAdd' hasPermi: 'wms:purchasereturn-request-main:reAdd'
}), // }), //
defaultButtons.mainListSubmitBtn({ defaultButtons.mainListSubmitBtn({
hide: isShowMainButton(row, ['1']), hide: isShowMainButton(row, ['1']),
hasPermi: 'wms:purchasereceipt-request-main:submit' hasPermi: 'wms:purchasereturn-request-main:submit'
}), // }), //
defaultButtons.mainListTurnDownBtn({ defaultButtons.mainListTurnDownBtn({
hide: isShowMainButton(row, ['2']), hide: isShowMainButton(row, ['2']),
hasPermi: 'wms:purchasereceipt-request-main:refused' hasPermi: 'wms:purchasereturn-request-main:refused'
}), // }), //
defaultButtons.mainListApproveBtn({ defaultButtons.mainListApproveBtn({
hide: isShowMainButton(row, ['2']), hide: isShowMainButton(row, ['2']),
hasPermi: 'wms:purchasereceipt-request-main:agree' hasPermi: 'wms:purchasereturn-request-main:agree'
}), // }), //
defaultButtons.mainListHandleBtn({ defaultButtons.mainListHandleBtn({
hide: isShowMainButton(row, ['3']), hide: isShowMainButton(row, ['3']),
hasPermi: 'wms:purchasereceipt-request-main:handle' hasPermi: 'wms:purchasereturn-request-main:handle'
}), // }), //
defaultButtons.mainListEditBtn({ defaultButtons.mainListEditBtn({
hide: isShowMainButton(row, ['1']), hide: isShowMainButton(row, ['1']),
hasPermi: 'wms:purchasereceipt-request-main:update' hasPermi: 'wms:purchasereturn-request-main:update'
}) // }) //
// { // {
// label: '', // label: '',

Loading…
Cancel
Save