SubformListFormType kısmındaki eksiklikler
This commit is contained in:
parent
8f01a7aad0
commit
0a5df92812
3 changed files with 16 additions and 16 deletions
|
|
@ -1382,7 +1382,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency
|
|||
PageSize = 20,
|
||||
IsSubForm = true,
|
||||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson(),
|
||||
LayoutJson = DefaultLayoutJson("tree"),
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = listFormName,
|
||||
Name = listFormName,
|
||||
|
|
|
|||
|
|
@ -2538,7 +2538,7 @@
|
|||
"Url": null,
|
||||
"Icon": "FcFilingCabinet",
|
||||
"RequiredPermissionName": null,
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp.Definitions",
|
||||
|
|
@ -2548,7 +2548,7 @@
|
|||
"Url": "/admin/list/App.Mrp.OperationCategory",
|
||||
"Icon": "FcDepartment",
|
||||
"RequiredPermissionName": "App.Mrp.OperationCategory",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp.Definitions",
|
||||
|
|
@ -2558,7 +2558,7 @@
|
|||
"Url": "/admin/list/App.Mrp.OperationType",
|
||||
"Icon": "FcTemplate",
|
||||
"RequiredPermissionName": "App.Mrp.OperationType",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp.Definitions",
|
||||
|
|
@ -2568,7 +2568,7 @@
|
|||
"Url": "/admin/list/App.Mrp.Operation",
|
||||
"Icon": "FcFlashOn",
|
||||
"RequiredPermissionName": "App.Mrp.Operation",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp.Definitions",
|
||||
|
|
@ -2578,7 +2578,7 @@
|
|||
"Url": "/admin/list/App.Mrp.WorkcenterType",
|
||||
"Icon": "FcTreeStructure",
|
||||
"RequiredPermissionName": "App.Mrp.WorkcenterType",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp.Definitions",
|
||||
|
|
@ -2588,7 +2588,7 @@
|
|||
"Url": "/admin/list/App.Mrp.WorkcenterStatus",
|
||||
"Icon": "FcProcess",
|
||||
"RequiredPermissionName": "App.Mrp.WorkcenterStatus",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp.Definitions",
|
||||
|
|
@ -2598,7 +2598,7 @@
|
|||
"Url": "/admin/list/App.Mrp.Workcenter",
|
||||
"Icon": "FcFactory",
|
||||
"RequiredPermissionName": "App.Mrp.Workcenter",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp.Definitions",
|
||||
|
|
@ -2608,7 +2608,7 @@
|
|||
"Url": "/admin/list/App.Mrp.Bom",
|
||||
"Icon": "FcFlowChart",
|
||||
"RequiredPermissionName": "App.Mrp.Bom",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp.Definitions",
|
||||
|
|
@ -2618,7 +2618,7 @@
|
|||
"Url": "/admin/list/App.Mrp.ProductionOrderType",
|
||||
"Icon": "FcSettings",
|
||||
"RequiredPermissionName": "App.Mrp.ProductionOrderType",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp.Definitions",
|
||||
|
|
@ -2628,7 +2628,7 @@
|
|||
"Url": "/admin/list/App.Mrp.ProductionOrderStatus",
|
||||
"Icon": "FcApproval",
|
||||
"RequiredPermissionName": "App.Mrp.ProductionOrderStatus",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp.Definitions",
|
||||
|
|
@ -2638,7 +2638,7 @@
|
|||
"Url": "/admin/list/App.Mrp.WorkorderStatus",
|
||||
"Icon": "FcOk",
|
||||
"RequiredPermissionName": "App.Mrp.WorkorderStatus",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp",
|
||||
|
|
@ -2648,7 +2648,7 @@
|
|||
"Url": "/admin/list/App.Mrp.ProductionOrder",
|
||||
"Icon": "FcFactory",
|
||||
"RequiredPermissionName": "App.Mrp.ProductionOrder",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp",
|
||||
|
|
@ -2658,7 +2658,7 @@
|
|||
"Url": "/admin/list/App.Mrp.Workorder",
|
||||
"Icon": "FcList",
|
||||
"RequiredPermissionName": "App.Mrp.Workorder",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Mrp",
|
||||
|
|
@ -2668,7 +2668,7 @@
|
|||
"Url": "/admin/list/App.Mrp.Workload",
|
||||
"Icon": "FcTimeline",
|
||||
"RequiredPermissionName": "App.Mrp.Workload",
|
||||
"IsDisabled": false
|
||||
"IsDisabled": true
|
||||
},
|
||||
{
|
||||
"ParentCode": null,
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ const FormButtons = (props: {
|
|||
(item) => item.widget == 'dxButton' && !toolbarExcludedNames.includes(item.name!),
|
||||
)
|
||||
|
||||
const commandExcludedNames = ['edit', 'delete']
|
||||
const commandExcludedNames = ['edit', 'delete', 'detail']
|
||||
const hasVisibleCommandButtons = commandColumnData?.buttons?.some(
|
||||
(item) => typeof item !== 'string' && !commandExcludedNames.includes(item.name!),
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue