Browse Source

Merge branch 'master' of 192.168.1.5:BWPB3/B3YunKen

master
xueyingcheng 8 years ago
parent
commit
a66f219095
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      BWP.B3_YunKen.Web/Pages/B3YunKen/B3YunKenSaleOutStoreToCustomerAccept.cs

+ 3
- 0
BWP.B3_YunKen.Web/Pages/B3YunKen/B3YunKenSaleOutStoreToCustomerAccept.cs View File

@ -127,6 +127,9 @@ namespace BWP.Web.Pages.B3YunKen {
_cusInput.Width = 150;
buildButton.Click += delegate {
var selectedItems = _detailGrid.GetSelectedItems();
if (selectedItems.Count <= 0)
throw new ApplicationException("没有选择验收明细");
_detailGrid.GetFromUI();
Dmo.Customer_ID = long.Parse(_cusInput.Value);
var customer = SaleUtil.GetDmoByID<Customer>(Dmo.Customer_ID.Value, "AccountCustomer_ID", "AccountCustomer_Name");


Loading…
Cancel
Save