Browse Source

需求单No.138390 屠宰场管理新增档案“收购类型” 把原有的NamedValue类型换成档案

master
yibo 8 years ago
parent
commit
f93b568518
2 changed files with 2 additions and 4 deletions
  1. +1
    -1
      BO/BO/Bill/WeightBill/WeightBill.cs
  2. +1
    -3
      ButcherWeight/WeightForm.cs

+ 1
- 1
BO/BO/Bill/WeightBill/WeightBill.cs View File

@ -39,7 +39,7 @@ namespace BO.BO
public string Zone_Name { get; set; }
public short? PurchaseType_ID { get; set; }
public long? PurchaseType_ID { get; set; }
public string PurchaseType_Name { get; set; }


+ 1
- 3
ButcherWeight/WeightForm.cs View File

@ -256,9 +256,7 @@ namespace ButcherWeight
Dmo.BankAccount = bankAccountLabel.Text;
Dmo.Zone_ID = zoneSelect.LongValue;
Dmo.Zone_Name = zoneSelect.DisplayValue;
Dmo.PurchaseType_ID = null;
if (!purchaseTypeSelect.IsEmpty)
Dmo.PurchaseType_ID = short.Parse(purchaseTypeSelect.Value);
Dmo.PurchaseType_ID = purchaseTypeSelect.LongValue;
Dmo.PurchaseType_Name = purchaseTypeSelect.DisplayValue;
Dmo.Car_ID = carSelect.LongValue;
Dmo.Car_Name = carSelect.DisplayValue;


Loading…
Cancel
Save