93 lines
4.8 KiB
Plaintext
93 lines
4.8 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Wages_browse.aspx.cs" Inherits="Wages_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>
|
|
<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 type="text/javascript">
|
|
//调用添加方法
|
|
function setbcbd() {
|
|
$("#<%=severbc.ClientID%>").click();
|
|
}
|
|
function pd() {
|
|
var jsonStr2 = "";
|
|
jsonStr2 += "[";
|
|
$("#gjfytb td").each(function () {
|
|
if ($(this).children().length > 0) {
|
|
jsonStr2 += "{";
|
|
jsonStr2 += "\"cpid\":\"0\",";
|
|
jsonStr2 += "\"gjmc\":\"" + $(this).find('input').attr("name") + "\",";
|
|
jsonStr2 += "\"gjjg\":\"" + $(this).find('input').val() + "\",";
|
|
jsonStr2 += "},";
|
|
}
|
|
});
|
|
jsonStr2 = jsonStr2.substring(0, jsonStr2.length - 1);
|
|
jsonStr2 += "]";
|
|
document.getElementById("gjxxhd").value = jsonStr2;
|
|
|
|
}
|
|
|
|
</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="Wages_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>
|
|
</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><input type='text' id='cpbh' readonly runat=server class="tbinput_hx" /></td>
|
|
<td class="wktblm"><span>产品名称</span></td><td><input type='text' id='cpmc' readonly runat=server class="tbinput_hx" /></td>
|
|
<td class="wktblm"><span>产品种类</span></td><td><input type='text' id='cpzl' readonly runat=server class="tbinput_hx" /></td>
|
|
<td class="wktblm"><span>规格</span></td><td><input type='text' id='guige' readonly runat=server class="tbinput_hx" /></td>
|
|
<td class="wktblm"><span>重量</span></td><td><input type='text' id='zhongliang' readonly runat=server class="tbinput_hx" /></td>
|
|
<td class="wktblm"><span>体积</span></td><td><input type='text' id='tiji' readonly runat=server class="tbinput_hx" /></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 class="nrdiv" id="gjxx" runat="server" style="display: block; "> </div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<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="gjxxhd" runat="server" Value="" />
|
|
<asp:HiddenField ID="id" runat="server" Value="" />
|
|
<script src="../Js/messageshow.js" type="text/javascript"></script>
|
|
</form>
|
|
</body>
|
|
</html>
|