Browse Source

。。

master
yibo 8 years ago
parent
commit
d5c442f83d
3 changed files with 12 additions and 13 deletions
  1. +2
    -2
      B3SubstituteKill.Web/Pages/B3SubstituteKill/Bills/SubKillGathering_/SelectStatPayDialog.cs
  2. +2
    -2
      B3SubstituteKill.Web/Pages/B3SubstituteKill/Bills/SubKillGathering_/SubKillGatheringEdit.cs
  3. +8
    -9
      B3SubstituteKill/BO/Bills/SubKillGathering/SubKillGathering_Detail.cs

+ 2
- 2
B3SubstituteKill.Web/Pages/B3SubstituteKill/Bills/SubKillGathering_/SelectStatPayDialog.cs View File

@ -59,8 +59,8 @@ namespace BWP.Web.Pages.B3SubstituteKill.Bills.SubKillGathering_
protected override void SetResultFromDFDataRow(SubKillGathering_Detail dmo, DFDataRow row)
{
dmo.StatPay_ID = (long?)row["ID"];
dmo.Weigh_ID = (long?)row["Weigh_ID"];
dmo.WeighTime = (DateTime?)row["WeighTime"];
//dmo.Weigh_ID = (long?)row["Weigh_ID"];
//dmo.WeighTime = (DateTime?)row["WeighTime"];
dmo.StatPay_Date = (DateTime?)row["Date"];
dmo.StatPay_ReceiveMoney = (Money<>?)row["ReceiveMoney"];
dmo.AlreadyReceiveMoney = (Money<>?)row["AlreadyReceiveMoney"];


+ 2
- 2
B3SubstituteKill.Web/Pages/B3SubstituteKill/Bills/SubKillGathering_/SubKillGatheringEdit.cs View File

@ -98,8 +98,8 @@ __DFContainer.setValue('Supplier_Card_ID','');
_detail = vPanel.Add(new DFEditGrid(editor) { Width = Unit.Percentage(100) });
_detail.Columns.Add(new DFEditGridColumn<DFValueLabel>("StatPay_ID"));
_detail.Columns.Add(new DFEditGridColumn<DFValueLabel>("StatPay_Date"));
_detail.Columns.Add(new DFEditGridColumn<DFValueLabel>("Weigh_ID"));
_detail.Columns.EAdd(new DFEditGridColumn<DFValueLabel>("WeighTime"));
//_detail.Columns.Add(new DFEditGridColumn<DFValueLabel>("Weigh_ID"));
//_detail.Columns.EAdd(new DFEditGridColumn<DFValueLabel>("WeighTime"));
_detail.Columns.EAdd(new DFEditGridColumn<DFValueLabel>("StatPay_ReceiveMoney"));
_detail.Columns.EAdd(new DFEditGridColumn<DFValueLabel>("AlreadyReceiveMoney"));
_detail.Columns.EAdd(new DFEditGridColumn<DFTextBox>("ThisReceiveMoney"));


+ 8
- 9
B3SubstituteKill/BO/Bills/SubKillGathering/SubKillGathering_Detail.cs View File

@ -20,22 +20,21 @@ namespace BWP.B3SubstituteKill.BO
[LogicName("结算单")]
public long? StatPay_ID { get; set; }
[LogicName("结算日期")]
[ReferenceTo(typeof(StatPay), "Date")]
[Join("StatPay_ID", "ID")]
public DateTime? StatPay_Date { get; set; }
[LogicName("过磅时间")]
[ReferenceTo(typeof(StatPay), "WeighTime")]
[Join("StatPay_ID", "ID")]
public DateTime? WeighTime { get; set; }
//[LogicName("过磅时间")]
//[ReferenceTo(typeof(StatPay), "WeighTime")]
//[Join("StatPay_ID", "ID")]
//public DateTime? WeighTime { get; set; }
[LogicName("过磅单")]
[ReferenceTo(typeof(StatPay), "Weigh_ID")]
[Join("StatPay_ID", "ID")]
public long? Weigh_ID { get; set; }
//[LogicName("过磅单")]
//[ReferenceTo(typeof(StatPay), "Weigh_ID")]
//[Join("StatPay_ID", "ID")]
//public long? Weigh_ID { get; set; }
[LogicName("应收金额")]


Loading…
Cancel
Save