CeramicProject/newyt/Module_data/TcOrder_browse.aspx

183 lines
9.8 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TcOrder_browse.aspx.cs" Inherits="TcOrder_browse" %>
<!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 id="head21" runat="server">
<title></title>
<script type="text/javascript"></script>
<script src="../Js/jquery-1.4.1.js" type="text/javascript"></script>
<script src="../Jquery-ui/js/jquery-1.10.2.js" type="text/javascript"></script>
<script src="../Jquery-ui/js/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
<link href="../Css/index.css" rel="stylesheet" type="text/css" />
<link href="../Css/detail.css" rel="stylesheet" type="text/css" />
<link href="../Jquery-ui/css/pepper-grinder/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="../Css/gh-buttons.css" type="text/css" />
<link rel="stylesheet" href="../Css/prettify.css" />
<script src="../Js/prettify.js" type="text/javascript"></script>
<script src="../Js/TcOrder.js" type="text/javascript"> </script>
<script type="text/javascript">
function GETTcOrderPrint() {
var url = "../Print_File/TcOrderPrint.aspx?uid=" + $("#id").val();
window.open(url, '合同订单打印', 'height=650,width=1200,top=0,left=100,toolbar=yes,menubar=no,scrollbars=yes, resizable=no,location=no, status=no')
}
function shenghe() {
var xinxi = TcOrder_browse.getxyed($("#bh").text()).value;
if (xinxi == "cg") {
if (confirm("超过了授信额度,是否审核通过?")) {
var jg = TcOrder_browse.ddshtg($("#id").val(), $("#bh").text()).value;
if (jg = "1") {
window.location.href = "TcOrder_browse.aspx?uid=" + $("#id").val();
}
}
} else {
if (confirm("确定要审核通过吗?")) {
var jt = TcOrder_browse.ddshtg($("#id").val(), $("#bh").text()).value
if (jt = "1") {
window.location.href = "TcOrder_browse.aspx?uid=" + $("#id").val();
}
}
}
}
</script>
</head>
<body>
<form id="form" runat="server">
<div class="rtbjdiv">
<div class="add-top">
<div class="add-top-dh" id="div_listdaohang">
<h4>合同订单详细页 &nbsp&nbsp</h4> <a href="TcOrder_list.aspx" id="bt_fhlb" runat="server"
style=" width:65px" class="button icon pin">回到列表</a>
</div>
<div class="add-top-cz">
<a href="TcOrder_Form.aspx" id="bt_add" runat="server" Visible=false
class="button icon add">添加</a>
<a id="dayin" runat="server" style=" width:65px" Visible=false class="button"
onclick="GETTcOrderPrint()">▓&nbsp 打印单据</a>
<asp:button id="scscd" runat="server" Width="80" CssClass="button" Text="下发生产" Visible=false
onclick="scscd_Click"></asp:button>
<asp:button id="bgjilu" runat="server" Width="80" CssClass="button" Text="变更记录" Visible=false
onclick="bg_target"></asp:button>
<asp:button id="zaiban" runat="server" Width="80" CssClass="button" Text="复制订单"
onclick="zaiban_Click" Visible=false></asp:button>
<asp:button id="biangeng" runat="server" CssClass="button" Text="变更"
OnClientClick="return confirm('确定要变更订单吗')" Visible=false onclick="biangeng_Click">
</asp:button>
<asp:button id="tijiao" runat="server" CssClass="button" Text="提交" onclick="tijiao_Click"
OnClientClick="return confirm('确定要提交订单吗')" Visible=false></asp:button>
<input type="button" id="shenhetg" runat="server" class="button" style=" width:80px;"
Visible=false value="审核通过" onclick="shenghe()" />
<asp:button id="shenhebg" runat="server" Width="80" CssClass="button" Text="审核不过"
onclick="shenhebg_Click" OnClientClick="return confirm('确定要审核不过吗')">
</asp:button>
<asp:button id="bt_tj" runat="server" CssClass="button" Text="编辑" onclick="bt_tj_Click"
Visible=false></asp:button>
<asp:button id="shanchu" runat="server" CssClass="button" Text="删除"
OnClientClick="return confirm('确定要删除吗')" onclick="shanchu_Click" Visible=false></asp:button>
<asp:label id="z_error" CssClass="error" runat="server"></asp:label>
</div>
</div>
<div id="dd_kong" style=" overflow:auto;">
<table class="bule">
<tr class="tdlietou">
<td>
<h4>合同订单基本信息</h4>
</td>
</tr>
</table>
<table class="bule">
<tr>
<td><span>单据编号:</span>
<asp:Label id="bh" runat="server"></asp:Label>
</td>
<td><span>单据名称:</span>
<asp:Label id="djmc" runat="server"></asp:Label>
</td>
<td><span>订单类型:</span>
<asp:Label id="ddlx" runat="server"></asp:Label>
</td>
<td><span>订单状态:</span>
<asp:Label id="ddzt" runat="server"></asp:Label>
</td>
<td><span>下单日期:</span>
<asp:Label id="xdrq" runat="server"></asp:Label>
</td>
<td><span>制单人:</span>
<asp:Label id="zdr" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td><span>客户编号:</span>
<asp:Label id="khbh" runat="server"></asp:Label>
</td>
<td><span>客户名称:</span>
<asp:Label id="khmc" runat="server"></asp:Label>
</td>
<td><span>联系人:</span>
<asp:Label id="lxr" runat="server"></asp:Label>
</td>
<td><span>联系方式:</span>
<asp:Label id="lxfs" runat="server"></asp:Label>
</td>
<td><span>业务员:</span>
<asp:Label id="ywy" runat="server"></asp:Label>
</td>
<td><span>审核人:</span>
<asp:Label id="shr" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td><span>结账日期:</span>
<asp:Label id="jzrq" runat="server"></asp:Label>
</td>
<td><span>审核结果:</span>
<asp:Label id="shjg" runat="server"></asp:Label>
</td>
<td><span>审核时间:</span>
<asp:Label id="shsj" runat="server"></asp:Label>
</td>
<td><span>审核意见:</span>
<asp:Label id="shyj" runat="server"></asp:Label>
</td>
<td colspan="2"><span>订单备注:</span>
<asp:Label id="ddbz" runat="server"></asp:Label>
</td>
</tr>
</table>
<table class="bule">
<tr class="tdlietou">
<td>
<h4>产品信息</h4>
</td>
</tr>
</table>
<div id="cpxx" runat="server"></div>
<table class="bule">
<tr class="tdlietou">
<td>
<h4>费用信息</h4>
</td>
</tr>
</table>
<table class="bule">
<tr>
<td><span>订单总金额:</span>
<asp:Label id="ddzje" runat="server"></asp:Label>
</td>
</tr>
</table>
</div>
<asp:HiddenField ID="id" runat="server" Value="" />
<script src="../Js/messageshow.js" type="text/javascript"></script>
</form>
</body>
</html>