yinbentan
2024-07-18 ccf9ccce0fefbee8428c98a008c26d8ea26b2af1
proto/purchase_wms/server.go
@@ -25,9 +25,10 @@
   operation.Number = strconv.FormatInt(time.Now().Unix(), 10)
   operation.Status = constvar.OperationStatus_Ready
   operation.CompanyName = req.SupplierName
   operation.CompanyID = int(req.SupplierId)
   operation.CompanyID = strconv.FormatInt(req.SupplierId, 10)
   operation.Source = req.Source
   operation.OperationSource = constvar.OperationSource(req.OperationSource)
   operation.SalesDetailsNumber = req.SalesDetailsNumber
   warehouse, err := models.NewWarehouseSearch().SetName(req.WarehouseName).First()
   if err != nil {
      return nil, err