Browse Source

调整

master
yibo 7 years ago
parent
commit
61cff05366
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      B3SheepButcherManage.Web/Pages/B3SheepButcherManage/Bills/StatPay_/StatPayEdit.cs

+ 3
- 3
B3SheepButcherManage.Web/Pages/B3SheepButcherManage/Bills/StatPay_/StatPayEdit.cs View File

@ -432,7 +432,7 @@ __DFContainer.getControl('Employee_ID').fill('','');
{ {
var itemId = long.Parse(e.Control.Value); var itemId = long.Parse(e.Control.Value);
SetExceptionByRewardItemId(Dmo, itemId); SetExceptionByRewardItemId(Dmo, itemId);
_exceptionGrid.DataBind();
_otherRewardGrid.DataBind();
} }
}; };
}; };
@ -497,12 +497,12 @@ __DFContainer.getControl('Employee_ID').fill('','');
if (string.IsNullOrEmpty(item.Item2)) if (string.IsNullOrEmpty(item.Item2))
continue; continue;
runner.Global["奖罚依据"] = ""; runner.Global["奖罚依据"] = "";
runner.Execute(item.Item1);
runner.Execute(item.Item2);
var bType = TypeMarshal.AsString(runner.Global["奖罚依据"]); var bType = TypeMarshal.AsString(runner.Global["奖罚依据"]);
if (bType == "羊结算单") if (bType == "羊结算单")
{ {
runner.Global["单价"] = 0m; runner.Global["单价"] = 0m;
runner.Execute(item.Item2);
runner.Execute(item.Item1);
var price = TypeMarshal.AsNumber(runner.Global["单价"]); var price = TypeMarshal.AsNumber(runner.Global["单价"]);
detail.Price = price; detail.Price = price;
if (price == 0) if (price == 0)


Loading…
Cancel
Save