|
|
@ -112,7 +112,9 @@ namespace BWP.B3ClientService.Rpcs |
|
|
weight.WeighTime = DateTime.Now; |
|
|
weight.WeighTime = DateTime.Now; |
|
|
weight.Supplier_ID = entity.supplierID; |
|
|
weight.Supplier_ID = entity.supplierID; |
|
|
weight.Supplier_Name = entity.supplier; |
|
|
weight.Supplier_Name = entity.supplier; |
|
|
weight.BankAccount = entity.supplierIDCard; |
|
|
|
|
|
|
|
|
weight.BankAccount = entity.bankNum; |
|
|
|
|
|
if (string.IsNullOrEmpty(weight.BankAccount)) |
|
|
|
|
|
DmoUtil.RefreshDependency(weight, "Supplier_ID"); |
|
|
weight.PurchaseType_ID = entity.bType + 1; |
|
|
weight.PurchaseType_ID = entity.bType + 1; |
|
|
weight.PurchaseType_Name = entity.bType == 0 ? "社会" : "业务"; |
|
|
weight.PurchaseType_Name = entity.bType == 0 ? "社会" : "业务"; |
|
|
if (weight.Employee_ID == null && weight.PurchaseType_Name == "社会") |
|
|
if (weight.Employee_ID == null && weight.PurchaseType_Name == "社会") |
|
|
|