@ -708,7 +708,8 @@ const openDetail = async (row: any, titleName: any, titleValue: any, tableName:
// 新增
detailButtonAdd = [
defaultButtons.defaultAddBtn({
hide: isShowMainButton(row, props.detailButtonIsShowAddStatusArray)
hide: isShowMainButton(row, props.detailButtonIsShowAddStatusArray),
hasPermi: props.addHasPermi
})
]
}
@ -91,7 +91,8 @@
:detailButtonIsShowAddStatusArray="['1','3','4','5','6']"
:detailButtonIsShowEdit="true"
:detailButtonIsShowDelete="true"
:detailButtonIsShowAdd="false"
:detailButtonIsShowAdd="true"
addHasPermi="wms:purchase-plan-main:create"
editHasPermi="wms:purchase-plan-main:update"
deleteHasPermi="wms:purchase-plan-main:delete"
:isOpenSearchTable="true"