Browse Source

SCP正式环境,要货计划明细列表页,去掉供应商新增功能,根据按钮权限做

hella_online_20240829
wangyufei 4 months ago
parent
commit
93c628fcfd
  1. 3
      src/components/Detail/src/Detail.vue
  2. 3
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

3
src/components/Detail/src/Detail.vue

@ -708,7 +708,8 @@ const openDetail = async (row: any, titleName: any, titleValue: any, tableName:
// //
detailButtonAdd = [ detailButtonAdd = [
defaultButtons.defaultAddBtn({ defaultButtons.defaultAddBtn({
hide: isShowMainButton(row, props.detailButtonIsShowAddStatusArray) hide: isShowMainButton(row, props.detailButtonIsShowAddStatusArray),
hasPermi: props.addHasPermi
}) })
] ]
} }

3
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -91,7 +91,8 @@
:detailButtonIsShowAddStatusArray="['1','3','4','5','6']" :detailButtonIsShowAddStatusArray="['1','3','4','5','6']"
:detailButtonIsShowEdit="true" :detailButtonIsShowEdit="true"
:detailButtonIsShowDelete="true" :detailButtonIsShowDelete="true"
:detailButtonIsShowAdd="false" :detailButtonIsShowAdd="true"
addHasPermi="wms:purchase-plan-main:create"
editHasPermi="wms:purchase-plan-main:update" editHasPermi="wms:purchase-plan-main:update"
deleteHasPermi="wms:purchase-plan-main:delete" deleteHasPermi="wms:purchase-plan-main:delete"
:isOpenSearchTable="true" :isOpenSearchTable="true"

Loading…
Cancel
Save