|
@@ -0,0 +1,911 @@
|
|
|
+<%@ page contentType="text/html;charset=UTF-8" %>
|
|
|
+<%@ include file="/webpage/include/taglib.jsp"%>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <title>项目管理</title>
|
|
|
+ <meta name="decorator" content="default"/>
|
|
|
+ <script type="text/javascript" src="${ctxStatic}/helloweba_editable-select/jquery.editable-select.min.js"></script>
|
|
|
+ <script type="text/javascript" src="${ctxStatic}/iCheck/icheck.min.js"></script>
|
|
|
+ <link rel='stylesheet' type="text/css" href="${ctxStatic}/helloweba_editable-select/jquery.editable-select.min.css"/>
|
|
|
+ <style>
|
|
|
+ #projectDesc-error{
|
|
|
+ left:0;
|
|
|
+ top:82px;
|
|
|
+ }
|
|
|
+ .layui-layer-dialog{
|
|
|
+ background: red;
|
|
|
+ }
|
|
|
+ td input{
|
|
|
+ height: 42px !important;
|
|
|
+ }
|
|
|
+ .disables {
|
|
|
+ pointer-events: none;
|
|
|
+ }
|
|
|
+ .notDisables {
|
|
|
+ pointer-events: all;
|
|
|
+ }
|
|
|
+ .forbidden{
|
|
|
+ background-color:#c2c2c2;
|
|
|
+ }
|
|
|
+
|
|
|
+ .notForbidden{
|
|
|
+ background-color:#3ca2e0;
|
|
|
+ }
|
|
|
+ .paddingDiv span{
|
|
|
+ padding-left: 28px;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+ <script type="text/javascript">
|
|
|
+ var validateForm;
|
|
|
+ var isMasterClient = true;//是否是委托方
|
|
|
+ var clientCount = 0;
|
|
|
+ function doSubmit(obj){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
|
|
+ if(validateForm.form()){
|
|
|
+ //咨询标的额
|
|
|
+ var ZiXunBDE = $("#ZiXunBDE").val();
|
|
|
+ if(ZiXunBDE!= undefined && ZiXunBDE!= '' && ZiXunBDE>=500){
|
|
|
+ //人工工日用量
|
|
|
+ var RGGRYL = $("#RGGRYL").val();
|
|
|
+ if(RGGRYL== undefined || RGGRYL== null || RGGRYL == '' || RGGRYL == 0){
|
|
|
+ parent.layer.msg("咨询标的额大于500万,请填写人工工日用量!", {icon: 5});
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ var list = [];
|
|
|
+ var size = $("#reportedConsultantList tr").length;
|
|
|
+ if(size>0){
|
|
|
+ for (var i = 1;i<=50;i++){
|
|
|
+ var zixunyuan = $("#reportedConsultantList"+i+"_zixunyuanId").val();
|
|
|
+ if(zixunyuan!=undefined && zixunyuan != null && zixunyuan !=''){
|
|
|
+ list.push(zixunyuan);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ var nary = list.sort();
|
|
|
+ for(var i = 0; i < nary.length - 1; i++) {
|
|
|
+ if(nary[i] == nary[i + 1]) {
|
|
|
+ parent.layer.msg("咨询员重复,请重新选择!", {icon: 5});
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ var team = $("#team").val()
|
|
|
+ var city = $("#city").val()
|
|
|
+ var county = $("#county").val()
|
|
|
+ if(team ==undefined || team == null || team == ''){
|
|
|
+ parent.layer.msg("请选择工程所在省份!", {icon: 5});
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(city ==undefined || city == null || city == ''){
|
|
|
+ parent.layer.msg("请选择工程所在地级市!", {icon: 5});
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(county ==undefined || county == null || county == ''){
|
|
|
+ parent.layer.msg("请选择工程所在区县!", {icon: 5});
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
+ if(obj == 1){
|
|
|
+ $('#flag').val('yes');
|
|
|
+ }else{
|
|
|
+ $('#flag').val('no');
|
|
|
+ }
|
|
|
+ $("#inputForm").submit();
|
|
|
+ return true;
|
|
|
+ }else{
|
|
|
+ parent.layer.msg("信息未填写完整!", {icon: 5});
|
|
|
+ }
|
|
|
+
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ $(document).ready(function() {
|
|
|
+ var radioVal ;
|
|
|
+ validateForm = $("#inputForm").validate({
|
|
|
+ submitHandler: function(form){
|
|
|
+ loading('正在提交,请稍等...');
|
|
|
+ form.submit();
|
|
|
+ },
|
|
|
+ errorContainer: "#messageBox",
|
|
|
+ errorPlacement: function(error, element) {
|
|
|
+ $("#messageBox").text("输入有误,请先更正。");
|
|
|
+ if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
|
|
|
+ error.appendTo(element.parent().parent());
|
|
|
+ } else {
|
|
|
+ error.insertAfter(element);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ if($("#FloorUp").val() == undefined || $("#FloorUp").val() == null || $("#FloorUp").val() == ''){
|
|
|
+ $("#FloorUp").val(0);
|
|
|
+ }
|
|
|
+ if($("#FloorDown").val() == undefined || $("#FloorDown").val() == null || $("#FloorDown").val() == ''){
|
|
|
+ $("#FloorDown").val(0);
|
|
|
+ }
|
|
|
+ if($("#ZiXunBDETJ").val() == undefined || $("#ZiXunBDETJ").val() == null || $("#ZiXunBDETJ").val() == ''){
|
|
|
+ $("#ZiXunBDETJ").val(0);
|
|
|
+ }
|
|
|
+ if($("#ZiXunBDEAZ").val() == undefined || $("#ZiXunBDEAZ").val() == null || $("#ZiXunBDEAZ").val() == ''){
|
|
|
+ $("#ZiXunBDEAZ").val(0);
|
|
|
+ }
|
|
|
+ if($("#GCYL").val() == undefined || $("#GCYL").val() == null || $("#GCYL").val() == ''){
|
|
|
+ $("#GCYL").val(0);
|
|
|
+ }
|
|
|
+ if($("#SNYL").val() == undefined || $("#SNYL").val() == null || $("#SNYL").val() == ''){
|
|
|
+ $("#SNYL").val(0);
|
|
|
+ }
|
|
|
+ if($("#YBTYL").val() == undefined || $("#YBTYL").val() == null || $("#YBTYL").val() == ''){
|
|
|
+ $("#YBTYL").val(0);
|
|
|
+ }
|
|
|
+ if($("#RGGRYL").val() == undefined || $("#RGGRYL").val() == null || $("#RGGRYL").val() == ''){
|
|
|
+ $("#RGGRYL").val(0);
|
|
|
+ }
|
|
|
+ if($("#GCYLPerUnit").val() == undefined || $("#GCYLPerUnit").val() == null || $("#GCYLPerUnit").val() == ''){
|
|
|
+ $("#GCYLPerUnit").val(0);
|
|
|
+ }
|
|
|
+ if($("#SNYLPerUnit").val() == undefined || $("#SNYLPerUnit").val() == null || $("#SNYLPerUnit").val() == ''){
|
|
|
+ $("#SNYLPerUnit").val(0);
|
|
|
+ }
|
|
|
+ if($("#YBTYLPerUnit").val() == undefined || $("#YBTYLPerUnit").val() == null || $("#YBTYLPerUnit").val() == ''){
|
|
|
+ $("#YBTYLPerUnit").val(0);
|
|
|
+ }
|
|
|
+ if($("#RGGRYLPerUnit").val() == undefined || $("#RGGRYLPerUnit").val() == null || $("#RGGRYLPerUnit").val() == ''){
|
|
|
+ $("#RGGRYLPerUnit").val(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ laydate.render({
|
|
|
+ elem: '#BaoGaoShuQianFaDate', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
|
+ event: 'focus', //响应事件。如果没有传入event,则按照默认的click
|
|
|
+ type : 'date'
|
|
|
+ , trigger: 'click'
|
|
|
+ ,max: 38 //38天后
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ $('#city').html('<option value="${ruralProjectRecordsReported.s2}">${ruralProjectRecordsReported.city}</option>')
|
|
|
+ $('#county').html('<option value="${ruralProjectRecordsReported.s3}">${ruralProjectRecordsReported.county}</option>')
|
|
|
+ layui.form.render("select");
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ function ZiXunBDEChange(){
|
|
|
+ //咨询标的额
|
|
|
+ var ZiXunBDE = $("#ZiXunBDE").val();
|
|
|
+ //建筑面积或规模
|
|
|
+ var GCGMValue = $("#GCGMValue").val();
|
|
|
+ //土建造价
|
|
|
+ var ZiXunBDETJ = $("#ZiXunBDETJ").val();
|
|
|
+ //安装造价
|
|
|
+ var ZiXunBDEAZ = $("#ZiXunBDEAZ").val();
|
|
|
+ //钢材用量
|
|
|
+ var GCYL = $("#GCYL").val();
|
|
|
+ //水泥用量
|
|
|
+ var SNYL = $("#SNYL").val();
|
|
|
+ //预拌砼用量
|
|
|
+ var YBTYL = $("#YBTYL").val();
|
|
|
+ //人工工日用量
|
|
|
+ var RGGRYL = $("#RGGRYL").val();
|
|
|
+
|
|
|
+ //判断咨询标的额的值
|
|
|
+ if(ZiXunBDE != ''){
|
|
|
+ //判断土建造价的值
|
|
|
+ if(ZiXunBDETJ != ''){
|
|
|
+ var CalTJPercent = (Math.round(parseInt(ZiXunBDETJ) / parseInt(ZiXunBDE) * 100) / 100 * 100).toFixed(2);
|
|
|
+ $("#CalTJPercent").val(CalTJPercent);
|
|
|
+ }else{
|
|
|
+ $("#CalTJPercent").val('');
|
|
|
+ }
|
|
|
+ //判断土建造价的值
|
|
|
+ if(ZiXunBDEAZ != ''){
|
|
|
+ var CalAZPercent = (Math.round(parseInt(ZiXunBDEAZ) / parseInt(ZiXunBDE) * 100) / 100 * 100).toFixed(2);
|
|
|
+ $("#CalAZPercent").val(CalAZPercent);
|
|
|
+ }else{
|
|
|
+ $("#CalAZPercent").val('');
|
|
|
+ }
|
|
|
+ //判断建筑面积或规模
|
|
|
+ if(GCGMValue != ''){
|
|
|
+ var CalZZJUnit = (Math.round(parseInt(ZiXunBDE) / parseInt(GCGMValue) * 100) * 100).toFixed(2);
|
|
|
+ $("#CalZZJUnit").val(CalZZJUnit);
|
|
|
+ }else{
|
|
|
+ $("#CalZZJUnit").val('');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //判断建筑面积或规模
|
|
|
+ if(GCGMValue != ''){
|
|
|
+ //判断土建造价
|
|
|
+ if(ZiXunBDETJ != ''){
|
|
|
+ var CalZZJTJUnit = (Math.round(parseInt(ZiXunBDETJ) / parseInt(GCGMValue) * 100) * 100).toFixed(2);
|
|
|
+ $("#CalZZJTJUnit").val(CalZZJTJUnit);
|
|
|
+ }else{
|
|
|
+ $("#CalZZJTJUnit").val('');
|
|
|
+ }
|
|
|
+ //判断安装造价
|
|
|
+ if(ZiXunBDEAZ != ''){
|
|
|
+ var CalZZJAZUnit = (Math.round(parseInt(ZiXunBDEAZ) / parseInt(GCGMValue) * 100) * 100).toFixed(2);
|
|
|
+ $("#CalZZJAZUnit").val(CalZZJAZUnit);
|
|
|
+ }else{
|
|
|
+ $("#CalZZJAZUnit").val('');
|
|
|
+ }
|
|
|
+ //判断钢材用量
|
|
|
+ if(GCYL != ''){
|
|
|
+ var GCYLPerUnit = (Math.round(parseInt(GCYL) / parseInt(GCGMValue) * 100) * 10).toFixed(2);
|
|
|
+ $("#GCYLPerUnit").val(GCYLPerUnit);
|
|
|
+ }else{
|
|
|
+ $("#GCYLPerUnit").val('');
|
|
|
+ }
|
|
|
+ //判断水泥用量
|
|
|
+ if(SNYL != ''){
|
|
|
+ var SNYLPerUnit = (Math.round(parseInt(SNYL) / parseInt(GCGMValue) * 100) * 10).toFixed(2);
|
|
|
+ $("#SNYLPerUnit").val(SNYLPerUnit);
|
|
|
+ }else{
|
|
|
+ $("#SNYLPerUnit").val('');
|
|
|
+ }
|
|
|
+ //判断预拌砼用量
|
|
|
+ if(YBTYL != ''){
|
|
|
+ var YBTYLPerUnit = Math.round(parseInt(YBTYL) / parseInt(GCGMValue)).toFixed(2);
|
|
|
+ $("#YBTYLPerUnit").val(YBTYLPerUnit);
|
|
|
+ }else{
|
|
|
+ $("#YBTYLPerUnit").val('');
|
|
|
+ }
|
|
|
+ //判断人工工日用量
|
|
|
+ if(RGGRYL != ''){
|
|
|
+ var RGGRYLPerUnit = Math.round(parseInt(RGGRYL) / parseInt(GCGMValue)).toFixed(2);
|
|
|
+ $("#RGGRYLPerUnit").val(RGGRYLPerUnit);
|
|
|
+ }else{
|
|
|
+ $("#RGGRYLPerUnit").val('');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //判断土建造价
|
|
|
+ if(ZiXunBDETJ !=''){
|
|
|
+ //判断咨询标的额
|
|
|
+ if(ZiXunBDE != ''){
|
|
|
+ var CalTJPercent = (Math.round(parseInt(ZiXunBDETJ) / parseInt(ZiXunBDE) * 100) / 100 * 100).toFixed(2);
|
|
|
+ $("#CalTJPercent").val(CalTJPercent);
|
|
|
+ }else{
|
|
|
+ $("#CalTJPercent").val('');
|
|
|
+ }
|
|
|
+ //判断建筑面积或规模
|
|
|
+ if(GCGMValue != ''){
|
|
|
+ var CalZZJTJUnit = (Math.round(parseInt(ZiXunBDETJ) / parseInt(GCGMValue) * 100) * 100).toFixed(2);
|
|
|
+ $("#CalZZJTJUnit").val(CalZZJTJUnit);
|
|
|
+ }else{
|
|
|
+ $("#CalZZJTJUnit").val('');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //判断安装造价
|
|
|
+ if(ZiXunBDEAZ !=''){
|
|
|
+ //判断咨询标的额
|
|
|
+ if(ZiXunBDE != ''){
|
|
|
+ var CalAZPercent = (Math.round(parseInt(ZiXunBDEAZ) / parseInt(ZiXunBDE) * 100) / 100 * 100).toFixed(2);
|
|
|
+ $("#CalAZPercent").val(CalAZPercent);
|
|
|
+ }else{
|
|
|
+ $("#CalAZPercent").val('');
|
|
|
+ }
|
|
|
+ //判断建筑面积或规模
|
|
|
+ if(GCGMValue != ''){
|
|
|
+ var CalZZJAZUnit = (Math.round(parseInt(ZiXunBDEAZ) / parseInt(GCGMValue) * 100) * 100).toFixed(2);
|
|
|
+ $("#CalZZJAZUnit").val(CalZZJAZUnit);
|
|
|
+ }else{
|
|
|
+ $("#CalZZJAZUnit").val('');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //判断钢材用量
|
|
|
+ if(GCYL !=''){
|
|
|
+ //判断建筑面积或规模
|
|
|
+ if(GCGMValue != ''){
|
|
|
+ var GCYLPerUnit = (Math.round(parseInt(GCYL) / parseInt(GCGMValue) * 100) * 10).toFixed(2);
|
|
|
+ $("#GCYLPerUnit").val(GCYLPerUnit);
|
|
|
+ }else{
|
|
|
+ $("#GCYLPerUnit").val('');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //判断水泥用量
|
|
|
+ if(SNYL !=''){
|
|
|
+ //判断建筑面积或规模
|
|
|
+ if(GCGMValue != ''){
|
|
|
+ var SNYLPerUnit = (Math.round(parseInt(SNYL) / parseInt(GCGMValue) * 100) * 10).toFixed(2);
|
|
|
+ $("#SNYLPerUnit").val(SNYLPerUnit);
|
|
|
+ }else{
|
|
|
+ $("#SNYLPerUnit").val('');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //判断预拌砼用量
|
|
|
+ if(YBTYL !=''){
|
|
|
+ //判断建筑面积或规模
|
|
|
+ if(GCGMValue != ''){
|
|
|
+ var YBTYLPerUnit = (Math.round(parseInt(YBTYL) / parseInt(GCGMValue) * 100) * 10).toFixed(2);
|
|
|
+ $("#YBTYLPerUnit").val(YBTYLPerUnit);
|
|
|
+ }else{
|
|
|
+ $("#YBTYLPerUnit").val('');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //判断人工工日用量
|
|
|
+ if(RGGRYL !=''){
|
|
|
+ //判断建筑面积或规模
|
|
|
+ if(GCGMValue != ''){
|
|
|
+ var RGGRYLPerUnit = Math.round(parseInt(RGGRYL) / parseInt(GCGMValue)).toFixed(2);
|
|
|
+ $("#RGGRYLPerUnit").val(RGGRYLPerUnit);
|
|
|
+ }else{
|
|
|
+ $("#RGGRYLPerUnit").val('');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ function addRow(list, idx, tpl, row){
|
|
|
+ // var idx1 = $("#workClientLinkmanList tr").length;
|
|
|
+ idx +=1;
|
|
|
+ bornTemplete(list, idx, tpl, row, idx);
|
|
|
+ }
|
|
|
+
|
|
|
+ function bornTemplete(list, idx, tpl, row, idx1){
|
|
|
+ $(list).append(Mustache.render(tpl, {
|
|
|
+ idx: idx, delBtn: true, row: row,
|
|
|
+ order:idx1 + 1
|
|
|
+ }));
|
|
|
+ $(list+idx).find("select").each(function(){
|
|
|
+ $(this).val($(this).attr("data-value"));
|
|
|
+ });
|
|
|
+ $(list+idx).find("input[type='checkbox'], input[type='radio']").each(function(){
|
|
|
+ var ss = $(this).attr("data-value").split(',');
|
|
|
+ for (var i=0; i<ss.length; i++){
|
|
|
+ if($(this).val() == ss[i]){
|
|
|
+ $(this).attr("checked","checked");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ function delEntrustRow(obj, prefix){
|
|
|
+ var id = $(prefix+"_id");
|
|
|
+ var delFlag = $(prefix+"_delFlag");
|
|
|
+ $(obj).parent().parent().remove();
|
|
|
+ }
|
|
|
+
|
|
|
+ function delRow(obj, prefix){
|
|
|
+ var id = $(prefix+"_id");
|
|
|
+ var delFlag = $(prefix+"_delFlag");
|
|
|
+ $(obj).parent().parent().remove();
|
|
|
+ }
|
|
|
+ function formatNum(obj) {
|
|
|
+ var val = $(obj).val();
|
|
|
+ if(val==null||val==''|| isNaN(val))return;
|
|
|
+ var money = parseFloat((val + "").replace(/[^\d\.-]/g, "")).toFixed(2) + "";
|
|
|
+ var l = money.split(".")[0].split("").reverse(),
|
|
|
+ r = money.split(".")[1];
|
|
|
+ t = "";
|
|
|
+ for(i = 0; i < l.length; i ++ )
|
|
|
+ {
|
|
|
+ t += l[i] + ((i + 1) % 3 == 0 && (i + 1) != l.length ? "," : "");
|
|
|
+ }
|
|
|
+ $(obj).val(t.split("").reverse().join("") + "." + r);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ function setTaxMoney(obj){
|
|
|
+ var a = $(obj).attr("id");
|
|
|
+ //咨询营业收入
|
|
|
+ var mv = $("#ZiXunShouRu").val();
|
|
|
+ var m = parseFloat(mv)* 10000;
|
|
|
+
|
|
|
+ var t2 = $("#" + a ).val();
|
|
|
+
|
|
|
+ //完成营业收入
|
|
|
+ var t = a.replace('wcyysrbl','wcyysr');
|
|
|
+ if(!/^\d+(\.\d{1,4})?$/.test( t2 )){
|
|
|
+ $("#" + t ).val("");
|
|
|
+ parent.layer.msg("请填写正确完成营业收入比例",{icon:5});
|
|
|
+ return;
|
|
|
+ }else {
|
|
|
+ var wcyysr = m * t2 /100;
|
|
|
+ $("#" + t ).val(parseFloat(wcyysr.toFixed(2)));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ function zxChange() {
|
|
|
+ //咨询营业收入
|
|
|
+ var mv = $("#ZiXunShouRu").val();
|
|
|
+ if(!/^\d+(\.\d{1,4})?$/.test( mv )){
|
|
|
+ $("#" + t ).val("");
|
|
|
+ parent.layer.msg("请填写正确的咨询营业收入",{icon:5});
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ var m = parseFloat(mv)* 10000;
|
|
|
+ var size = $("#reportedConsultantList tr").length;
|
|
|
+ if(size>0){
|
|
|
+ for (var i = 1;i<=50;i++){
|
|
|
+ var wcyysrbl = $("#reportedConsultantList"+i+"_wcyysrbl").val();
|
|
|
+
|
|
|
+ if(wcyysrbl != undefined && wcyysrbl!=''){
|
|
|
+ var wcyysr = m * wcyysrbl /100;
|
|
|
+ $("#reportedConsultantList"+i+"_wcyysr").val(wcyysr);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ </script>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<div class="single-form">
|
|
|
+ <div class="container">
|
|
|
+ <sys:message content="${message}"/>
|
|
|
+ <form:form id="inputForm" modelAttribute="ruralProjectRecordsReported" enctype="multipart/form-data" action="${ctx}/ruralProject/ruralProjectMessage/auditSaveReported" method="post" class="form-horizontal layui-form">
|
|
|
+ <form:hidden path="id"/>
|
|
|
+ <form:hidden path="projectId"/>
|
|
|
+ <form:hidden path="home"/>
|
|
|
+ <form:hidden path="act.taskId"/>
|
|
|
+ <form:hidden path="act.taskName"/>
|
|
|
+ <form:hidden path="act.taskDefKey"/>
|
|
|
+ <form:hidden path="act.procInsId"/>
|
|
|
+ <form:hidden path="act.procDefId"/>
|
|
|
+ <form:hidden id="flag" path="act.flag"/>
|
|
|
+
|
|
|
+ <form:hidden path="workContractInfo.client.id" id="contractClientId" value="${workContractInfo.client.id}"/>
|
|
|
+ <input type="hidden" id="flagFile" value="">
|
|
|
+
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>项目信息</h2></div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>咨询项目名称:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="ProjectName" htmlEscape="false" class="form-control layui-input required"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>咨询项目负责人:</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <sys:treeselect id="master" name="xmFZR" value="${ruralProjectRecordsReported.xmFZR}" labelName="leaderNameStr" labelValue="${ruralProjectRecordsReported.leaderNameStr}"
|
|
|
+ title="用户" url="/sys/office/treeDataAll?type=3" cssClass="form-control required layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>委托单位:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="WeiTuoDW" htmlEscape="false" class="form-control layui-input required"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>委托单位电话:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="LianXiDH" htmlEscape="false" class="form-control layui-input required"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>投资性质:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:select path="TouZiXZ" class="form-control layui-input required simple-select">
|
|
|
+ <form:options items="${fns:getMainDictList('TouZiXZ')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
+ </form:select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>咨询项目类型:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:select path="ProjectType" class="form-control layui-input required simple-select">
|
|
|
+ <form:options items="${fns:getMainDictList('ProjectType')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
+ </form:select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>合同类型:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:select path="HeTongLeiXing" class="form-control layui-input required simple-select">
|
|
|
+ <form:options items="${fns:getMainDictList('HeTongLeiXing')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
+ </form:select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>合同编号:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="ZiXunHTBH" htmlEscape="false" class="form-control layui-input required"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>项目报告号:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="DangABH" htmlEscape="false" class="form-control layui-input required"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>出具报告日期:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="BaoGaoShuQianFaDate" htmlEscape="false" class="laydate-icondate required form-control layui-input layer-date laydate-icon"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>咨询营业收入(万元):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="ZiXunShouRu" htmlEscape="false" onchange="zxChange()" class="form-control required layui-input"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>造价师注册证号:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="zaoJiaShiZhengHao" htmlEscape="false" class="form-control required layui-input"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>咨询员</h2></div>
|
|
|
+ <div class="layui-item layui-col-sm12 lw6">
|
|
|
+ <div class="layui-item nav-btns">
|
|
|
+ <div class="layui-item nav-btns" style="padding-left:0px;">
|
|
|
+ <a class="nav-btn nav-btn-add"
|
|
|
+ onclick="addRow('#reportedConsultantList', workClientBankRowIdx, workClientBankTpl);workClientBankRowIdx = workClientBankRowIdx + 1;"
|
|
|
+ title="新增"><i class="fa fa-plus"></i> 新增</a>
|
|
|
+ </div>
|
|
|
+ <table id="bankinfo" class="table table-bordered table-condensed can-edit">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th width="60px">编号</th>
|
|
|
+ <th >咨询员名称</th>
|
|
|
+ <th >注册/资格证号</th>
|
|
|
+ <th >本人负责内容</th>
|
|
|
+ <th >完成营业收入比例(%)</th>
|
|
|
+ <th >完成营业收入(元)</th>
|
|
|
+ <th width="100px">操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="reportedConsultantList">
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <script type="text/template" id="workClientBankTpl">//<!--
|
|
|
+ <tr id="reportedConsultantList{{idx}}">
|
|
|
+ <td class="hide">
|
|
|
+ <input id="reportedConsultantList{{idx}}_id" name="reportedConsultantList[{{idx}}].id" type="hidden" value="{{row.id}}"/>
|
|
|
+ <input id="reportedConsultantList{{idx}}_delFlag" name="reportedConsultantList[{{idx}}].delFlag" type="hidden" value="0"/>
|
|
|
+ <input id="reportedConsultantList{{idx}}_remindId" name="reportedConsultantList[{{idx}}].remindId" type="hidden" value="{{row.remindId}}"/>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td width="60px">
|
|
|
+ <input id="reportedConsultantList{{idx}}_costNum" name="reportedConsultantList[{{idx}}].costNum" readonly="readonly" style="text-align: center" value="{{idx}}" type="text" class="form-control contentDetail"/>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <sys:reportedtreeselectUser id="reportedConsultantList{{idx}}_zixunyuan" name="reportedConsultantList[{{idx}}].zixunyuan" value="{{row.zixunyuan}}" labelName="workAccountList[{{idx}}].zixunyuan" labelValue="{{row.zixunyuanName}}"
|
|
|
+ title="用户" url="/sys/office/treeDataAll?type=3" cssClass="form-control required layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td>
|
|
|
+ <input id="reportedConsultantList{{idx}}_zhucezigezhID" readonly="true" name="reportedConsultantList[{{idx}}].zhucezigezhID" value="{{row.zhucezigezhID}}" class="form-control required"/>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <input id="reportedConsultantList{{idx}}_wordnr" name="reportedConsultantList[{{idx}}].wordnr" value="{{row.wordnr}}" class="form-control required"/>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td>
|
|
|
+ <input id="reportedConsultantList{{idx}}_wcyysrbl" onblur="setTaxMoney(this)" name="reportedConsultantList[{{idx}}].wcyysrbl" value="{{row.wcyysrbl}}" class="form-control number required"/>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td>
|
|
|
+ <input id="reportedConsultantList{{idx}}_wcyysr" name="reportedConsultantList[{{idx}}].wcyysr" value="{{row.wcyysr}}" class="form-control number required"/>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td class="text-center op-td" width="10">
|
|
|
+ {{#delBtn}}<span class="op-btn op-btn-delete" onclick="delRow(this, '#reportedConsultantList{{idx}}')" title="删除"><i class="fa fa-trash"></i> 删除</span>{{/delBtn}}
|
|
|
+ </td>
|
|
|
+ </tr>//-->
|
|
|
+ </script>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>项目信息</h2></div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>工程所在省份</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <select name="s1" id="team" lay-verify="required" lay-filter="cityfilter">
|
|
|
+ <option value=""></option>
|
|
|
+ <option value="1" <c:if test="${ruralProjectRecordsReported.s1=='1'}">selected</c:if>>江苏省</option>
|
|
|
+ <option value="2" <c:if test="${ruralProjectRecordsReported.s1=='2'}">selected</c:if>>外省</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>工程所在地级市</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <select id="city" name="s2" value="${city}" lay-verify="required" lay-filter="quyufilter"></select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>工程所在区县</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <select id="county" name="s3" value="${county}" lay-verify="required" lay-filter="countyfilter"></select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>工程结构:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:select path="PorjectStruct" class="form-control layui-input required simple-select">
|
|
|
+ <form:options items="${fns:getMainDictList('PorjectStruct')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
+ </form:select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">地上层数:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="FloorUp" htmlEscape="false" class="form-control layui-input number"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">底下层数:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="FloorDown" htmlEscape="false" class="form-control layui-input number"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>建筑面积或规模:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="GCGMValue" htmlEscape="false" class="form-control layui-input required number" onchange="ZiXunBDEChange()"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>计量单位:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:select path="GCGMUnit" class="form-control layui-input required simple-select">
|
|
|
+ <form:options items="${fns:getMainDictList('GCGM_Unit')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
+ </form:select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>工程用途:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:select path="PorjectUse" class="form-control layui-input required simple-select">
|
|
|
+ <form:options items="${fns:getMainDictList('PorjectUse')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
+ </form:select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>咨询标的额(万元):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="ZiXunBDE" htmlEscape="false" class="form-control required layui-input number" onchange="ZiXunBDEChange()"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">其中土建造价(万元):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="ZiXunBDETJ" htmlEscape="false" class="form-control layui-input" onchange="ZiXunBDEChange()"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">其中安装造价(万元):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="ZiXunBDEAZ" htmlEscape="false" class="form-control layui-input" onchange="ZiXunBDEChange()"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">其中土建百分比(%):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="CalTJPercent" htmlEscape="false" class="form-control layui-input" readonly="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">其中安装百分比(%):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="CalAZPercent" htmlEscape="false" class="form-control layui-input" readonly="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">单位造价(元):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="CalZZJUnit" htmlEscape="false" readonly="true" class="form-control layui-input"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">其中土建单位造价(元):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="CalZZJTJUnit" htmlEscape="false" readonly="true" class="form-control layui-input"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">其中装修单位造价(元):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="CalZZJAZUnit" htmlEscape="false" class="form-control layui-input" readonly="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">合同价(元):</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <form:input path="HeTongJia" htmlEscape="false" class="form-control layui-input number"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>送审价(元):</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <form:input path="SongShenJia" htmlEscape="false" class="form-control required layui-input number"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>审定价(元):</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <form:input path="ShenDingJia" htmlEscape="false" class="form-control required layui-input number"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">审核增减额(元):</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <form:input path="JingHeJianE" htmlEscape="false" class="form-control layui-input number" readonly="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">审核增减率(%):</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <form:input path="JingHeJianLv" htmlEscape="false" class="form-control layui-input number" readonly="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>主要材料和人工消耗量指标</h2></div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">钢材用量(t):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="GCYL" htmlEscape="false" class="form-control layui-input number" onchange="ZiXunBDEChange()"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">水泥用量(t):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="SNYL" htmlEscape="false" class="form-control layui-input number" onchange="ZiXunBDEChange()"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">预拌砼用量(m³):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="YBTYL" htmlEscape="false" class="form-control layui-input number" onchange="ZiXunBDEChange()"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">人工工日用量(工日):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="RGGRYL" htmlEscape="false" class="form-control layui-input number" onchange="ZiXunBDEChange()"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">钢材消耗指标(kg):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="GCYLPerUnit" htmlEscape="false" class="form-control layui-input number" readonly="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">水泥消耗指标(kg):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="SNYLPerUnit" htmlEscape="false" class="form-control layui-input number" readonly="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">预拌砼消耗指标(m³):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="YBTYLPerUnit" htmlEscape="false" class="form-control layui-input number" readonly="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">人工工日消耗指标(工日):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="RGGRYLPerUnit" htmlEscape="false" class="form-control layui-input number" readonly="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group layui-row first lw9">
|
|
|
+ <div class="form-group-label"><h2>咨询项目造价包含内容说明</h2></div>
|
|
|
+
|
|
|
+ <div class="layui-item layui-col-sm12 lw6">
|
|
|
+ <label class="layui-form-label">土建工程:</label>
|
|
|
+ <div class="layui-input-block paddingDiv">
|
|
|
+ <form:checkboxes path="TJProjectList" lay-skin="primary" itemLabel="label" itemValue="value" htmlEscape="false" items="${fns:getMainDictList('civil_project')}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm12 lw6">
|
|
|
+ <label class="layui-form-label">装饰工程:</label>
|
|
|
+ <div class="layui-input-block paddingDiv">
|
|
|
+ <form:checkboxes path="ZSProjectList" lay-skin="primary" itemLabel="label" itemValue="value" htmlEscape="false" items="${fns:getMainDictList('decorate_project')}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm12 lw6">
|
|
|
+ <label class="layui-form-label">安装工程:</label>
|
|
|
+ <div class="layui-input-block paddingDiv">
|
|
|
+ <form:checkboxes path="AZProjectList" lay-skin="primary" itemLabel="label" itemValue="value" htmlEscape="false" items="${fns:getMainDictList('install_project')}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm12 lw6">
|
|
|
+ <label class="layui-form-label">市政工程:</label>
|
|
|
+ <div class="layui-input-block paddingDiv">
|
|
|
+ <form:checkboxes path="SZProjectList" lay-skin="primary" itemLabel="label" itemValue="value" htmlEscape="false" items="${fns:getMainDictList('services_project')}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm12 lw6">
|
|
|
+ <label class="layui-form-label">仿古园林工程:</label>
|
|
|
+ <div class="layui-input-block paddingDiv">
|
|
|
+ <form:checkboxes path="FGYLProjectList" lay-skin="primary" itemLabel="label" itemValue="value" htmlEscape="false" items="${fns:getMainDictList('park_project')}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm12 lw6 with-textarea">
|
|
|
+ <label class="layui-form-label double-line">其他专业工程咨询项目造价包含内容说明:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:textarea path="QTProjec" htmlEscape="false" rows="4" maxlength="255" class="form-control "/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group layui-row page-end"></div>
|
|
|
+ </form:form>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+
|
|
|
+<script src="${ctxStatic}/layer-v2.3/layui/layui.all.js" charset="utf-8"></script>
|
|
|
+<script>
|
|
|
+
|
|
|
+ layui.use(['table','form'], function(){
|
|
|
+
|
|
|
+ var form = layui.form;
|
|
|
+ form.render();
|
|
|
+
|
|
|
+ layui.form.on('select(cityfilter)',function(data) {
|
|
|
+ if (data.value == "") {
|
|
|
+ $('#city').html('<option value="">请选择工程所在地级市</option>');
|
|
|
+ $('#county').html('<option value="">请选择工程所在区县</option>')
|
|
|
+ layui.form.render("select");
|
|
|
+ } else {
|
|
|
+ $('#city').html('<option value="">请选择工程所在地级市</option>')
|
|
|
+ $('#county').html('<option value="">请选择工程所在区县</option>')
|
|
|
+ $.ajax({
|
|
|
+ type:"post",
|
|
|
+ url:'${ctx}/ruralProject/ruralProjectMessage/getArea',
|
|
|
+ data:{"id":data.value},
|
|
|
+ dataType:"json",
|
|
|
+ async: false,
|
|
|
+ success:function(data){
|
|
|
+ if(data.success) {
|
|
|
+ for (var info in data.data){
|
|
|
+ $('#city').append(new Option(data.data[info].name,data.data[info].id));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ layui.form.render("select");
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ layui.form.on('select(quyufilter)',function(data) {
|
|
|
+ if (data.value == "") {
|
|
|
+ $('#county').html('<option value="">请选择工程所在区县</option>');
|
|
|
+ layui.form.render("select");
|
|
|
+ } else {
|
|
|
+ $('#county').html('<option value="">请选择工程所在区县</option>')
|
|
|
+ $.ajax({
|
|
|
+ type:"post",
|
|
|
+ url:'${ctx}/ruralProject/ruralProjectMessage/getArea',
|
|
|
+ data:{"id":data.value},
|
|
|
+ dataType:"json",
|
|
|
+ async: false,
|
|
|
+ success:function(data){
|
|
|
+ if(data.success) {
|
|
|
+ for (var info in data.data){
|
|
|
+ $('#county').append(new Option(data.data[info].name,data.data[info].id));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ layui.form.render("select");
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ })
|
|
|
+</script>
|
|
|
+<script type="text/javascript">
|
|
|
+ var workClientBankRowIdx = 0,
|
|
|
+ workClientBankTpl = $("#workClientBankTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g, "");
|
|
|
+ $(document).ready(function () {
|
|
|
+ var dataBank = ${fns:toJson(ruralProjectRecordsReported.reportedConsultantList)};
|
|
|
+ for (var i = 0; i < dataBank.length; i++) {
|
|
|
+ addRow('#reportedConsultantList', workClientBankRowIdx, workClientBankTpl, dataBank[i]);
|
|
|
+ workClientBankRowIdx = workClientBankRowIdx + 1;
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|