2024-05-20 17:40:13 +08:00
|
|
|
<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="TcOrder_Form.aspx.cs"
|
|
|
|
Inherits="TcOrder_Form" %>
|
2024-05-18 15:28:29 +08:00
|
|
|
|
2024-05-20 17:40:13 +08:00
|
|
|
<!DOCTYPE html
|
|
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2024-05-18 15:28:29 +08:00
|
|
|
|
2024-05-20 17:40:13 +08:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
2024-05-18 15:28:29 +08:00
|
|
|
|
2024-05-20 17:40:13 +08:00
|
|
|
<head runat="server">
|
|
|
|
<title></title>
|
|
|
|
<link href="../Css/index.css" rel="stylesheet" type="text/css" />
|
|
|
|
<link href="../Css/edit.css" rel="stylesheet" type="text/css" />
|
|
|
|
<script src="../Js/Calendar3.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="../Jquery-ui/css/pepper-grinder/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
|
|
|
|
<script src="../Js/commonality.js" type="text/javascript"></script>
|
|
|
|
<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">
|
|
|
|
$(document).ready(function () {
|
|
|
|
$("#lxr").change(function () {
|
|
|
|
$("#lxfs").val($(this).find("option:selected").attr("tag"));
|
|
|
|
var checkText = $(this).find("option:selected").text();
|
|
|
|
$("#lxrvalue").val(checkText);
|
|
|
|
})
|
|
|
|
var lxrcode = "<%=fanhuicode %>";
|
|
|
|
$("#lxr").html(lxrcode);
|
|
|
|
cpxmscfs = "<%=hqyscpscfs()%>";
|
|
|
|
if ($("#khid").val != '') {
|
|
|
|
var lxrcode = "<%=fanhuicode %>";
|
|
|
|
$("#lxr").html(lxrcode);
|
|
|
|
}
|
|
|
|
$("#select_dddetail").dblclick(function () {
|
|
|
|
doAction();
|
2024-05-18 15:28:29 +08:00
|
|
|
|
2024-05-20 17:40:13 +08:00
|
|
|
})
|
2024-05-18 15:28:29 +08:00
|
|
|
|
2024-05-20 17:40:13 +08:00
|
|
|
|
|
|
|
})
|
|
|
|
function seleckehu() {
|
|
|
|
$("#dialog-modal").dialog({
|
|
|
|
resizable: false,
|
|
|
|
height: 510,
|
|
|
|
width: 1230,
|
|
|
|
modal: true,
|
|
|
|
close: function () {
|
|
|
|
$(".ui-widget-overlay").css("display", "none");
|
|
|
|
}
|
|
|
|
});
|
|
|
|
//用来弹出层条件框获取焦点
|
|
|
|
dialogfocus('ifa_kh');
|
|
|
|
}
|
|
|
|
function selecttccp(hang) {
|
|
|
|
$("#dialogcp").attr("tag", hang);
|
|
|
|
$("#dialogcp").dialog({
|
|
|
|
resizable: false,
|
|
|
|
height: 510,
|
|
|
|
width: 1230,
|
|
|
|
modal: true,
|
|
|
|
close: function () {
|
|
|
|
$(".ui-widget-overlay").css("display", "none");
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
if ($("#mxlx" + hang).val() == "产品") {
|
|
|
|
$("#selectcp").attr("src", "../ddselect/Product_list.aspx");
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$("#selectcp").attr("src", "../ddselect/Suite_list.aspx");
|
|
|
|
}
|
|
|
|
//用来弹出层条件框获取焦点
|
|
|
|
dialogfocus('selectcp');
|
|
|
|
}
|
|
|
|
//调用添加方法
|
|
|
|
function setbcbd() {
|
|
|
|
$("#<%=severbc.ClientID%>").click();
|
|
|
|
}
|
2024-07-02 21:50:46 +08:00
|
|
|
function baozhuang(item) {
|
|
|
|
if (item != null) {
|
|
|
|
console.log(item.parentElement);
|
|
|
|
}
|
|
|
|
}
|
2024-05-20 17:40:13 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<form id="form" runat="server">
|
|
|
|
<div class="rtbjdiv">
|
|
|
|
<div class="add-top">
|
|
|
|
<div class="add-top-dh" id="div_listdaohang">
|
|
|
|
<h4>合同订单表单页   </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="#button" id="bt_tj" onclick="setbcbd()" class="button icon log">保存</a>
|
|
|
|
<a href="#button" id="chongzhi" onclick="form.reset();" style=" width:60px; "
|
|
|
|
class=" button icon reload">重置表单</a>
|
|
|
|
<a href="#button" id="fanhui" onclick="history.back();" style=" width:60px; "
|
|
|
|
class="button icon arrowleft">返回上级</a>
|
|
|
|
<asp:label id="z_error" CssClass="error" runat="server"></asp:label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="alert-tip">
|
|
|
|
<b>温馨提示:</b>
|
|
|
|
<p>• 信息表单中加*号红色标题框为必填项,为了可以顺利保存信息,请您注意填写红色栏目中的信息</p>
|
|
|
|
<p>• 系统合同订单结算提醒将根据结账日期发起提醒</p>
|
|
|
|
<p>• 产品项目中,点选产品时将根据项目类型提取对应产品</p>
|
|
|
|
</div>
|
|
|
|
<div id="dd_kong" style=" overflow:auto;">
|
|
|
|
<table class="bule">
|
|
|
|
<tr class="tdlietou">
|
|
|
|
<td>
|
|
|
|
<h4>合同订单基本信息</h4>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table class="tablewk">
|
|
|
|
<tr>
|
|
|
|
<td style=" height:20px" colspan="13"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="wktblm"><span>单据编号</span></td>
|
|
|
|
<td>
|
|
|
|
<asp:TextBox id="bh" runat="server" CssClass="tbinput_hx" ReadOnly Text="自动生成">
|
|
|
|
</asp:TextBox>
|
|
|
|
</td>
|
|
|
|
<td class="wktblm"><span>单据名称</span></td>
|
|
|
|
<td>
|
|
|
|
<asp:TextBox id="djmc" runat="server" CssClass="tbinput"></asp:TextBox>
|
|
|
|
</td>
|
|
|
|
<td class="wktblm"><span>订单类型</span></td>
|
|
|
|
<td>
|
|
|
|
<asp:dropdownlist id="ddlx" runat="server" CssClass="tbinput_xl"></asp:dropdownlist>
|
|
|
|
</td>
|
|
|
|
<td class="wktblm"><span>订单状态</span></td>
|
|
|
|
<td>
|
|
|
|
<asp:TextBox id="ddzt" runat="server" ReadOnly ForeColor="Gray" CssClass="tbinput_hx">
|
|
|
|
</asp:TextBox>
|
|
|
|
</td>
|
|
|
|
<td class="wktblm"><span>
|
|
|
|
<font>*客户编号</font>
|
|
|
|
</span></td>
|
|
|
|
<td class="content" onclick="seleckehu()"> <input type="text" id="khbh" readonly
|
|
|
|
runat=server Class="tbinput_bt" runat=server /> </td>
|
|
|
|
<td class="wktblm"><span>客户名称</span></td>
|
|
|
|
<td onclick="seleckehu()"> <input type="text" id="khmc" readonly runat=server
|
|
|
|
Class="tbinput_hx" /> </td>
|
|
|
|
<td class="tdjj5">  </td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="wktblm"><span>联系人</span></td>
|
|
|
|
<td> <input type="text" id="lxrvalue" style=" display:none;" readonly runat=server />
|
|
|
|
<asp:dropdownlist id="lxr" runat="server" CssClass="tbinput_xl"></asp:dropdownlist>
|
|
|
|
</td>
|
|
|
|
<td class="wktblm"><span>联系方式</span></td>
|
|
|
|
<td> <input type="text" id="lxfs" readonly runat=server Class="tbinput" /> </td>
|
|
|
|
<td class="wktblm"><span>下单日期</span></td>
|
|
|
|
<td><input name='control_date' type='text' id='xdrq' size='10' maxlength='10'
|
|
|
|
style=" color:Gray" readonly='readonly' runat=server class="tbinput_hx" /></td>
|
|
|
|
<td class="wktblm"><span>
|
|
|
|
<font>*业务员</font>
|
|
|
|
</span></td>
|
|
|
|
<td> <input type="text" id="ywy" readonly runat=server Class="tbinput_bt" /> </td>
|
|
|
|
<td class="wktblm"><span>
|
|
|
|
<font>*制单人
|
|
|
|
</span></font>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<asp:TextBox id="zdr" runat="server" CssClass="tbinput_bt"></asp:TextBox>
|
|
|
|
</td>
|
|
|
|
<td class="wktblm"><span>审核人</span></td>
|
|
|
|
<td>
|
|
|
|
<asp:TextBox id="shr" runat="server" ForeColor="Gray" ReadOnly CssClass="tbinput_hx">
|
|
|
|
</asp:TextBox>
|
|
|
|
</td>
|
|
|
|
<td class="tdjj5">  </td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="wktblm"><span>
|
|
|
|
<font>*结账日期</font>
|
|
|
|
</span></td>
|
|
|
|
<td class="content"><input name='control_date' type='text' id='jzrq' size='10'
|
|
|
|
maxlength='10' onclick='new Calendar().show(this);' readonly='readonly' runat=server
|
|
|
|
class="tbinput_bt" /></td>
|
|
|
|
<td class="wktblm"><span>审核结果</span></td>
|
|
|
|
<td>
|
|
|
|
<asp:TextBox id="shjg" ForeColor="Gray" runat="server" ReadOnly CssClass="tbinput_hx">
|
|
|
|
</asp:TextBox>
|
|
|
|
</td>
|
|
|
|
<td class="wktblm"><span>审核意见</span></td>
|
|
|
|
<td colspan="3">
|
|
|
|
<asp:TextBox id="shyj" ForeColor="Gray" runat="server" ReadOnly CssClass="tbinput_hx">
|
|
|
|
</asp:TextBox>
|
|
|
|
</td>
|
|
|
|
<td class="wktblm"><span>订单备注</span></td>
|
|
|
|
<td colspan="3">
|
|
|
|
<asp:TextBox id="ddbz" runat="server" CssClass="tbinput"></asp:TextBox>
|
|
|
|
</td>
|
|
|
|
<td class="tdjj5">  </td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td style=" height:20px" colspan="13"></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 width='100'><span>订单总金额</span></td>
|
|
|
|
<td><input type="text" id="ddzje" readonly runat=server Class="inpittxt_hx" /></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="dialog-modal" title="选择客户" style="overflow:hidden; display:none;">
|
|
|
|
<iframe src="../ddselect/kehu_list.aspx" frameborder="no" border="0"
|
|
|
|
style="height:500px;width:100%;overflow:hidden; " scrolling="no" id="ifa_kh"></iframe>
|
|
|
|
</div>
|
|
|
|
<div id="dialogcp" title="选择产品" style="overflow:hidden; display:none;">
|
|
|
|
<iframe src="../ddselect/Product_list.aspx" frameborder="no" border="0"
|
|
|
|
style="height:500px;width:100%;overflow:hidden" scrolling="no" id="selectcp"></iframe>
|
|
|
|
</div>
|
2024-07-02 21:50:46 +08:00
|
|
|
<div id="dialogBaozhuang" title="包装信息" style="overflow:hidden; display:none;">
|
|
|
|
<iframe src="../ddselect/Product_list.aspx" frameborder="no" border="0"
|
|
|
|
style="height:500px;width:100%;overflow:hidden" scrolling="no" id="baozhuangxinxi"></iframe>
|
|
|
|
</div>
|
2024-05-20 17:40:13 +08:00
|
|
|
<span style=" display:none">
|
|
|
|
<asp:button id="severbc" runat="server" CssClass="button bluez small" Text="保存"
|
|
|
|
OnClientClick="return pd()" onclick="bt_tj_Click"></asp:button>
|
|
|
|
</span>
|
|
|
|
<asp:HiddenField ID="id" runat="server" />
|
|
|
|
<asp:HiddenField ID="cpxmhd" runat="server" />
|
|
|
|
<asp:HiddenField ID="ddfym" runat="server" />
|
|
|
|
<asp:HiddenField ID="pagename" runat="server" Value="dd" />
|
|
|
|
<asp:HiddenField ID="khid" runat="server" Value="" />
|
|
|
|
<input id="btn_khclose" style="display:none" type=button onclick="$('#dialog-modal').dialog('close');" />
|
|
|
|
<input id="btn_cpclose" style="display:none" type=button onclick="$('#dialogcp').dialog('close');" />
|
|
|
|
<script src="../Js/messageshow.js" type="text/javascript"></script>
|
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|