日期:2014-05-17 浏览次数:20611 次
$.each(data.TableInfo, function (key, val) { $("<tr><td style='color:#fd9b3b;'>¥" + Subtotal(val.OPrice, val.ONo) + "</td></tr>").appendTo("#jsSJ"); });
function Subtotal(pric, No) { var jieguo = 0; $.ajax({ type: "post", url: "../ApplicationProcessing/Subtotal.ashx?time=" + new Date().valueOf(), dataType: "text", date: { price: pric, shuLiang: No }, success: function (data) { jieguo = data; }}); return jieguo; }