修复bug

This commit is contained in:
18942506660
2023-12-06 14:35:57 +08:00
parent dcbf27c519
commit 18b6d126fd
4 changed files with 24 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
using System;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
@@ -110,13 +111,13 @@ namespace WMS.Web.Domain.Entitys
/// <summary>
/// 出库
/// </summary>
/// <param name="outStockBillNo">出库单号</param>
public void OutStock(string outStockBillNo, OutStockType type,int customerId)
/// <param name="salBillNos">出库单号</param>
public void OutStock(List<string> salBillNos, OutStockType type,int customerId)
{
this.BoxId = 0;
if (type == OutStockType.Sal)
{
this.SalBillNo = outStockBillNo;
this.SalBillNo = JsonConvert.SerializeObject(salBillNos);
this.CustomerId = customerId;
this.OutStockTime = DateTime.Now;
}