|
@ -218,11 +218,17 @@ namespace BBWY.Client.ViewModels |
|
|
if (relationPurchaseOrder == null) |
|
|
if (relationPurchaseOrder == null) |
|
|
{ |
|
|
{ |
|
|
if (payBill.IsSupportMerchantOrderNo) |
|
|
if (payBill.IsSupportMerchantOrderNo) |
|
|
payBill.ErrorMessage = "未匹配采购单"; |
|
|
{ |
|
|
|
|
|
if (payBill.MerchantOrderNo.StartsWith("XP")) |
|
|
|
|
|
payBill.AuditCapitalType = AuditCapitalType.商品采购; |
|
|
|
|
|
else |
|
|
|
|
|
payBill.ErrorMessage = "未匹配采购单"; |
|
|
|
|
|
} |
|
|
else |
|
|
else |
|
|
payBill.AuditCapitalType = AuditCapitalType.商品采购; |
|
|
payBill.ErrorMessage = "未选资金类型"; |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
payBill.RelationPurchaseOrderId = relationPurchaseOrder.PurchaseOrderId; |
|
|
payBill.RelationPurchaseOrderId = relationPurchaseOrder.PurchaseOrderId; |
|
|
payBill.RelationShopOrderId = relationPurchaseOrder.OrderId; |
|
|
payBill.RelationShopOrderId = relationPurchaseOrder.OrderId; |
|
|
payBill.BelongShopId = relationPurchaseOrder.ShopId; |
|
|
payBill.BelongShopId = relationPurchaseOrder.ShopId; |
|
|