<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/include/head.jsp"%>
<%@taglib prefix="fm" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>签合同</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<style type="text/css">
.inputclass{border: 0px; border-bottom:1px solid #cccccc; margin-top:8px;}
table {
border: 0px solid #000000;
padding:0;
margin:0 auto;
border-collapse: collapse;
}
td {
border: 1px solid #000000;
background: #fff;
font-size:15px;
padding: 3px 3px 3px 8px;
color: #0000;
height:30px;
text-align: left;
}
</style>
</head>

<script type="text/javascript">
$(function(){
validate();
<c:if test="${isadmin eq 1 and not empty busOrderItem and busOrderItem.BOI_ASSIGNTYPE eq 2}">
$("#contract_div").hide();
</c:if>

<c:if test="${isadmin eq 1}">
disabledInput();
</c:if>

<c:if test="${busContract.BUS_CHECKEDSTATE eq 1}">
$("#ok_button").hide();
$("#redo_button").show();
$("#save_button").hide();
disabledInput();
</c:if>

<c:if test="${busContract.BUS_CHECKEDSTATE eq 0 or busContract.BUS_CHECKEDSTATE eq null}">
$("#ok_button").show();
$("#redo_button").hide();
</c:if>

<c:if test="${isadmin ne 1}">
<c:if test="${empty busContract}">
var BUS_SECONDPARTY="${orderReply.SO_OPERATORTYPE_NAME }";
var BUS_MONEY="<fm:formatNumber value='${orderReply.BOB_ASSIGNMONEY_LABEL}' pattern='0.00'></fm:formatNumber>";
$("#BUS_SECONDPARTY").val(BUS_SECONDPARTY);
$("#BUS_SECONDPARTY2").val(BUS_SECONDPARTY);
$('#BUS_MONEY').numberbox('setValue', BUS_MONEY);
</c:if>
</c:if>
});

//保存合同
function save(){
if (valiIsNull()) {
$('#ff').form('submit', {
url:"<%=request.getContextPath()%>/saveOrUpdataContract.do",
success:function(json){
json=$.parseJSON(json);
$("#ID").val(json.ID);
if (json.info==1) {
$.messager.alert("提示","<%=PageMessage.SAVE_SUCCESS%>","info");
} else {
$("#ID").val("");
$.messager.alert("提示","<%=PageMessage.SAVE_FAIL%>","info");
}
}
});
}
}

//合同打印
function printContract(){
//签合同人id
var SO_ID=$("#SO_ID").val();
var BOI_ID=$("#BOI_ID").val();
//需求id
var ORDERITEMID=$("#ORDERITEMID").val();
var BUS_CHECKEDSTATE=$("#BUS_CHECKEDSTATE").val();
if (ORDERITEMID!=null&&ORDERITEMID!="") {
if (BUS_CHECKEDSTATE==1) {
window.open("<%=request.getContextPath()%>/printContract.do?BOI_ID="+ORDERITEMID+"&SO_ID="+SO_ID);
} else {
$.messager.alert("提示","合同未审核通过!","info");
}
} else {
$.messager.alert("提示","请先保存合同!","info");
}
}

//多人查看合同信息
function getBusContractInfo(SO_ID,BOI_ID,SO_OPERATORTYPE){
$("#contract_div").show();
<c:if test="${isadmin eq 1}">
disabledInput();
</c:if>
if (SO_ID!=null&&SO_ID!=""&&BOI_ID!=null&&BOI_ID!="") {
$.post("<%=request.getContextPath()%>/getBusContractInfoBySO_ID.do",{SO_ID:SO_ID,BOI_ID:BOI_ID,SO_OPERATORTYPE:SO_OPERATORTYPE},function(json){
$("#SO_ID").val(SO_ID);
json=$.parseJSON(json);
var busOrderReply=json.busOrderReply;
var BOR_RANKING_LABEL=json.BOR_RANKING_LABEL;
var busOrderItem=json.busOrderItem;
var busContract=json.busContract;
if (busOrderReply!=null&&busOrderReply!="") {
$("#SO_ID").val(busOrderReply.SO_OPERATORID);
$("#BOR_ISPASS").html(busOrderReply.BOR_ISPASS_LABEL);
$("#BOR_RANKING_LABEL").html(busOrderReply.BOR_RANKING_LABEL+" ");
$("#SO_OPERATOR_NAME").html(busOrderReply.SO_OPERATORTYPE_NAME);
$("#BOB_ASSIGNMONEY_LABEL").html(busOrderReply.BOB_ASSIGNMONEY_LABEL+" ");
} else {
$("#SO_ID").val("");
$("#BOR_ISPASS").html(" ");
$("#BOR_RANKING_LABEL").html(" ");
$("#SO_OPERATOR_NAME").html(" ");
$("#BOB_ASSIGNMONEY_LABEL").html(" ");
}

if (busContract!=null&&busContract!="") {
$("#ID").val(busContract.ID);
$("#BUS_TITLE").val(busContract.BUS_TITLE);
$("#BUS_SECONDPARTY").val(busContract.BUS_SECONDPARTY);
$("#BUS_SECONDPARTY2").val(busContract.BUS_SECONDPARTY);
$("#BUS_WORKDAY").val(busContract.BUS_WORKDAY);
$("#BUS_EXPECTEDCOST").val(busContract.BUS_EXPECTEDCOST);
$("#BUS_CAPITALMONEY").val(busContract.BUS_CAPITALMONEY);
$("#BUS_FIRSTPAYMENT").val(busContract.BUS_FIRSTPAYMENT);
$("#BUS_SIGNINGYEAR").val(busContract.BUS_SIGNINGYEAR);
$("#BUS_SIGNINGMONTH").val(busContract.BUS_SIGNINGMONTH);
$("#BUS_SIGNINGDAY").val(busContract.BUS_SIGNINGDAY);
$("#BUS_SIGNINGADDRESS").val(busContract.BUS_SIGNINGADDRESS);
$("#BUS_RECEIVABLES").val(busContract.BUS_RECEIVABLES);
$("#BUS_OPENNBANK").val(busContract.BUS_OPENNBANK);
$("#BUS_BANKCARD").val(busContract.BUS_BANKCARD);
$("#BUS_MONEY").val(busContract.BUS_MONEY);
$("#BUS_CHECKEDSTATE").val(busContract.BUS_CHECKEDSTATE);
}else {
$("#ID").val("");
$("#BUS_TITLE").val("");
$("#BUS_SECONDPARTY").val("");
$("#BUS_SECONDPARTY2").val("");
$("#BUS_WORKDAY").val("");
$("#BUS_EXPECTEDCOST").val("");
$("#BUS_CAPITALMONEY").val("");
$("#BUS_FIRSTPAYMENT").val("");
$("#BUS_SIGNINGYEAR").val("");
$("#BUS_SIGNINGMONTH").val("");
$("#BUS_SIGNINGDAY").val("");
$("#BUS_SIGNINGADDRESS").val("");
$("#BUS_RECEIVABLES").val("");
$("#BUS_OPENNBANK").val("");
$("#BUS_BANKCARD").val("");
$("#BUS_MONEY").val("");
$("#BUS_CHECKEDSTATE").val("");
}

//发布者不能修改
<c:if test="${isadmin eq 1}">
disabledInput();
</c:if>
if (busContract.BUS_CHECKEDSTATE==1) {
$("#ok_button").hide();
$("#redo_button").show();
} else {
$("#ok_button").show();
$("#redo_button").hide();
}
});
}
}

function disabledInput(){
$("#BUS_TITLE").attr("disabled","disabled");
$("#BUS_WORKDAY").attr("disabled","disabled");
$("#BUS_FIRSTPARTY").attr("disabled","disabled");
$("#BUS_SECONDPARTY").attr("disabled","disabled");
$("#BUS_EXPECTEDCOST").attr("disabled","disabled");
$("#BUS_CAPITALMONEY").attr("disabled","disabled");
$("#BUS_FIRSTPAYMENT").attr("disabled","disabled");
$("#BUS_SIGNINGYEAR").attr("disabled","disabled");
$("#BUS_SIGNINGMONTH").attr("disabled","disabled");
$("#BUS_SIGNINGDAY").attr("disabled","disabled");
$("#BUS_SIGNINGADDRESS").attr("disabled","disabled");
$("#BUS_FIRSTPARTY2").attr("disabled","disabled");
$("#BUS_SECONDPARTY2").attr("disabled","disabled");
$("#BUS_RECEIVABLES").attr("disabled","disabled");
$("#BUS_OPENNBANK").attr("disabled","disabled");
$("#BUS_BANKCARD").attr("disabled","disabled");
$("#BUS_MONEY").attr("disabled","disabled");
}

//审核
function checkedstate(checkedState){
var ID=$("#ID").val();
if (ID!=null&&ID!=""&&checkedState!=null&&checkedState!="") {
$.post("<%=request.getContextPath()%>/checkedContractState.do",{ID:ID,checkedState:checkedState},function(json){
json=$.parseJSON(json);
if (json.flag==1) {
$.messager.alert("提示",json.msg,"info");
if (checkedState==1) {
$("#BUS_CHECKEDSTATE").val("1");
$("#ok_button").hide();
$("#redo_button").show();
} else {
$("#BUS_CHECKEDSTATE").val("0");
$("#ok_button").show();
$("#redo_button").hide();
}
} else {
$.messager.alert("提示",json.msg,"info");
$("#ok_button").show();
$("#redo_button").hide();
}
});
} else {
$.messager.alert("提示","乙方未签合同!","info");
}
}

function validate(){
$.extend($.fn.validatebox.defaults.rules, {
year_validate: {
validator: function(value, param){
var d=new Date();
var year=d.getYear();
if (value<year) {
return false;
} else {
return true;
}
},
message: '年份不能小于当前年份.'
},
month_validate: {
validator: function(value, param){
if (value>12||value<=0) {
return false;
} else {
return true;
}
},
message: '月份格式错误.'
},
day_validate: {
validator: function(value, param){
if (value>31||value<=0) {
return false;
} else {
return true;
}
},
message: '日期格式错误.'
},
workday_validate: {
validator: function(value, param){
if (value<=0) {
return false;
} else {
return true;
}
},
message: '工作日不能小等0.'
}
});
}

function valiIsNull(){
var msg="";
var BUS_SECONDPARTY=$("#BUS_SECONDPARTY").val();
if (BUS_SECONDPARTY==null||BUS_SECONDPARTY=="") {
msg+="受托人乙方不能为空,";
}
var BUS_WORKDAY=$("#BUS_WORKDAY").val();
if (BUS_WORKDAY==null||BUS_WORKDAY=="") {
msg+="工作日不能为空,";
} else {
if (BUS_WORKDAY<=0) {
msg+="工作日不能小等0,";
}
}
var BUS_EXPECTEDCOST=$("#BUS_EXPECTEDCOST").val();
if (BUS_EXPECTEDCOST==null||BUS_EXPECTEDCOST=="") {
msg+="甲方应支付乙方设计费不能为空,"
}
var BUS_CAPITALMONEY=$("#BUS_CAPITALMONEY").val();
if (BUS_CAPITALMONEY==null||BUS_CAPITALMONEY=="") {
msg+="大写人民币不能为空,";
}
var BUS_FIRSTPAYMENT=$("#BUS_FIRSTPAYMENT").val();
if (BUS_FIRSTPAYMENT==null||BUS_FIRSTPAYMENT=="") {
msg+="设计定金不能为空,";
}
var BUS_SIGNINGYEAR=$("#BUS_SIGNINGYEAR").val();
if (BUS_SIGNINGYEAR==null||BUS_SIGNINGYEAR=="") {
msg+="签订年份不能为空,";
}else {
var d=new Date();
var year=d.getYear();
if (BUS_SIGNINGYEAR<year) {
msg+="签订年份格式错误,";
}
}
var BUS_SIGNINGMONTH=$("#BUS_SIGNINGMONTH").val();
if (BUS_SIGNINGMONTH==null||BUS_SIGNINGMONTH=="") {
msg+="签订月份不能为空,";
}else {
if (BUS_SIGNINGMONTH<=0||BUS_SIGNINGMONTH>12) {
msg+="签订月份格式错误,";
}
}
var BUS_SIGNINGDAY=$("#BUS_SIGNINGDAY").val();
if (BUS_SIGNINGDAY==null||BUS_SIGNINGDAY=="") {
msg+="签订日期不能为空,";
}else {
if (BUS_SIGNINGDAY<=0||BUS_SIGNINGDAY>31) {
msg+="签订日期格式错误,";
}
}
var BUS_SIGNINGADDRESS=$("#BUS_SIGNINGADDRESS").val();
if (BUS_SIGNINGADDRESS==null||BUS_SIGNINGADDRESS=="") {
msg+="签订地点不能为空,";
}
var BUS_SECONDPARTY2=$("#BUS_SECONDPARTY2").val();
if (BUS_SECONDPARTY2==null||BUS_SECONDPARTY2=="") {
msg+="乙方签章不能为空,";
}
var BUS_RECEIVABLES=$("#BUS_RECEIVABLES").val();
if (BUS_RECEIVABLES==null||BUS_RECEIVABLES=="") {
msg+="收款方全称不能为空,";
}
var BUS_OPENNBANK=$("#BUS_OPENNBANK").val();
if (BUS_OPENNBANK==null||BUS_OPENNBANK=="") {
msg+="开户行不能为空,";
}
var BUS_BANKCARD=$("#BUS_BANKCARD").val();
if (BUS_BANKCARD==null||BUS_BANKCARD=="") {
msg+="收款方帐号不能为空,";
}
var BUS_MONEY=$("#BUS_MONEY").val();
if (BUS_MONEY==null||BUS_MONEY=="") {
msg+="金额不能为空.";
}
if (msg!=null&&msg!="") {
$.messager.alert('提示',"<font style='color: red;'>"+msg+"</font>",'info');
return false;
} else {
return true;
}
}
</script>

<body style="font-size: 15px;">
<c:set var="count" value="0"></c:set>
<c:if test="${isadmin eq 1 and busOrderItem.BOI_ASSIGNTYPE eq 2}">
<c:forEach items="${unitlist}" var="unit" varStatus="index">
<c:set var="count" value="${count+1}"></c:set>
<div style="margin-top: 8px;">
<font style="font-size: 15px;">
${index.count }、中标人:${unit.BAU_CONTACTNAME }
&nbsp;&nbsp;
<a href="javascript:getBusContractInfo('${unit.UNIT_ID }','${unit.BOI_ID }','${unit.SO_OPERATORTYPE }');">
查看合同
</a>
</font>
</div>
</c:forEach>
<c:forEach items="${memberlist}" var="member" varStatus="index">
<div style="margin-top: 8px;">
<font style="font-size: 15px;">
${count+1 }、中标人:${member.BAU_CONTACTNAME }
&nbsp;&nbsp;
<a href="javascript:getBusContractInfo('${member.MEMBER_ID }','${member.BOI_ID }','${member.SO_OPERATORTYPE }');">
查看合同
</a>
</font>
</div>
</c:forEach>
</c:if>

<form id="ff" method="post">
<!-- 合同主键id -->
<input type="hidden" id="ID" name="ID" value="${busContract.ID }"/>
<!-- 参加人id -->
<input type="hidden" id="SO_ID" name="SO_ID" value="${orderReply.SO_OPERATORID}"/>
<!-- 订单id -->
<input type="hidden" id="ORDERITEMID" name="ORDERITEMID" value="${busOrderItem.ID }"/>
<input type="hidden" id="BOI_ID" name="BOI_ID" value="${busOrderItem.ID }"/>
<input type="hidden" id="BUS_CHECKEDSTATE" name="BUS_CHECKEDSTATE" value="${busContract.BUS_CHECKEDSTATE}"/>
<div id="contract_div" align="center" style="margin-top: 8px;">
<div align="center">
<font style="font-size: 25px;">
<input type="text" class="easyui-validatebox inputclass" id="BUS_TITLE" name="BUS_TITLE" value="${busContract.BUS_TITLE}" maxlength="200" style="width: 240px; font-size: 21px; text-align: right;"/>
协议书
</font>
</div>
<div align="center" <c:choose><c:when test="${business eq 0}">style="width: 90%;"</c:when><c:otherwise>style="width: 80%;"</c:otherwise></c:choose>>
<div align="left" style="margin-top: 20px; margin-left: 85px;">
委托人(甲方):
<input type="text" class="easyui-validatebox inputclass" id="BUS_FIRSTPARTY" name="BUS_FIRSTPARTY" value="${busApplyUnit.BAU_UNITNAME}" readonly="readonly" maxlength="20" style="width: 200px;"/>
</div>
<div align="left" style="margin-top: 20px; margin-left: 85px;">
受托人(乙方):
<input type="text" class="easyui-validatebox inputclass" id="BUS_SECONDPARTY" name="BUS_SECONDPARTY" value="${busContract.BUS_SECONDPARTY }" maxlength="20" required="true" style="width: 200px;"/>
</div>
<div style="width: 80%; margin-top: 20px;" align="left">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
甲方于${busOrderItem.BOI_CREATETIME }在“福建省工业设计产业技术创新重点战略联盟”网站上电子商务平台发布设计需求,名称为:
${busOrderItem.BOI_ORDERNAME }。经过比选,甲方同意委托乙方就 ${busOrderItem.BOI_ORDERNAME } 项目进行设计及出图,并支付乙方相应报酬。双方经过平等协商,在真实、
充分地表达各自意愿的基础上,根据《中华人民共和国合同法》的规定,达成如下协议,并由双方共同恪守。
</div>
<div style="width: 80%; margin-top: 10px;" align="left">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
一、甲乙双方就(${busOrderItem.BOI_ORDERNAME })需求在“福建省工业设计产业技术创新重点战略联盟”网站上电子商务平台上的发布、回应
、中标等流程无异议,就该需求在网络上的信息确认无误,见下表。
</div>
<br/>
<table width="699" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="176" align="center">交易号</td>
<td colspan="3" id="BOI_ORDERCODE">
${busOrderItem.BOI_ORDERCODE }
</td>
</tr>
<tr>
<td width="176" align="center">需求描述</td>
<td width="176" id="BOI_ORDERNAME">
${busOrderItem.BOI_ORDERNAME }
</td>
<td width="139" align="center">手机号</td>
<td width="214" id="BOI_PHONE">
${busOrderItem.BOI_PHONE }
</td>
</tr>
<tr>
<td width="176" align="center">具体要求</td>
<td colspan="3" id="BOI_ORDERCONTENT">
${busOrderItem.BOI_ORDERCONTENT }
</td>
</tr>
<tr>
<td width="176" align="center">上传的附件</td>
<td colspan="3" id="affixList">
<c:forEach items="${affixList}" var="affix">
${affix.BAI_NAME }、
</c:forEach>
&nbsp;
</td>
</tr>
<tr>
<td width="176" align="center">需求价格</td>
<td width="176" id="BOI_ORDERPTOTALSUM">
<fm:formatNumber value="${busOrderItem.BOI_ORDERPTOTALSUM }" pattern="0.00"></fm:formatNumber>
</td>
<td width="139" align="center">分配赏金模式</td>
<td width="214">
${busOrderItem.BOI_ASSIGNTYPE_LABEL }
</td>
</tr>
<tr>
<td width="176" align="center">完成时间</td>
<td colspan="3">
${busOrderItem.BOI_ORDERENDTIME }
</td>
</tr>
</table>
<div align="left" style="margin-top: 10px; margin-left: 65px;">
中标用户
</div>
<table width="699" border="1" cellpadding="0" cellspacing="0">
<!-- 单人 -->
<c:if test="${busOrderItem.BOI_ASSIGNTYPE eq 1}">
<tr>
<td width="160" align="center">用户名 </td>
<td>
${orderReply.SO_OPERATORTYPE_NAME }
&nbsp;
</td>
</tr>
<tr>
<td width="160" align="center">
是否中标
</td>
<td>
${orderReply.BOR_ISPASS_LABEL }
&nbsp;
</td>
</tr>
<tr>
<td width="160" align="center">
金额
</td>
<td id="BOB_ASSIGNMONEY_LABEL">
<fm:formatNumber value="${orderReply.BOB_ASSIGNMONEY_LABEL}" pattern="0.00"></fm:formatNumber>
&nbsp;
</td>
</tr>
</c:if>

<!-- 多人 -->
<c:if test="${busOrderItem.BOI_ASSIGNTYPE eq 2}">
<tr>
<td width="160" align="center">
用户名
</td>
<td id="SO_OPERATOR_NAME">
${orderReply.SO_OPERATORTYPE_NAME }
&nbsp;
</td>
</tr>
<tr>
<td width="160" align="center">
是否中标
</td>
<td id="BOR_ISPASS">
${orderReply.BOR_ISPASS_LABEL }
&nbsp;
</td>
</tr>
<tr>
<td width="160" align="center">
排名
</td>
<td id="BOR_RANKING_LABEL">
${orderReply.BOR_RANKING_LABEL }
&nbsp;
</td>
</tr>
<tr>
<td width="160" align="center">
金额
</td>
<td id="BOB_ASSIGNMONEY_LABEL">
<fm:formatNumber value="${orderReply.BOB_ASSIGNMONEY_LABEL}" pattern="0.00"></fm:formatNumber>
&nbsp;
</td>
</tr>
</c:if>
</table>
<div align="left" style="margin-left: 70px;">
<div style="margin-top: 10px;">
二、乙方的工作范围:
</div>
<div style="margin-top: 10px;">
1、乙方就甲方提出的设计需求与甲方进行交流协商,最终交出符合甲方需求的稿件或设计。
</div>
<div style="margin-top: 10px;">
2、乙方保证设计或稿件原创,在外不存在知识产权纠纷事宜,符合国家法律法规和有关规范的要求。
</div>
<div style="margin-top: 10px;">
三、设计周期:
</div>
<div style="margin-top: 10px;">
1、工作周期:
<input type="text" class="easyui-numberbox inputclass" id="BUS_WORKDAY" name="BUS_WORKDAY" value="${busContract.BUS_WORKDAY}" validType="workday_validate" maxlength="12" style="width: 50px;"/>
工作日,由工作周期起始时间起算。
</div>
<div style="margin-top: 10px;">
2、工作周期起始时间是定金或所需资料配件到齐之日。
</div>
<div style="margin-top: 10px;">
四、甲方的付款方式:
</div>
<div style="margin-top: 10px;">
1、甲方应支付乙方酬金
<input type="text" class="easyui-numberbox inputclass" id="BUS_EXPECTEDCOST" name="BUS_EXPECTEDCOST" value="${busContract.BUS_EXPECTEDCOST}" data-options="precision:2" maxlength="12" style="width: 100px;"/>
元,大写人民币
<input type="text" class="easyui-validatebox inputclass" id="BUS_CAPITALMONEY" name="BUS_CAPITALMONEY" value="${busContract.BUS_CAPITALMONEY}" maxlength="20" style="width: 300px;"/>
元;
</div>
<div style="margin-top: 10px;">
2、经双方协商甲方可向乙方支付定金<input type="text" class="easyui-numberbox inputclass" id="BUS_FIRSTPAYMENT" name="BUS_FIRSTPAYMENT" value="${busContract.BUS_FIRSTPAYMENT}" maxlength="20" style="width: 50px;"/>
元,待需求确认完成后,支付剩余费用。
</div>
<div style="margin-top: 10px;">
五、其它有关约定事项
</div>
<div style="margin-top: 10px;">
1、本合同执行过程中发生争执,甲乙双方应及时协商解决。如双方协商不成,经双方同意,可向福州市劳动管理部门申请协调或向人民法院起诉。
</div>
<div style="margin-top: 10px;">
2、其他未尽事宜经双方协商一致,签订补充协议,补充协议与本合同均具效力。
</div>
<div style="margin-top: 10px;">
3、本合同经甲乙双方签字即时生效。
</div>
<div style="margin-top: 10px;">
4、本合同正本一式二份,甲乙双方各执一份。
</div>
<div style="margin-top: 10px;">
六、合同生效
</div>
<div style="margin-top: 10px;">
合同签订日期:
<input type="text" class="easyui-numberbox inputclass" id="BUS_SIGNINGYEAR" name="BUS_SIGNINGYEAR" value="${busContract.BUS_SIGNINGYEAR}" maxlength="4" style="width: 50px;"/>

<input type="text" class="easyui-numberbox inputclass" id="BUS_SIGNINGMONTH" name="BUS_SIGNINGMONTH" value="${busContract.BUS_SIGNINGMONTH}" maxlength="2" style="width: 50px;"/>

<input type="text" class="easyui-numberbox inputclass" id="BUS_SIGNINGDAY" name="BUS_SIGNINGDAY" value="${busContract.BUS_SIGNINGDAY}" maxlength="2" style="width: 50px;"/>

</div>
<div style="margin-top: 10px;">
合同签订地点:<input type="text" class="easyui-validatebox inputclass" id="BUS_SIGNINGADDRESS" name="BUS_SIGNINGADDRESS" value="${busContract.BUS_SIGNINGADDRESS}" maxlength="200" style="width: 500px;"/>
</div>
<div style="margin-top: 10px;">
甲方(签章):<input type="text" class="easyui-validatebox inputclass" id="BUS_FIRSTPARTY2" name="BUS_FIRSTPARTY2" value="${busApplyUnit.BAU_UNITNAME}" readonly="readonly" maxlength="20" style="width: 200px;"/>
</div>
<div style="margin-top: 10px;">
乙方(签章):<input type="text" class="easyui-validatebox inputclass" id="BUS_SECONDPARTY2" name="BUS_SECONDPARTY2" value="${busContract.BUS_SECONDPARTY }" maxlength="20" style="width: 200px;"/>
</div>
</div>

<div align="left" style="margin-top: 10px; margin-left: 82px;">
收款方全称:
<input type="text" class="easyui-validatebox inputclass" id="BUS_RECEIVABLES" name="BUS_RECEIVABLES" value="${busContract.BUS_RECEIVABLES }" maxlength="50" style="width: 220px;">
</div>
<div align="left" style="margin-top: 10px; margin-left: 70px;">
收款方开户行:
<input type="text" class="easyui-validatebox inputclass" id="BUS_OPENNBANK" name="BUS_OPENNBANK" value="${busContract.BUS_OPENNBANK }" maxlength="50" style="width: 220px;"></input>
</div>
<div align="left" style="margin-top: 10px; margin-left: 82px;">
收款方帐号:
<input type="text" class="easyui-numberbox inputclass" id="BUS_BANKCARD" name="BUS_BANKCARD" value="${busContract.BUS_BANKCARD }" maxlength="20" style="width: 220px;"></input>
</div>
<div align="left" style="margin-top: 10px; margin-left: 125px;">
金额:
<input class="easyui-numberbox inputclass" type="text" id="BUS_MONEY" name="BUS_MONEY" value="${busContract.BUS_MONEY }" data-options="precision:2,required:true" style="width: 220px;" maxlength="12"></input>
</div>
</div>
<div align="center" style="margin-top: 10px; margin-left: 50px;">
<a href="javascript:printContract();" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-print'">打印合同</a>
<c:if test="${isadmin ne 1}">
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="javascript:save();" id="save_button" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-save'">保存</a>
</c:if>
<c:if test="${isadmin eq 1}">
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="javascript:checkedstate('1');" id="ok_button" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-ok'">审核通过</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="javascript:checkedstate('0');" id="redo_button" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-redo'">审核不通过</a>
</c:if>
</div>
</div>
</form>
</body>
</html>

contract的更多相关文章

  1. WCF学习之旅—基于Fault Contract 的异常处理(十八)

       WCF学习之旅—WCF中传统的异常处理(十六) WCF学习之旅—基于ServiceDebug的异常处理(十七) 三.基于Fault Contract 的异常处理 第二个示例是通过定制Servic ...

  2. 重新想象 Windows 8.1 Store Apps (81) - 控件增强: WebView 之加载本地 html, 智能替换 html 中的 url 引用, 通过 Share Contract 分享 WebView 中的内容, 为 WebView 截图

    [源码下载] 重新想象 Windows 8.1 Store Apps (81) - 控件增强: WebView 之加载本地 html, 智能替换 html 中的 url 引用, 通过 Share Co ...

  3. java-collections.sort异常Comparison method violates its general contract!

    转载:http://www.tuicool.com/articles/MZreyuv 异常信息 java.lang.IllegalArgumentException: Comparison metho ...

  4. JDK7的Comparison method violates its general contract异常

    1.摘要 前一阵遇到了一个使用Collections.sort()时报异常的问题,跟小伙伴@zhuidawugui 一起排查了一下,发现问题的原因是JDK7的排序实现改为了TimSort,之后我们又进 ...

  5. P6 Enterprise Project Portfolio Contract Management

    Find documentation for Primavera products here: Primavera Cloud Services Primavera Prime Primavera P ...

  6. 重新想象 Windows 8 Store Apps (37) - 契约: Settings Contract

    [源码下载] 重新想象 Windows 8 Store Apps (37) - 契约: Settings Contract 作者:webabcd 介绍重新想象 Windows 8 Store Apps ...

  7. 重新想象 Windows 8 Store Apps (38) - 契约: Search Contract

    [源码下载] 重新想象 Windows 8 Store Apps (38) - 契约: Search Contract 作者:webabcd 介绍重新想象 Windows 8 Store Apps 之 ...

  8. 重新想象 Windows 8 Store Apps (39) - 契约: Share Contract

    [源码下载] 重新想象 Windows 8 Store Apps (39) - 契约: Share Contract 作者:webabcd 介绍重新想象 Windows 8 Store Apps 之  ...

  9. 重新想象 Windows 8.1 Store Apps (84) - 图像处理的新特性, Share Contract 的新特性

    [源码下载] 重新想象 Windows 8.1 Store Apps (84) - 图像处理的新特性, Share Contract 的新特性 作者:webabcd 介绍重新想象 Windows 8. ...

  10. Effective Java 08 Obey the general contract when overriding equals

    When it's the case that each instance of the class is equal to only itself. 1. Each instance of the ...

随机推荐

  1. python发送邮件方法总结

    python中email模块使得处理邮件变得比较简单,今天着重学习了一下发送邮件的具体做法,这里写写自己的的心得,也请高手给些指点.     一.相关模块介绍 发送邮件主要用到了smtplib和ema ...

  2. Python list替换元素

    替换直接对应位置赋值 假设现在班里仍然是3名同学: >>> L = ['Adam', 'Lisa', 'Bart'] 现在,Bart同学要转学走了,碰巧来了一个Paul同学,要更新班 ...

  3. MVC中cshtml文件中怎样使用ViewBag进行筛选?

    @foreach (PermissionForRoleModel item in ((List<PermissionForRoleModel>)ViewBag.PermissionsFor ...

  4. 【Linux】df命令

    用途 df命令主要用于检查Linux服务器的文件系统的磁盘空间占用情况 全称 df的全称为:Disk Free 参数 -a :全部文件系统列表 -h :方便阅读显示 -H :等于"-h&qu ...

  5. PHP-数据库长连接mysql_pconnect的细节

    PHP的MySQL持久化连接,美好的目标,却拥有糟糕的口碑,往往令人敬而远之.这到底是为啥么.近距离观察后发现,这家伙也不容易啊,要看Apache的脸色,还得听MySQL指挥. 对于作为Apache模 ...

  6. [ASP.NET]使用uploadify上传图片,并在uploadify按钮上生成预览图

    目录 需求 主要代码 总结 需求 项目中有用到uploadify上传插件,给的原型就是上传成功后替换原来的图片.没办法需求在那儿,也不能修改需求吧,只能想办法解决问题了. 主要代码 修改uploadi ...

  7. GuozhongCrawler系列教程 (4) StartContext具体解释

    StartContext是注入时全部seed的上下文信息假设爬虫在抓取过程其中须要共享一些变量.那么可使用StartContext作为容器. 构造器具体资料 StartContext public S ...

  8. poi读取excel元素

    Java读取excel元素 忽略元数据末尾回到原数据开始处 pom文件设置 <dependency><groupId>org.apache.poi</groupId> ...

  9. vue 发送ajax请求

    一. 简介 1.vue本身不支持发送AJAX请求,需要使用vue-resource(vue1.0版本).axios(vue2.0版本)等插件实现 2.axios是一个基于Promise的HTTP请求客 ...

  10. Release Management

    1. Understand the current state of release management. test environment limitations how long to setu ...