| | |
| | | </div> |
| | | <div class="form-group classes-span classes-span-1"> |
| | | <label class="col-sm-2 control-label"> |
| | | 用户余额</label> |
| | | 客户余额</label> |
| | | <div class="col-sm-6"> |
| | | <div class="input-group"> |
| | | <input type="text" class="form-control" value="<%=(double)Balance/1000 %>" |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="form-group classes-span classes-span-1"> |
| | | <label class="col-sm-2 control-label"> |
| | | 充值金额</label> |
| | | <div class="col-sm-6"> |
| | | <div class="input-group"> |
| | | <input type="text" class="form-control" name="payAmount" id="payAmount" value="" maxlength="10" |
| | | onkeyup="value=value.replace(/[^\d\.]/g,'')" onpaste="value=value.replace(/[^\d\.]/g,'')" |
| | | oncontextmenu="return false" /><span class="input-group-addon">元 </span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <label class="col-sm-2 control-label"> |
| | | 订单基本条数</label> |
| | | <div class="col-sm-6"> |
| | | <div class="input-group"> |
| | | <input type="text" class="form-control" name="basicNum" id="basicNum" value="" maxlength="5" |
| | | <input type="text" class="form-control" name="basicNum" id="basicNum" value="" maxlength="10" |
| | | onkeyup="value=value.replace(/[^\d\.]/g,'')" onpaste="value=value.replace(/[^\d\.]/g,'')" |
| | | oncontextmenu="return false" /><span class="input-group-addon">条 </span> |
| | | </div> |
| | |
| | | 订单赠送条数</label> |
| | | <div class="col-sm-6"> |
| | | <div class="input-group"> |
| | | <input type="text" class="form-control" name="givingNum" id="givingNum" value="" maxlength="5" |
| | | <input type="text" class="form-control" name="givingNum" id="givingNum" value="" maxlength="10" |
| | | onkeyup="value=value.replace(/[^\d\.]/g,'')" onpaste="value=value.replace(/[^\d\.]/g,'')" |
| | | oncontextmenu="return false" /><span class="input-group-addon">条 </span> |
| | | </div> |
| | |
| | | |
| | | var spId = $("#spId").val(); |
| | | var clientId = $("#clientId").val(); |
| | | var productId = $("#productId").val(); |
| | | var productId = $("#productId").val(); |
| | | var price = $("#price").val(); |
| | | var payAmount = $("#payAmount").val(); |
| | | var basicNum = $("#basicNum").val(); |
| | | var givingNum = $("#givingNum").val(); |
| | | var remark = $("#remark").val(); |
| | |
| | | |
| | | if (b) { |
| | | |
| | | $.post("gwOrder.ashx", { action: "add", spId: spId, clientId: clientId, productId: productId, basicNum: basicNum, givingNum: givingNum, remark: remark }, function (r) { |
| | | $.post("gwOrder.ashx", { action: "add", spId: spId, clientId: clientId, productId: productId, price: price, payAmount:payAmount, basicNum: basicNum, givingNum: givingNum, remark: remark }, function (r) { |
| | | |
| | | mytek.alert(r.Message, r.OK, function () { |
| | | //loadPageList(); |
| | | if (r.OK) { |
| | | window.location = "GwSp.aspx"; |
| | | } else { |
| | | mytek.alert(r.Message, false); |
| | | } |
| | | }); |
| | | |
| | | }); |