OperationType
This commit is contained in:
parent
2d48626219
commit
d3d0fa0985
7 changed files with 118 additions and 8 deletions
104
configs/seeds/data/App.Inventory.OperationType.json
Normal file
104
configs/seeds/data/App.Inventory.OperationType.json
Normal file
|
|
@ -0,0 +1,104 @@
|
||||||
|
{
|
||||||
|
"ListFormCode": "App.Inventory.OperationType",
|
||||||
|
"KeyFieldName": "Id",
|
||||||
|
"GeneratedAt": "2026-10-10T20:52:28.6102794Z",
|
||||||
|
"Order": 0,
|
||||||
|
"Rows": [
|
||||||
|
{
|
||||||
|
"Id": "ef1049a0-ac0f-4fec-8163-2bff713f5a09",
|
||||||
|
"BranchId": "1c125bf3-3ffd-4445-a270-1bc43ac3f61c",
|
||||||
|
"WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623",
|
||||||
|
"Name": "Alımlar",
|
||||||
|
"OperationKind": "Receipt",
|
||||||
|
"SequencePrefix": "IN",
|
||||||
|
"Barcode": "WHIN",
|
||||||
|
"SourceLocationId": null,
|
||||||
|
"DestinationLocationId": null,
|
||||||
|
"IsActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Id": "61fdc860-819b-4720-9600-1ee1274101db",
|
||||||
|
"BranchId": "1c125bf3-3ffd-4445-a270-1bc43ac3f61c",
|
||||||
|
"WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623",
|
||||||
|
"Name": "Storage",
|
||||||
|
"OperationKind": "InternalTransfer",
|
||||||
|
"SequencePrefix": "STOR",
|
||||||
|
"Barcode": "WHSTOR",
|
||||||
|
"SourceLocationId": null,
|
||||||
|
"DestinationLocationId": null,
|
||||||
|
"IsActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Id": "93c6c299-cf4d-4b6d-b56d-4279a359d30d",
|
||||||
|
"BranchId": "1c125bf3-3ffd-4445-a270-1bc43ac3f61c",
|
||||||
|
"WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623",
|
||||||
|
"Name": "İç Transferler",
|
||||||
|
"OperationKind": "InternalTransfer",
|
||||||
|
"SequencePrefix": "INT",
|
||||||
|
"Barcode": "WHINT",
|
||||||
|
"SourceLocationId": null,
|
||||||
|
"DestinationLocationId": null,
|
||||||
|
"IsActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Id": "5be8d5cb-ccf5-47c2-b93b-fd460525b18d",
|
||||||
|
"BranchId": "1c125bf3-3ffd-4445-a270-1bc43ac3f61c",
|
||||||
|
"WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623",
|
||||||
|
"Name": "Teslimatlar",
|
||||||
|
"OperationKind": "Delivery",
|
||||||
|
"SequencePrefix": "OUT",
|
||||||
|
"Barcode": "WHOUT",
|
||||||
|
"SourceLocationId": null,
|
||||||
|
"DestinationLocationId": null,
|
||||||
|
"IsActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Id": "3313440f-07b6-4269-b40a-684aa5bdfde7",
|
||||||
|
"BranchId": "1c125bf3-3ffd-4445-a270-1bc43ac3f61c",
|
||||||
|
"WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623",
|
||||||
|
"Name": "Manufacturing",
|
||||||
|
"OperationKind": "Manufacturing",
|
||||||
|
"SequencePrefix": "MO",
|
||||||
|
"Barcode": "WHMANUF",
|
||||||
|
"SourceLocationId": null,
|
||||||
|
"DestinationLocationId": null,
|
||||||
|
"IsActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Id": "8f216ab8-6d3e-49b0-9ea9-18c0272c9b39",
|
||||||
|
"BranchId": "1c125bf3-3ffd-4445-a270-1bc43ac3f61c",
|
||||||
|
"WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623",
|
||||||
|
"Name": "Bakım Sarf Tüketimi",
|
||||||
|
"OperationKind": "InternalTransfer",
|
||||||
|
"SequencePrefix": "BKM/SARF",
|
||||||
|
"Barcode": null,
|
||||||
|
"SourceLocationId": null,
|
||||||
|
"DestinationLocationId": null,
|
||||||
|
"IsActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Id": "f3fffd09-3f15-4764-b748-62f4f12598a1",
|
||||||
|
"BranchId": "1c125bf3-3ffd-4445-a270-1bc43ac3f61c",
|
||||||
|
"WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623",
|
||||||
|
"Name": "Departman Sarf Çıkışı",
|
||||||
|
"OperationKind": "InternalTransfer",
|
||||||
|
"SequencePrefix": "SARF",
|
||||||
|
"Barcode": null,
|
||||||
|
"SourceLocationId": null,
|
||||||
|
"DestinationLocationId": null,
|
||||||
|
"IsActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Id": "61f361bf-09fe-4750-b6d7-eb8b7e19b3aa",
|
||||||
|
"BranchId": "1c125bf3-3ffd-4445-a270-1bc43ac3f61c",
|
||||||
|
"WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623",
|
||||||
|
"Name": "Onarımlar",
|
||||||
|
"OperationKind": "Repair",
|
||||||
|
"SequencePrefix": "RO",
|
||||||
|
"Barcode": "WHRO",
|
||||||
|
"SourceLocationId": null,
|
||||||
|
"DestinationLocationId": null,
|
||||||
|
"IsActive": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -363,6 +363,7 @@ Dış entegrasyon yok. Reçete operasyonları iş merkezi ve operasyonu Üretim
|
||||||
| Kapsam | Kiracı |
|
| Kapsam | Kiracı |
|
||||||
| Widget'lar | `App.Widget.Total`, `App.Widget.Active`, `App.Widget.Passive` |
|
| Widget'lar | `App.Widget.Total`, `App.Widget.Active`, `App.Widget.Passive` |
|
||||||
| Form varsayılanları | OperationKind=Receipt, IsActive=true |
|
| Form varsayılanları | OperationKind=Receipt, IsActive=true |
|
||||||
|
| Veri aynası | `data/App.Inventory.OperationType.json` |
|
||||||
|
|
||||||
| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak |
|
| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak |
|
||||||
| --- | --- | --- | --- | --- | --- |
|
| --- | --- | --- | --- | --- | --- |
|
||||||
|
|
|
||||||
|
|
@ -455,7 +455,7 @@ Yönetim › Tanımlamalar › Onaycılar (onay yeri Satınalma); Yönetim › R
|
||||||
| `FulfillmentMethod` | Karşılama Şekli | dxSelectBox | ✓ | ✓ | liste: Purchase, Transfer |
|
| `FulfillmentMethod` | Karşılama Şekli | dxSelectBox | ✓ | ✓ | liste: Purchase, Transfer |
|
||||||
| `DueDate` | Termin Tarihi | dxDateBox | ✓ | ✓ | |
|
| `DueDate` | Termin Tarihi | dxDateBox | ✓ | ✓ | |
|
||||||
| `RequestReason` | Talep Nedeni | dxTextArea | ✓ | ✓ | |
|
| `RequestReason` | Talep Nedeni | dxTextArea | ✓ | ✓ | |
|
||||||
| `DeliveredQuantity` | Teslim | dxNumberBox | | ✓ | |
|
| `DeliveredQuantity` | Teslim | dxNumberBox | | | |
|
||||||
| `PurchaseResponsibleUserId` | Satınalma Sorumlusu | dxSelectBox | | ✓ | sorgu: AbpUsers |
|
| `PurchaseResponsibleUserId` | Satınalma Sorumlusu | dxSelectBox | | ✓ | sorgu: AbpUsers |
|
||||||
| `LineStatus` | Satır Durumu | dxSelectBox | ✓ | ✓ | liste: Waiting, Done, Cancelled |
|
| `LineStatus` | Satır Durumu | dxSelectBox | ✓ | ✓ | liste: Waiting, Done, Cancelled |
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -138,7 +138,7 @@
|
||||||
"SelectCommand": "Inv_T_OperationType",
|
"SelectCommand": "Inv_T_OperationType",
|
||||||
"SelectCommandType": 1,
|
"SelectCommandType": 1,
|
||||||
"SelectFieldsDefaultValueDto": [],
|
"SelectFieldsDefaultValueDto": [],
|
||||||
"SeedFilePath": null,
|
"SeedFilePath": "data/App.Inventory.OperationType.json",
|
||||||
"SeedSyncInsert": false,
|
"SeedSyncInsert": false,
|
||||||
"SeedSyncUpdate": false,
|
"SeedSyncUpdate": false,
|
||||||
"SeedSyncDelete": false,
|
"SeedSyncDelete": false,
|
||||||
|
|
@ -405,6 +405,7 @@
|
||||||
"AllowAllDeleting": false,
|
"AllowAllDeleting": false,
|
||||||
"AllowAdding": true,
|
"AllowAdding": true,
|
||||||
"AllowDuplicate": false,
|
"AllowDuplicate": false,
|
||||||
|
"OpenDetailAfterInsert": false,
|
||||||
"UseIcons": false,
|
"UseIcons": false,
|
||||||
"ConfirmDelete": true,
|
"ConfirmDelete": true,
|
||||||
"NewRowPosition": "viewportTop",
|
"NewRowPosition": "viewportTop",
|
||||||
|
|
@ -485,6 +486,7 @@
|
||||||
"ApprovalDescriptionFieldName": null,
|
"ApprovalDescriptionFieldName": null,
|
||||||
"ApprovalIsFilterUserName": false,
|
"ApprovalIsFilterUserName": false,
|
||||||
"ApprovalIsResetWorkflow": false,
|
"ApprovalIsResetWorkflow": false,
|
||||||
|
"ApprovalIsManualStart": false,
|
||||||
"Criteria": []
|
"Criteria": []
|
||||||
},
|
},
|
||||||
"UserId": null,
|
"UserId": null,
|
||||||
|
|
|
||||||
|
|
@ -451,6 +451,7 @@
|
||||||
"AllowAllDeleting": false,
|
"AllowAllDeleting": false,
|
||||||
"AllowAdding": false,
|
"AllowAdding": false,
|
||||||
"AllowDuplicate": false,
|
"AllowDuplicate": false,
|
||||||
|
"OpenDetailAfterInsert": false,
|
||||||
"UseIcons": false,
|
"UseIcons": false,
|
||||||
"ConfirmDelete": true,
|
"ConfirmDelete": true,
|
||||||
"NewRowPosition": "viewportTop",
|
"NewRowPosition": "viewportTop",
|
||||||
|
|
|
||||||
|
|
@ -433,6 +433,7 @@
|
||||||
"AllowAllDeleting": false,
|
"AllowAllDeleting": false,
|
||||||
"AllowAdding": true,
|
"AllowAdding": true,
|
||||||
"AllowDuplicate": false,
|
"AllowDuplicate": false,
|
||||||
|
"OpenDetailAfterInsert": false,
|
||||||
"UseIcons": false,
|
"UseIcons": false,
|
||||||
"ConfirmDelete": true,
|
"ConfirmDelete": true,
|
||||||
"NewRowPosition": "viewportTop",
|
"NewRowPosition": "viewportTop",
|
||||||
|
|
@ -1966,8 +1967,8 @@
|
||||||
},
|
},
|
||||||
"Alignment": "left",
|
"Alignment": "left",
|
||||||
"Format": null,
|
"Format": null,
|
||||||
"EditOrderNo": 7,
|
"EditOrderNo": null,
|
||||||
"EditGroupOrderNo": 1,
|
"EditGroupOrderNo": null,
|
||||||
"EditorType2": "dxNumberBox",
|
"EditorType2": "dxNumberBox",
|
||||||
"ColSpan": 1,
|
"ColSpan": 1,
|
||||||
"EditorOptions": "{\"readOnly\":true,\"format\":\"#,##0.##\"}",
|
"EditorOptions": "{\"readOnly\":true,\"format\":\"#,##0.##\"}",
|
||||||
|
|
@ -2092,7 +2093,7 @@
|
||||||
},
|
},
|
||||||
"Alignment": "left",
|
"Alignment": "left",
|
||||||
"Format": null,
|
"Format": null,
|
||||||
"EditOrderNo": 8,
|
"EditOrderNo": 7,
|
||||||
"EditGroupOrderNo": 1,
|
"EditGroupOrderNo": 1,
|
||||||
"EditorType2": "dxSelectBox",
|
"EditorType2": "dxSelectBox",
|
||||||
"ColSpan": 1,
|
"ColSpan": 1,
|
||||||
|
|
@ -2230,7 +2231,7 @@
|
||||||
},
|
},
|
||||||
"Alignment": "left",
|
"Alignment": "left",
|
||||||
"Format": null,
|
"Format": null,
|
||||||
"EditOrderNo": 9,
|
"EditOrderNo": 8,
|
||||||
"EditGroupOrderNo": 1,
|
"EditGroupOrderNo": 1,
|
||||||
"EditorType2": "dxSelectBox",
|
"EditorType2": "dxSelectBox",
|
||||||
"ColSpan": 1,
|
"ColSpan": 1,
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,8 @@ export const renderRatingCell = (cellElement: HTMLElement, value: unknown, count
|
||||||
return `<svg width="16" height="16" viewBox="0 0 24 24" style="display:inline-block;flex-shrink:0"><polygon points="${RATE_STAR_POINTS}" fill="${fill}" stroke="${color}" stroke-width="1.5" stroke-linejoin="round"/></svg>`
|
return `<svg width="16" height="16" viewBox="0 0 24 24" style="display:inline-block;flex-shrink:0"><polygon points="${RATE_STAR_POINTS}" fill="${fill}" stroke="${color}" stroke-width="1.5" stroke-linejoin="round"/></svg>`
|
||||||
})
|
})
|
||||||
|
|
||||||
cellElement.style.cssText += 'display:flex;align-items:center;gap:2px;'
|
// Flex hücrenin kendisine verilmez: `td` tablo hücresi olmaktan çıkar, satır yüksekliğine uzamaz
|
||||||
cellElement.innerHTML = stars.join('')
|
// ve yıldızların altında boşluk kalır.
|
||||||
|
cellElement.innerHTML = `<div style="display:flex;align-items:center;gap:2px">${stars.join('')}</div>`
|
||||||
cellElement.title = rating ? `${rating} / ${count}` : ''
|
cellElement.title = rating ? `${rating} / ${count}` : ''
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue