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