<!--#include virtual="/incs/config.asp"-->
<!--#include virtual="/incs/top.asp"-->
<% chk_log()
chk_newpwr 4,11,2
%>
<%
unme=trim(SafeRequest("unme"))
gnme=trim(SafeRequest("gnme"))
grd=trim(SafeRequest("grd"))
gid=trim(SafeRequest("gid"))
fid=SafeRequest("fid")
query="select * from v_fnclst where f_id="&fid
conn.open constr
rs.open query,conn,1,1
if rs.recordcount<>1 then
call errorpage(-2,"对不起,该记录不存在或者您无权操作!")
end if
session("fnctag")="YES"

%>
<table cellspacing=2 cellpadding=0 width="100%" border=0>
  <tbody> 
  <tr> 
    <td  colspan=2 valign="middle"> 
      <table class=line cellspacing=0 cellpadding=0 width="100%" 
                  border=0 align="center">
        <tbody> 
        <tr> 
          <td valign=bottom width="25%" height=20><font color="#000000" class=ddropshadow><b><span class=enbold><strong>财务编辑</strong></span></b></font></td>
          <td valign=bottom noWrap align=right 
                        width="75%"> <a href="fnc_lst.asp?unme=<%=unme%>&grd=<%=grd%>&gnme=<%=gnme%>&gid=<%=gid%>" class=commonface >财务流水</a> 
            | <a href="fnc_ruk.asp?unme=<%=unme%>&grd=<%=grd%>&gnme=<%=gnme%>&gid=<%=gid%>" class=commonface  ><font color="#FF0000">汇款入帐</font></a> 
            | <a href="fnc_kou.asp?unme=<%=unme%>&grd=<%=grd%>&gnme=<%=gnme%>&gid=<%=gid%>"  class=commonface ><font color="#FF0000">业务扣款</font></a> 
            | <a href="fnc_tui_ruk.asp?unme=<%=unme%>&grd=<%=grd%>&gnme=<%=gnme%>&gid=<%=gid%>"  class=commonface >退款入户</a> 
            | <a href="fnc_tui.asp?unme=<%=unme%>&grd=<%=grd%>&gnme=<%=gnme%>&gid=<%=gid%>"  class=commonface >退款出帐</a> 
            | <a href="fnc_fan.asp?unme=<%=unme%>&grd=<%=grd%>&gnme=<%=gnme%>&gid=<%=gid%>"  class=commonface >优惠返款</a> 
            | <a href="fnc_brw.asp?unme=<%=unme%>&grd=<%=grd%>&gnme=<%=gnme%>&gid=<%=gid%>"  class=commonface >资金借用</a> 
            | <a href="fnc_hua.asp?unme=<%=unme%>&grd=<%=grd%>&gnme=<%=gnme%>&gid=<%=gid%>"  class=commonface >借款归还</a> 
            | <a href="fnc_don.asp?unme=<%=unme%>&grd=<%=grd%>&gnme=<%=gnme%>&gid=<%=gid%>" class=commonface >冻结资金</a> 
            | <a href="fnc_jie.asp?unme=<%=unme%>&grd=<%=grd%>&gnme=<%=gnme%>&gid=<%=gid%>" class=commonface >解除冻结</a> 
            | <a href="fnc_mem.asp" class=commonface  >会员列表</a></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=5></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=2 class=menuline></td>
        </tr>
        </tbody> 
      </table>
      <br>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="middle" align="center" > 
      <table border=0 cellpadding=0 
                        cellspacing=0 width="60%" bordercolordark="#FFFFFF" align="center"  class=datalist>
        <form action=fnc_mng.asp method=post name=fncmng >
          <tr> 
            <th width="30%" height="20" class=datalistheader > 财务编号 </th>
            <th  style="line-height:160%" class=datalistheader  ><%=rs("f_id")%></th>
          </tr>
          <tr > 
            <td align=center  class=datalistgridb >发生金额</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_pay" type="text" value="<%=rs("f_pay")%>">
              <input class=normalform size=28 type="hidden" name="module" value="fnc_edt">
              <input class=normalform size=28 name="fid" type="hidden" id="fid" value="<%=fid%>">
            </td>
          </tr>
          <tr > 
            <td align=center  class=datalistgridb >发生成本</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_cst" type="text" value="<%=rs("f_cst")%>">
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >财务类型</td>
            <td class=datalistgridb > 
              <select name="f_tpe">
                <option value="1" <%if rs("f_tpe")=1 then
								response.write " selected"
								end if %>>入款</option>
                <option value="5"  <%if rs("f_tpe")=5 then
								response.write " selected"
								end if %>>退出</option>
                <option value="8"  <%if rs("f_tpe")=8 then
								response.write " selected"
								end if %>>退入</option>
                <option value="0"  <%if rs("f_tpe")=0 then
								response.write " selected"
								end if %>>扣款</option>
                <option value="4"  <%if rs("f_tpe")=4 then
								response.write " selected"
								end if %>>返款</option>
                <option value="2"  <%if rs("f_tpe")=2 then
								response.write " selected"
								end if %>>借款</option>
                <option value="3"  <%if rs("f_tpe")=3 then
								response.write " selected"
								end if %>>还款</option>
                <option value="6"  <%if rs("f_tpe")=6 then
								response.write " selected"
								end if %>>冻结</option>
                <option value="7"  <%if rs("f_tpe")=7 then
								response.write " selected"
								end if %>>解冻</option>
              </select>
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >财务事由</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_ttl" type="text" value="<%=rs("f_ttl")%>">
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >补充说明</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_cnt" type="text" value="<%=rs("f_cnt")%>">
            </td>
          </tr>
          <tr > 
     
            <td align=center class=datalistgridb >会员名称</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_unme" type="text" value="<%=rs("f_unme")%>">
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >产品编号</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_prd" type="text"  value="<%=rs("f_prd")%>">
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >购买时间</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_yarcnt" type="text"  value="<%=rs("f_yarcnt")%>">
              年/个月/份 </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >实际余额</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_rmn" type="text"  value="<%=rs("f_rmn")%>">
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >借款资金</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_brw" type="text"  value="<%=rs("f_brw")%>">
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >冻结资金</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_lck" type="text"  value="<%=rs("f_lck")%>">
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >可用资金</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_avl" type="text"  value="<%=rs("f_avl")%>">
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >浮动资金</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_tmp" type="text"  value="<%=rs("f_tmp")%>">
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >返款总额</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_prz" type="text"  value="<%=rs("f_prz")%>">
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >消费总额</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_usd" type="text"  value="<%=rs("f_usd")%>">
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >入款总额</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_all" type="text"  value="<%=rs("f_all")%>">
            </td>
          </tr>
          <tr > 
            <td align=center class=datalistgridb >凭证号码</td>
            <td class=datalistgridb > 
              <input class=normalform size=28 name="f_cid" type="text"  value="<%=rs("f_cid")%>">
            </td>
          </tr>
        </form>
      </table>
      <div align="center"><br>
        <br>
      </div>
      <input  type="button" name="Submit" value="确 定" onclick="javascript:document.fncmng.submit();" class=btxx>
      <input  type="button" name="Submit2" value="重 置" onclick="javascript:document.fncmng.reset();"  class=btxx>
      <div align="center"><br>
      </div>
      <table border=0 cellpadding=0 
                        cellspacing=0 width="90%" bordercolordark="#FFFFFF" align="center"  class=datalist>
        <tbody> 
        <tr> 
          <th width="15%" height="20" class=datalistheader > 
            <div align="center">操作类型*</div>
          </th>
          <th  style="line-height:160%" class=datalistheader align="center" > 
            <div align="center">可用金额 </div>
          </th>
          <th style="line-height:150%"  class=datalistheader align="center" >帐户余额</th>
          <th style="line-height:150%"  class=datalistheader align="center" >浮动金额</th>
          <th style="line-height:150%"  class=datalistheader align="center" >返款总额</th>
          <th style="line-height:150%"  class=datalistheader align="center" >冻结金额</th>
          <th style="line-height:150%"  class=datalistheader align="center" >借款金额</th>
          <th style="line-height:150%"  class=datalistheader align="center" > 
            消费总额</th>
          <th style="line-height:150%"  class=datalistheader align="center" > 
            汇款总额</th>
        </tr>
        <tr > 
          <td  align=center class=datalistgridb height="22" >汇款入帐(真实到帐)</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
        </tr>
        <tr > 
          <td  align=center class=datalistgridb height="22" >汇款入帐(未到帐)</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
        </tr>
        <tr > 
          <td  align=center class=datalistgridb height="22" >汇款入帐(到帐确认)</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb ><b><font color="#FF0000">-</font></b></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
        </tr>
        <tr > 
          <td  align=center class=datalistgridb height="22" >退款出帐</td>
          <td  align=center class=datalistgridb ><b><font color="#FF0000">-</font></b></td>
          <td  align=center class=datalistgridb ><b><font color="#FF0000">-</font></b></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb ><b><font color="#FF0000">-</font></b></td>
        </tr>
        <tr > 
          <td  align=center class=datalistgridb height="22" >退款入户</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb ><b><font color="#FF0000">-</font></b></td>
          <td  align=center class=datalistgridb >X</td>
        </tr>
        <tr > 
          <td  align=center class=datalistgridb height="22" >业务扣款</td>
          <td  align=center class=datalistgridb ><b><font color="#FF0000">-</font></b></td>
          <td  align=center class=datalistgridb ><b><font color="#FF0000">-</font></b></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb >X</td>
        </tr>
        <tr > 
          <td  align=center class=datalistgridb height="22" >优惠返款</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
        </tr>
        <tr > 
          <td  align=center class=datalistgridb height="22" >资金借用</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
        </tr>
        <tr > 
          <td  align=center class=datalistgridb height="22" >借款归还</td>
          <td  align=center class=datalistgridb ><b><font color="#FF0000">-</font></b></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb ><b><font color="#FF0000">-</font></b></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
        </tr>
        <tr > 
          <td  align=center class=datalistgridb height="22" >资金冻结</td>
          <td  align=center class=datalistgridb ><b><font color="#FF0000">-</font></b></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
        </tr>
        <tr > 
          <td  align=center class=datalistgridb height="22" >解除冻结</td>
          <td  align=center class=datalistgridb ><font color="#FF0000"><b>+</b></font></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb ><b><font color="#FF0000">-</font></b></td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
          <td  align=center class=datalistgridb >X</td>
        </tr>
        </tbody> 
      </table>
      <br>
      注：<font color="#FF0000"><b>+</b></font> 表示资金增加 <b><font color="#FF0000">-</font></b> 
      表示资金减少 X 表示资金不变</td>
  </tr>
  </tbody> 
</table>
<!--#include virtual="/incs/bottom.asp"-->



