|
@@ -63,14 +63,12 @@
|
|
});
|
|
});
|
|
laydate.render({
|
|
laydate.render({
|
|
elem: '#beginQuotedPriceDate', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
elem: '#beginQuotedPriceDate', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
- event: 'focus', //响应事件。如果没有传入event,则按照默认的click
|
|
|
|
- type : 'date'
|
|
|
|
|
|
+ type : 'month'
|
|
, trigger: 'click'
|
|
, trigger: 'click'
|
|
});
|
|
});
|
|
laydate.render({
|
|
laydate.render({
|
|
elem: '#endQuotedPriceDate', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
elem: '#endQuotedPriceDate', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
- event: 'focus', //响应事件。如果没有传入event,则按照默认的click
|
|
|
|
- type : 'date'
|
|
|
|
|
|
+ type : 'month'
|
|
, trigger: 'click'
|
|
, trigger: 'click'
|
|
});
|
|
});
|
|
});
|
|
});
|
|
@@ -346,6 +344,8 @@
|
|
var message = "保存成功!您总共上传了 " + metadataCount + " 条数据,保存成功 " + uniqueCount + " 条数据。";
|
|
var message = "保存成功!您总共上传了 " + metadataCount + " 条数据,保存成功 " + uniqueCount + " 条数据。";
|
|
//如果不存在错误数据、重复数据,则直接提示新增成功
|
|
//如果不存在错误数据、重复数据,则直接提示新增成功
|
|
parent.layer.msg(message, { icon: 0 });
|
|
parent.layer.msg(message, { icon: 0 });
|
|
|
|
+ top.layer.close(index);
|
|
|
|
+ sortOrRefresh();
|
|
}else{
|
|
}else{
|
|
var projectId = result.projectId
|
|
var projectId = result.projectId
|
|
if(!projectId){
|
|
if(!projectId){
|
|
@@ -463,10 +463,10 @@
|
|
}
|
|
}
|
|
,
|
|
,
|
|
function(confirmIndex) {
|
|
function(confirmIndex) {
|
|
- top.layui.layer.close(confirmIndex);
|
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
top.layui.layer.close(index);
|
|
top.layui.layer.close(index);
|
|
}, 100);
|
|
}, 100);
|
|
|
|
+ top.layer.close(index);
|
|
sortOrRefresh();
|
|
sortOrRefresh();
|
|
}
|
|
}
|
|
);
|
|
);
|
|
@@ -548,6 +548,24 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="layui-item query athird" style="width: 25%">
|
|
<div class="layui-item query athird" style="width: 25%">
|
|
|
|
+ <label class="layui-form-label double-line" style="line-height:100%">工程价(元,不含税):</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input id="beginProjectPriceExcludingTax" value="${projectMaterialStorage.beginProjectPriceExcludingTax}" name="beginProjectPriceExcludingTax" placeholder="请输入工程价(元,不含税)" htmlEscape="false" maxlength="64" class="query-group form-control layui-input">
|
|
|
|
+ <span class="group-sep">-</span>
|
|
|
|
+ <input id="endProjectPriceExcludingTax" value="${projectMaterialStorage.endProjectPriceExcludingTax}" name="endProjectPriceExcludingTax" placeholder="请输入工程价(元,不含税)" htmlEscape="false" maxlength="64" class="query-group form-control layui-input">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="layui-item query athird" style="width: 25%">
|
|
|
|
+ <label class="layui-form-label double-line" style="line-height:100%">市场价(元,不含税):</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input id="beginMarketPriceExcludingTax" value="${projectMaterialStorage.beginMarketPriceExcludingTax}" name="beginMarketPriceExcludingTax" placeholder="请输入市场价(元,不含税)" htmlEscape="false" maxlength="64" class="query-group form-control layui-input">
|
|
|
|
+ <span class="group-sep">-</span>
|
|
|
|
+ <input id="endMarketPriceExcludingTax" value="${projectMaterialStorage.endMarketPriceExcludingTax}" name="endMarketPriceExcludingTax" placeholder="请输入市场价(元,不含税)" htmlEscape="false" maxlength="64" class="query-group form-control layui-input">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="layui-item query athird" style="width: 25%">
|
|
<label class="layui-form-label double-line">含税工程价:</label>
|
|
<label class="layui-form-label double-line">含税工程价:</label>
|
|
<div class="layui-input-block">
|
|
<div class="layui-input-block">
|
|
<input id="beginProjectPriceIncludingTax" value="${projectMaterialStorage.beginProjectPriceIncludingTax}" name="beginProjectPriceIncludingTax" placeholder="请输入含税工程价(元)" htmlEscape="false" maxlength="64" class="query-group form-control layui-input">
|
|
<input id="beginProjectPriceIncludingTax" value="${projectMaterialStorage.beginProjectPriceIncludingTax}" name="beginProjectPriceIncludingTax" placeholder="请输入含税工程价(元)" htmlEscape="false" maxlength="64" class="query-group form-control layui-input">
|
|
@@ -575,6 +593,16 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="layui-item query athird" style="width: 25%">
|
|
<div class="layui-item query athird" style="width: 25%">
|
|
|
|
+ <label class="layui-form-label">价格来源:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:select placeholder="请选择价格来源" path="priceSource" class="form-control simple-select">
|
|
|
|
+ <form:option value=""/>
|
|
|
|
+ <form:options items="${fns:getMainDictList('priceSource')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
|
+ </form:select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="layui-item query athird" style="width: 25%">
|
|
<label class="layui-form-label">单位:</label>
|
|
<label class="layui-form-label">单位:</label>
|
|
<div class="layui-input-block">
|
|
<div class="layui-input-block">
|
|
<form:input path="unit" htmlEscape="false" placeholder="请输入单位" maxlength="64" class=" form-control layui-input" />
|
|
<form:input path="unit" htmlEscape="false" placeholder="请输入单位" maxlength="64" class=" form-control layui-input" />
|
|
@@ -595,15 +623,22 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
+ <div class="layui-item query athird" style="width: 25%">
|
|
|
|
+ <label class="layui-form-label" style="line-height:100%">单体工程描述:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="monomerProjectDescription" htmlEscape="false" placeholder="请输入单体工程描述" maxlength="800" class=" form-control layui-input" />
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
<div class="layui-item query athird " style="width: 25%">
|
|
<div class="layui-item query athird " style="width: 25%">
|
|
<label class="layui-form-label">报价时间:</label>
|
|
<label class="layui-form-label">报价时间:</label>
|
|
<div class="layui-input-block readOnlyFFF">
|
|
<div class="layui-input-block readOnlyFFF">
|
|
<input id="beginQuotedPriceDate" name="beginQuotedPriceDate" placeholder="报价开始时间" type="text" readonly="readonly" maxlength="20" class="laydate-icondate form-control layer-date layui-input laydate-icon query-group"
|
|
<input id="beginQuotedPriceDate" name="beginQuotedPriceDate" placeholder="报价开始时间" type="text" readonly="readonly" maxlength="20" class="laydate-icondate form-control layer-date layui-input laydate-icon query-group"
|
|
- value="<fmt:formatDate value="${projectMaterialStorage.beginQuotedPriceDate}" pattern="yyyy-MM-dd"/>"/>
|
|
|
|
|
|
+ value="<fmt:formatDate value="${projectMaterialStorage.beginQuotedPriceDate}" pattern="yyyy-MM"/>"/>
|
|
</input>
|
|
</input>
|
|
<span class="group-sep">-</span>
|
|
<span class="group-sep">-</span>
|
|
<input id="endQuotedPriceDate" name="endQuotedPriceDate" placeholder="报价结束时间" type="text" readonly="readonly" maxlength="20" class="laydate-icondate form-control layer-date layui-input laydate-icon query-group"
|
|
<input id="endQuotedPriceDate" name="endQuotedPriceDate" placeholder="报价结束时间" type="text" readonly="readonly" maxlength="20" class="laydate-icondate form-control layer-date layui-input laydate-icon query-group"
|
|
- value="<fmt:formatDate value="${projectMaterialStorage.endQuotedPriceDate}" pattern="yyyy-MM-dd"/>"/>
|
|
|
|
|
|
+ value="<fmt:formatDate value="${projectMaterialStorage.endQuotedPriceDate}" pattern="yyyy-MM"/>"/>
|
|
</input>
|
|
</input>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -637,9 +672,9 @@
|
|
<%--</shiro:hasPermission>--%>
|
|
<%--</shiro:hasPermission>--%>
|
|
<button class="layui-btn layui-btn-sm" data-toggle="tooltip" data-placement="left" onclick="sortOrRefresh()" title="刷新"> 刷新</button>
|
|
<button class="layui-btn layui-btn-sm" data-toggle="tooltip" data-placement="left" onclick="sortOrRefresh()" title="刷新"> 刷新</button>
|
|
</div>
|
|
</div>
|
|
- <shiro:hasPermission name="project:projectMaterialStorage:list">
|
|
|
|
|
|
+ <%--<shiro:hasPermission name="project:projectMaterialStorage:list">
|
|
<table:exportExcel url="${ctx}/project/projectMaterialStorage/export"></table:exportExcel><!-- 导出按钮 -->
|
|
<table:exportExcel url="${ctx}/project/projectMaterialStorage/export"></table:exportExcel><!-- 导出按钮 -->
|
|
- </shiro:hasPermission>
|
|
|
|
|
|
+ </shiro:hasPermission>--%>
|
|
<div style="clear: both;"></div>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
</div>
|
|
<table class="oa-table layui-table" id="contentTable1"></table>
|
|
<table class="oa-table layui-table" id="contentTable1"></table>
|
|
@@ -676,17 +711,23 @@
|
|
return xml;
|
|
return xml;
|
|
}}
|
|
}}
|
|
,{field:'projectId',align:'center', title: '报告号', width:180}
|
|
,{field:'projectId',align:'center', title: '报告号', width:180}
|
|
- ,{field:'materialName',align:'center', title: '材料名称', width:150}
|
|
|
|
- ,{field:'brand',align:'center', title: '品牌', width:100}
|
|
|
|
|
|
+ ,{field:'materialName',align:'center', title: '材料名称', width:260,templet:function(d){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.materialName + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看详情', '${ctx}/project/projectMaterialStorage/view?id=" + d.id +"','95%', '95%')\">" + d.materialName + "</a>";
|
|
|
|
+ }}
|
|
,{field:'specifications',align:'center', title: '规格型号', width:150}
|
|
,{field:'specifications',align:'center', title: '规格型号', width:150}
|
|
|
|
+ ,{field:'unit',align:'center', title: '单位', width:80}
|
|
|
|
+ ,{field:'projectPriceExcludingTax',align:'center', title: '工程价(元,不含税)', width:150}
|
|
|
|
+ ,{field:'marketPriceExcludingTax',align:'center', title: '市场价(元,不含税)', width:150}
|
|
|
|
+ ,{field:'taxRate',align:'center', title: '税率(%)', width:100}
|
|
|
|
+ ,{field:'priceSource',align:'center', title: '价格来源', width:100}
|
|
|
|
+ ,{field:'quotedPriceDate',align:'center', title: '报价时间', width:100}
|
|
|
|
+ ,{field:'monomerProjectDescription',align:'center', title: '单体项目描述', width:140}
|
|
,{field:'projectPriceIncludingTax',align:'center', title: '含税工程价(元)', width:130}
|
|
,{field:'projectPriceIncludingTax',align:'center', title: '含税工程价(元)', width:130}
|
|
,{field:'marketPriceIncludingTax',align:'center', title: '含税市场价(元)', width:130}
|
|
,{field:'marketPriceIncludingTax',align:'center', title: '含税市场价(元)', width:130}
|
|
- ,{field:'taxRate',align:'center', title: '税率(%)', width:100}
|
|
|
|
- ,{field:'unit',align:'center', title: '单位', width:80}
|
|
|
|
- ,{field:'explain',align:'center', title: '产品说明', width:150}
|
|
|
|
|
|
+ /*,{field:'brand',align:'center', title: '品牌', width:100}
|
|
,{field:'supplier',align:'center', title: '供应商', width:150}
|
|
,{field:'supplier',align:'center', title: '供应商', width:150}
|
|
- ,{field:'remarks',align:'center', title: '备注', width:150}
|
|
|
|
- ,{field:'quotedPriceDate',align:'center', title: '报价时间', width:100}
|
|
|
|
|
|
+ ,{field:'explain',align:'center', title: '产品说明', width:150}
|
|
|
|
+ ,{field:'remarks',align:'center', title: '备注', width:150}*/
|
|
,{field:'createBy',align:'center', title: '创建人', width:80}
|
|
,{field:'createBy',align:'center', title: '创建人', width:80}
|
|
,{field:'createDate',align:'center', title: '创建日期', width:100}
|
|
,{field:'createDate',align:'center', title: '创建日期', width:100}
|
|
,{field:'op',align:'center',title:"操作",width:160,templet:function(d){
|
|
,{field:'op',align:'center',title:"操作",width:160,templet:function(d){
|
|
@@ -715,7 +756,7 @@
|
|
,"projectName":"<c:out value="${projectMaterialStorage.projectName}" escapeXml="true"/>"
|
|
,"projectName":"<c:out value="${projectMaterialStorage.projectName}" escapeXml="true"/>"
|
|
,"areaName":"${projectMaterialStorage.areaName}"
|
|
,"areaName":"${projectMaterialStorage.areaName}"
|
|
,"createDate":"<fmt:formatDate value="${projectMaterialStorage.createDate}" pattern="yyyy-MM-dd"/>"
|
|
,"createDate":"<fmt:formatDate value="${projectMaterialStorage.createDate}" pattern="yyyy-MM-dd"/>"
|
|
- ,"quotedPriceDate":"<fmt:formatDate value="${projectMaterialStorage.quotedPriceDate}" pattern="yyyy-MM-dd"/>"
|
|
|
|
|
|
+ ,"quotedPriceDate":"<fmt:formatDate value="${projectMaterialStorage.quotedPriceDate}" pattern="yyyy年MM月"/>"
|
|
,"brand":"${projectMaterialStorage.brand}"
|
|
,"brand":"${projectMaterialStorage.brand}"
|
|
,"specifications":"${projectMaterialStorage.specifications}"
|
|
,"specifications":"${projectMaterialStorage.specifications}"
|
|
,"projectPriceIncludingTax":"${projectMaterialStorage.projectPriceIncludingTax}"
|
|
,"projectPriceIncludingTax":"${projectMaterialStorage.projectPriceIncludingTax}"
|
|
@@ -725,6 +766,10 @@
|
|
,"explain":"${projectMaterialStorage.explain}"
|
|
,"explain":"${projectMaterialStorage.explain}"
|
|
,"supplier":"${projectMaterialStorage.supplier}"
|
|
,"supplier":"${projectMaterialStorage.supplier}"
|
|
,"remarks":"${projectMaterialStorage.remarks}"
|
|
,"remarks":"${projectMaterialStorage.remarks}"
|
|
|
|
+ ,"priceSource":"${projectMaterialStorage.priceSource}"
|
|
|
|
+ ,"monomerProjectDescription":"${projectMaterialStorage.monomerProjectDescription}"
|
|
|
|
+ ,"projectPriceExcludingTax":"${projectMaterialStorage.projectPriceExcludingTax}"
|
|
|
|
+ ,"marketPriceExcludingTax":"${projectMaterialStorage.marketPriceExcludingTax}"
|
|
,"createBy":"${projectMaterialStorage.createBy.name}"
|
|
,"createBy":"${projectMaterialStorage.createBy.name}"
|
|
,"flag":
|
|
,"flag":
|
|
<c:choose>
|
|
<c:choose>
|