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ı |
|
||||
| Widget'lar | `App.Widget.Total`, `App.Widget.Active`, `App.Widget.Passive` |
|
||||
| Form varsayılanları | OperationKind=Receipt, IsActive=true |
|
||||
| Veri aynası | `data/App.Inventory.OperationType.json` |
|
||||
|
||||
| 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 |
|
||||
| `DueDate` | Termin Tarihi | dxDateBox | ✓ | ✓ | |
|
||||
| `RequestReason` | Talep Nedeni | dxTextArea | ✓ | ✓ | |
|
||||
| `DeliveredQuantity` | Teslim | dxNumberBox | | ✓ | |
|
||||
| `DeliveredQuantity` | Teslim | dxNumberBox | | | |
|
||||
| `PurchaseResponsibleUserId` | Satınalma Sorumlusu | dxSelectBox | | ✓ | sorgu: AbpUsers |
|
||||
| `LineStatus` | Satır Durumu | dxSelectBox | ✓ | ✓ | liste: Waiting, Done, Cancelled |
|
||||
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@
|
|||
"SelectCommand": "Inv_T_OperationType",
|
||||
"SelectCommandType": 1,
|
||||
"SelectFieldsDefaultValueDto": [],
|
||||
"SeedFilePath": null,
|
||||
"SeedFilePath": "data/App.Inventory.OperationType.json",
|
||||
"SeedSyncInsert": false,
|
||||
"SeedSyncUpdate": false,
|
||||
"SeedSyncDelete": false,
|
||||
|
|
@ -405,6 +405,7 @@
|
|||
"AllowAllDeleting": false,
|
||||
"AllowAdding": true,
|
||||
"AllowDuplicate": false,
|
||||
"OpenDetailAfterInsert": false,
|
||||
"UseIcons": false,
|
||||
"ConfirmDelete": true,
|
||||
"NewRowPosition": "viewportTop",
|
||||
|
|
@ -485,6 +486,7 @@
|
|||
"ApprovalDescriptionFieldName": null,
|
||||
"ApprovalIsFilterUserName": false,
|
||||
"ApprovalIsResetWorkflow": false,
|
||||
"ApprovalIsManualStart": false,
|
||||
"Criteria": []
|
||||
},
|
||||
"UserId": null,
|
||||
|
|
|
|||
|
|
@ -451,6 +451,7 @@
|
|||
"AllowAllDeleting": false,
|
||||
"AllowAdding": false,
|
||||
"AllowDuplicate": false,
|
||||
"OpenDetailAfterInsert": false,
|
||||
"UseIcons": false,
|
||||
"ConfirmDelete": true,
|
||||
"NewRowPosition": "viewportTop",
|
||||
|
|
|
|||
|
|
@ -433,6 +433,7 @@
|
|||
"AllowAllDeleting": false,
|
||||
"AllowAdding": true,
|
||||
"AllowDuplicate": false,
|
||||
"OpenDetailAfterInsert": false,
|
||||
"UseIcons": false,
|
||||
"ConfirmDelete": true,
|
||||
"NewRowPosition": "viewportTop",
|
||||
|
|
@ -1966,8 +1967,8 @@
|
|||
},
|
||||
"Alignment": "left",
|
||||
"Format": null,
|
||||
"EditOrderNo": 7,
|
||||
"EditGroupOrderNo": 1,
|
||||
"EditOrderNo": null,
|
||||
"EditGroupOrderNo": null,
|
||||
"EditorType2": "dxNumberBox",
|
||||
"ColSpan": 1,
|
||||
"EditorOptions": "{\"readOnly\":true,\"format\":\"#,##0.##\"}",
|
||||
|
|
@ -2092,7 +2093,7 @@
|
|||
},
|
||||
"Alignment": "left",
|
||||
"Format": null,
|
||||
"EditOrderNo": 8,
|
||||
"EditOrderNo": 7,
|
||||
"EditGroupOrderNo": 1,
|
||||
"EditorType2": "dxSelectBox",
|
||||
"ColSpan": 1,
|
||||
|
|
@ -2230,7 +2231,7 @@
|
|||
},
|
||||
"Alignment": "left",
|
||||
"Format": null,
|
||||
"EditOrderNo": 9,
|
||||
"EditOrderNo": 8,
|
||||
"EditGroupOrderNo": 1,
|
||||
"EditorType2": "dxSelectBox",
|
||||
"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>`
|
||||
})
|
||||
|
||||
cellElement.style.cssText += 'display:flex;align-items:center;gap:2px;'
|
||||
cellElement.innerHTML = stars.join('')
|
||||
// Flex hücrenin kendisine verilmez: `td` tablo hücresi olmaktan çıkar, satır yüksekliğine uzamaz
|
||||
// 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}` : ''
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue