{?if $row.status==0?}
<form id="formAdd" method="post">
<input type="hidden" name="dosubmit" value="1">
<input type="hidden" name="id" value="{?$row.id?}">
<table width="100%" class="grid">
	<tr>
		<td class="tdleft" width="80" valign="top">提现信息：</td>
		<td class="gray">
			提现金额：<span class="green fb">{?$row.amount?}</span> 元<br>
			提现帐号：{?$row.account?}
		</td>
	</tr>
	<tr>
		<td class="tdleft" valign="top">帐号核对：</td>
		<td class="gray">
			收&nbsp;款&nbsp;人&nbsp;：{?$account.payee?}<br>
			收款银行：{?$account.bank?}<br>
			收款帐号：{?if $erraccount==1?}<span class="red">{?$account.account?}</span>{?else?}{?$account.account?}{?/if?}
		</td>
	</tr>
	<tr>
		<td class="tdleft">会员余额：</td>
		<td>{?if $erramount==1?}<span class="red">{?$useramount?}</span>{?else?}{?$useramount?}{?/if?} 元</td>
	</tr>
	<tr>
		<td class="tdleft">支付状态：</td>
		<td>
			{?if $erramount==1 || $erraccount==1?}
			<label><input type="radio" class="radio" name="status" value="1" /> 已支付</label>&nbsp;
			<label><input type="radio" class="radio" name="status" value="2" checked /> 未支付</label>
			{?else?}
			<label><input type="radio" class="radio" name="status" value="1" checked /> 已支付</label>&nbsp;
			<label><input type="radio" class="radio" name="status" value="2" /> 未支付</label>
			{?/if?}
		</td>
	</tr>
	<tr>
		<td class="tdleft">备注：</td>
		<td><textarea class="textarea" name="reason" style="width:260px;height:50px;">{?if $erraccount==1?}提现账号不一致，{?/if?}{?if $erramount==1?}会员余额不足，{?/if?}{?$row.reason?}</textarea></td>
	</tr>
</table>
<div><input type="submit" name="submit" id="submit" class="button dodialog" value="提 交"/></div>
</form>
<script type="text/javascript">
$(function(){
	$("#formAdd").ajaxForm({
        dataType: "json",
        success : function(data){
			if(data.flag == 0){
				doTip(data.msg);
			}else{
				window.top.mainframe.location.reload();
				doDialogClose();
			}
        }
    });
})
</script>
{?elseif $row.status==1?}
<table width="100%" class="grid">
	<tr>
		<td class="tdleft" width="100">提现金额：</td>
		<td><span class="green fb">{?$row.amount?}</span> 元</td>
	</tr>
	<tr>
		<td class="tdleft">提现日期：</td>
		<td>{?$row.applytime|date:'Y-m-d H:i'?}</td>
	</tr>
	<tr>
		<td class="tdleft">支付帐号：</td>
		<td>{?$row.account?}</td>
	</tr>
	<tr>
		<td class="tdleft">支付日期：</td>
		<td>{?$row.paytime|date:'Y-m-d H:i'?}</td>
	</tr>
	<tr>
		<td class="tdleft" valign="top">备注：</td>
		<td>{?$row.reason|nl2br?}</td>
	</tr>
</table>
{?else?}
<table width="100%" class="grid">
	<tr>
		<td class="tdleft" width="100">提现金额：</td>
		<td><span class="green fb">{?$row.amount?}</span> 元</td>
	</tr>
	<tr>
		<td class="tdleft">提现日期：</td>
		<td>{?$row.applytime|date:'Y-m-d H:i'?}</td>
	</tr>
	<tr>
		<td class="tdleft">提现帐号：</td>
		<td>{?$row.account?}</td>
	</tr>
	<tr>
		<td class="tdleft">处理日期：</td>
		<td>{?$row.paytime|date:'Y-m-d H:i'?}</td>
	</tr>
	<tr>
		<td class="tdleft" valign="top">备注：</td>
		<td>{?$row.reason|nl2br?}</td>
	</tr>
</table>
{?/if?}