|
|
@ -11,6 +11,14 @@
|
|
|
|
<link rel="stylesheet" type="text/css" href="../themes/icon.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="../themes/icon.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="../themes/New.css?a=1" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="../themes/New.css?a=1" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="../themes/DataGrid.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="../themes/DataGrid.css" />
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
.otherPirce{
|
|
|
|
|
|
|
|
color: red;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.otherPirce[otherPirce=""] {
|
|
|
|
|
|
|
|
display:none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
<script src="../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
|
|
|
|
<script src="../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
|
|
|
|
<script src="../Scripts/jquery.min.js" type="text/javascript"></script>
|
|
|
|
<script src="../Scripts/jquery.min.js" type="text/javascript"></script>
|
|
|
|
<script src="../Scripts/jquery.easyui.min.js" type="text/javascript"></script>
|
|
|
|
<script src="../Scripts/jquery.easyui.min.js" type="text/javascript"></script>
|
|
|
@ -1201,7 +1209,7 @@
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
col.HeaderText = "订单金额";
|
|
|
|
col.HeaderText = "订单金额";
|
|
|
|
col.CellTemplate = "<span>{Bind TotalPrice}{Bind MoneyCode}</span>";
|
|
|
|
col.CellTemplate = `<span>{Bind TotalPrice}<span class="otherPirce" otherPirce="otherPirce">{Bind otherPirce}</span>{Bind MoneyCode}</span>`;
|
|
|
|
col.SortExpression = "TotalPrice";
|
|
|
|
col.SortExpression = "TotalPrice";
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
@ -1437,6 +1445,12 @@
|
|
|
|
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
|
|
|
|
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
|
|
|
|
success: function (data) {
|
|
|
|
success: function (data) {
|
|
|
|
WindowLoadModel.Hide();
|
|
|
|
WindowLoadModel.Hide();
|
|
|
|
|
|
|
|
data.d.DataSource = data.d.DataSource.map(it => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
...it,
|
|
|
|
|
|
|
|
otherPirce: it.PlatId == 22 && it.TotalPrice<30 ? "+2.99" : ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
datagrid1.Set_RowCount(data.d.RowCount);
|
|
|
|
datagrid1.Set_RowCount(data.d.RowCount);
|
|
|
|
datagrid1.DataBind(data.d.DataSource);
|
|
|
|
datagrid1.DataBind(data.d.DataSource);
|
|
|
|
if (param.IsDetail == 1)
|
|
|
|
if (param.IsDetail == 1)
|
|
|
|