129 lines
6.7 KiB
Plaintext
129 lines
6.7 KiB
Plaintext
|
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OutsourcingContract_browse.aspx.cs" Inherits="OutsourcingContract_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 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 type="text/javascript">
|
||
|
$(document).ready(function () {
|
||
|
var winheight = $(window).height();
|
||
|
$("#dd_kong").css("height", winheight - 118);
|
||
|
})
|
||
|
|
||
|
function wxdhs(id) {
|
||
|
if (confirm("是否回收?")) {
|
||
|
$("#dialog-hsinfo").dialog({
|
||
|
resizable: false,
|
||
|
height: 220,
|
||
|
width:400,
|
||
|
modal: true,
|
||
|
buttons: {
|
||
|
确定: function () {
|
||
|
var iscg = OutsourcingContract_browse.uphssl(document.getElementById("id").value, document.getElementById("hssls").value).value;
|
||
|
|
||
|
if (iscg > 0) {
|
||
|
window.location.href = "OutsourcingContract_browse.aspx?uid=" + document.getElementById("id").value;
|
||
|
}
|
||
|
|
||
|
$('#dialog-pkinfo').dialog('close');
|
||
|
}
|
||
|
},
|
||
|
close: function () {
|
||
|
$(".ui-widget-overlay").css("display", "none");
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
function selectdywxd() {
|
||
|
var url = "../Common/wxd_dy.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')
|
||
|
}
|
||
|
</script>
|
||
|
<style type="text/css">
|
||
|
.style1
|
||
|
{
|
||
|
border: 1px solid #cad9ea;
|
||
|
padding: 0 1em 0;
|
||
|
color: #000000;
|
||
|
height: 30px;
|
||
|
}
|
||
|
</style>
|
||
|
</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="OutsourcingContract_list.aspx" id="bt_fhlb" runat="server" style=" width:65px" class="button icon pin">回到列表</a></div>
|
||
|
<div class="add-top-cz" >
|
||
|
<input type=button id="dayin" style=" width:80px;" class="button bluez small" value="打印单据" runat=server visible=false onclick="selectdywxd()" />
|
||
|
<asp:button id="shenhetg" runat="server" Width="80" CssClass="button bluez small" Text="审核通过" onclick="shenhetg_Click" OnClientClick="return confirm('确定要审核通过吗')" Visible=false ></asp:button>
|
||
|
<asp:button id="shenhebg" runat="server" Width="80" CssClass="button bluez small" Text="审核不过" onclick="shenhebg_Click" OnClientClick="return confirm('确定要审核不过吗')" Visible=false ></asp:button>
|
||
|
<asp:button id="bt_bj" runat="server" CssClass="button bluez small" Text="编辑" onclick="bj_Click" Visible=false></asp:button>
|
||
|
<asp:button id="shanchu" runat="server" CssClass="button bluez small" 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="wxdh" runat="server"></asp:Label></td>
|
||
|
<td><span>外协单位:</span><asp:Label id="wxdw" 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="fdrq" runat="server"></asp:Label></td>
|
||
|
<td><span>状态:</span><asp:Label id="zt" runat="server"></asp:Label></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><span>开单人:</span><asp:Label id="kdr" runat="server"></asp:Label></td>
|
||
|
<td><span>审核人:</span><asp:Label id="shr" runat="server"></asp:Label></td>
|
||
|
<td><span>费用总额:</span><asp:Label id="wxfyze" runat="server"></asp:Label></td>
|
||
|
<td colspan="3"><span>质量要求:</span><asp:Label id="zlyq" runat="server"></asp:Label></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="6"><span>备注:</span><asp:Label id="bz" runat="server" ></asp:Label></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<table class="bule"> <tr class="tdlietou"><td><h4>外协项目信息</h4></td></tr></table>
|
||
|
<div class="nrdiv" id="cpxx" runat="server"> </div>
|
||
|
<table class="bule"> <tr class="tdlietou"><td><h4>外协费用信息</h4></td></tr></table>
|
||
|
<div class="nrdiv" id="fyxx" runat=server > </div>
|
||
|
</div>
|
||
|
|
||
|
<div id="dialog-hsinfo" title="回收操作" style="overflow:hidden; display:none;" >
|
||
|
<table border="1" class="bule">
|
||
|
|
||
|
<tr>
|
||
|
|
||
|
<td style ="width:100px">回收数量</td><td class="content" > <input type="text" id="hssls" runat=server Class="text_content" onkeyup="doubleshuru(this);" style="width:180px"/></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" ></iframe>
|
||
|
</div>
|
||
|
<div id="dialog-wuliao" title="选择物料" style="overflow:hidden; display:none;" >
|
||
|
<iframe src="../ddselect/Materiel_list.aspx" frameborder="no" border="0" style="height:500px;width:100%;overflow:hidden" scrolling="no" ></iframe>
|
||
|
</div>
|
||
|
<asp:HiddenField ID="id" runat="server" Value="" />
|
||
|
<script src="../Js/messageshow.js" type="text/javascript"></script>
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|