mirror of
https://github.com/serty2005/rmser.git
synced 2026-02-04 19:02:33 -06:00
фикс страницы накладных
функционал обновления списка накладных
This commit is contained in:
@@ -108,7 +108,7 @@ type ProductFullDTO struct {
|
|||||||
ColdLossPercent float64 `json:"coldLossPercent"`
|
ColdLossPercent float64 `json:"coldLossPercent"`
|
||||||
HotLossPercent float64 `json:"hotLossPercent"`
|
HotLossPercent float64 `json:"hotLossPercent"`
|
||||||
OuterCode *string `json:"outerEconomicActivityNomenclatureCode"`
|
OuterCode *string `json:"outerEconomicActivityNomenclatureCode"`
|
||||||
AllergenGroups *string `json:"allergenGroups"`
|
AllergenGroups []interface{} `json:"allergenGroups"`
|
||||||
EstPurchasePrice float64 `json:"estimatedPurchasePrice"`
|
EstPurchasePrice float64 `json:"estimatedPurchasePrice"`
|
||||||
CanSetOpenPrice bool `json:"canSetOpenPrice"`
|
CanSetOpenPrice bool `json:"canSetOpenPrice"`
|
||||||
NotInStoreMovement bool `json:"notInStoreMovement"`
|
NotInStoreMovement bool `json:"notInStoreMovement"`
|
||||||
@@ -195,17 +195,17 @@ type StoreReportItemXML struct {
|
|||||||
|
|
||||||
// IncomingInvoiceImportXML описывает структуру для POST запроса импорта
|
// IncomingInvoiceImportXML описывает структуру для POST запроса импорта
|
||||||
type IncomingInvoiceImportXML struct {
|
type IncomingInvoiceImportXML struct {
|
||||||
XMLName xml.Name `xml:"document"`
|
XMLName xml.Name `xml:"document"`
|
||||||
ID string `xml:"id,omitempty"` // GUID, если редактируем
|
ID string `xml:"id,omitempty"` // GUID, если редактируем
|
||||||
DocumentNumber string `xml:"documentNumber,omitempty"`
|
DocumentNumber string `xml:"documentNumber,omitempty"`
|
||||||
IncomingDocumentNumber string `xml:"incomingDocumentNumber,omitempty"` // Входящий номер документа
|
IncomingDocumentNumber string `xml:"incomingDocumentNumber,omitempty"` // Входящий номер документа
|
||||||
DateIncoming string `xml:"dateIncoming,omitempty"` // Format: dd.MM.yyyy
|
DateIncoming string `xml:"dateIncoming,omitempty"` // Format: dd.MM.yyyy
|
||||||
Invoice string `xml:"invoice,omitempty"` // Номер счет-фактуры
|
Invoice string `xml:"invoice,omitempty"` // Номер счет-фактуры
|
||||||
DefaultStore string `xml:"defaultStore"` // GUID склада (обязательно)
|
DefaultStore string `xml:"defaultStore"` // GUID склада (обязательно)
|
||||||
Supplier string `xml:"supplier"` // GUID поставщика (обязательно)
|
Supplier string `xml:"supplier"` // GUID поставщика (обязательно)
|
||||||
Comment string `xml:"comment,omitempty"`
|
Comment string `xml:"comment,omitempty"`
|
||||||
Status string `xml:"status,omitempty"` // NEW, PROCESSED
|
Status string `xml:"status,omitempty"` // NEW, PROCESSED
|
||||||
ItemsWrapper struct {
|
ItemsWrapper struct {
|
||||||
Items []IncomingInvoiceImportItemXML `xml:"item"`
|
Items []IncomingInvoiceImportItemXML `xml:"item"`
|
||||||
} `xml:"items"`
|
} `xml:"items"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user