修复bug
This commit is contained in:
@@ -257,7 +257,7 @@ namespace WMS.Web.Repositories
|
|||||||
if (!string.IsNullOrEmpty(dto.ReceiptCustomer))
|
if (!string.IsNullOrEmpty(dto.ReceiptCustomer))
|
||||||
{
|
{
|
||||||
var rec_type = dto.ReceiptCustomer.Substring(0, 1);
|
var rec_type = dto.ReceiptCustomer.Substring(0, 1);
|
||||||
var rec_id = Convert.ToInt32(dto.ReceiptCustomer.Substring(2, dto.ReceiptCustomer.Length - 1));
|
var rec_id = Convert.ToInt32(dto.ReceiptCustomer.Substring(2, dto.ReceiptCustomer.Length - 2));
|
||||||
|
|
||||||
if (rec_type.Equals("c"))//差销售出库单(客户)
|
if (rec_type.Equals("c"))//差销售出库单(客户)
|
||||||
query = query.Where(w => rec_id == w.order.ReceiptCustomerId && w.order.Type == OutStockType.Sal);
|
query = query.Where(w => rec_id == w.order.ReceiptCustomerId && w.order.Type == OutStockType.Sal);
|
||||||
|
|||||||
Reference in New Issue
Block a user