zhangqian
2024-03-29 18939d88db4799b2ba0359016d9a4ae1e76e2a22
完善
2个文件已修改
3 ■■■■■ 已修改文件
proto/product_inventory/server.go 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service/operation.go 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
proto/product_inventory/server.go
@@ -452,6 +452,7 @@
            Products:     productInfoList,
            OperationID:  0,
            SourceNumber: req.OrderNumber,
            SaleDetailsNumber: req.OrderNumber,
        })
    }
service/operation.go
@@ -13,6 +13,7 @@
    Products     []*ProductInfo
    OperationID  int
    SourceNumber string
    SaleDetailsNumber string
}
type ProductInfo struct {
@@ -82,6 +83,7 @@
            BaseOperationType: constvar.BaseOperationTypeOutgoing,
            LocationID:        output.LocationID,
            OperationSource:   constvar.OperationSourceSaleDelivery,
            SalesDetailsNumber: output.SaleDetailsNumber,
        }
        operations = append(operations, operation)
        autoCode = models.GetAutoCode(maxAutoIncr, codeStandard)