<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SellerRefund.aspx.cs" Inherits="CY.WebForm.Pages.business.SellerRefund" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head runat="server">
|
<title>卖家退款</title>
|
<script src="../../js/utils/jquery-1.5.1.min.js" type="text/javascript"></script>
|
<script type="text/javascript">
|
parent.getmod = function (id) { return document.getElementById(id); };
|
var maxmoney = '<%=Request["maxmoney"] %>';
|
function IsMoneyMuch(txt) {
|
var inputDecimal = parseFloat(txt.value);
|
maxmoney = parseFloat(maxmoney);
|
if (isNaN(maxmoney)) {
|
alertMsg('页面错误!请重新操作!');
|
parent.global.delayrefresh(); return;
|
} else;
|
txt.value = isNaN(inputDecimal) ? 0 : txt.value; var isWin = true;
|
if (0 == inputDecimal || 0.01 > inputDecimal) {
|
alertMsg('输入金额不在受理范围内!请重新输入!');
|
txt.focus(); return;
|
} else;
|
try { isWin -= eval(parent['checkmoneynext']); } catch (e) { }
|
if (isNaN(isWin) && inputDecimal > maxmoney) {
|
alertMsg('您的输入退款金额大于买家在线支付金额,<br/>为了您的切身利益请您仔细复查输入金额!');
|
}
|
|
|
}
|
$(function () {
|
var txtPrice = document.getElementById('txtPayablePrice');
|
txtPrice.value = maxmoney;
|
txtPrice.focus();
|
});
|
|
</script>
|
<script src="../../js/common/util.js" type="text/javascript"></script>
|
<link href="../../Styles/base.css" rel="stylesheet" type="text/css" />
|
<link href="../../Styles/changes.css" rel="stylesheet" type="text/css" />
|
</head>
|
<body>
|
<form id="form1" runat="server">
|
<div>
|
<table class="formTable" cellspacing="0" cellpadding="0" width="100%" border="0" >
|
<tr>
|
<td class="tdk">
|
退还金额
|
</td>
|
<td>
|
<input id='txtPayablePrice' runat="server" maxlength='9' value='' onblur='ValidateDecimal(this);IsMoneyMuch(this);' />
|
</td>
|
</tr>
|
<tr>
|
<td class="tdk">
|
支付码
|
</td>
|
<td colspan="3">
|
<input id='txtPayPwd' type="password" maxlength='30' />
|
<input id='txtPwdCode' type="hidden" runat="server" />
|
<input id="btnSubmit" type="button" runat="server" style='display: none;' title='打款给买家'
|
class="payBtn" value="" />
|
</td>
|
</tr>
|
</table>
|
</div>
|
</form>
|
</body>
|
</html>
|