日期:2014-05-16 浏览次数:20379 次
<form>
@*<fieldset>
<legend>订单信息</legend>
<table>
<tr><td>订单号:</td><td></td><td>买家:</td><td></td></tr>
<tr><td>下单时间:</td><td></td></tr>
<tr><td>支付状态:</td><td></td><td>交易状态:</td><td></td></tr>
<tr><td>金额:</td><td></td></tr>
<tr><td>实际支付金额:</td><td><input class="easyui-validatebox"/></td></tr>
</table>
</fieldset>*@
<table>@(new HtmlString(ViewBag.h))</table>
</form>
</div>
function show(OrderId) {
var url_str = 'getSgin?OrderId='+OrderId;
$('#formDl').load(url_str, function () {
$(this).dialog({
title: '订单信息',
modal: true,
buttons: '#btns'
});
}).show();
}
public string getSgin(string OrderId)
{
Hashtable hash = new Hashtable();
TWdOrderModel orderDetail = new TWdOrderModel();
TWdOrderService orderService = new TWdOrderService();
orderDetail.OrderId = OrderId;
var sign = orderService.getModel(orderDetail);
string h = "<table><tr><td>订单号:</td><td>" + sign.OrderId + "</td><td>买家:</td><td>" + sign.WuserId + "</td></tr><tr><td>下单时间:</td><td>" + sign.OrderTime + "</td></tr><tr><td>支付状态:</td><td>" + sign.PayState + "</td><td>交易状态:</td><td></td></tr><tr><td>金额:</td><td>" + sign.RealPrice + "</td></tr><tr><td>实际支付金额:</td><td><input class='easyui-validatebox'/></td></tr></table>";
ViewBag.h