计费设置免费天数
parent
9e503afae2
commit
ea2fcf0818
File diff suppressed because one or more lines are too long
|
@ -12,7 +12,7 @@
|
|||
<link rel="stylesheet" href="online/template/ledefault/css/bootstrap-theme.css">
|
||||
<link rel="stylesheet" href="online/template/ledefault/css/bootstrap.css">
|
||||
<link rel="stylesheet" href="online/template/ledefault/css/app.css">
|
||||
|
||||
|
||||
<link rel="stylesheet" href="plug-in/Validform/css/metrole/style.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="plug-in/Validform/css/metrole/tablefrom.css" type="text/css"/>
|
||||
<script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.js"></script>
|
||||
|
@ -38,19 +38,19 @@
|
|||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
init();
|
||||
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
|
||||
$("#jform_tab li:first").addClass("active").show(); //Activate first tab
|
||||
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
|
||||
$("#jform_tab li:first").addClass("active").show(); //Activate first tab
|
||||
$("#jform_tab .con-wrapper:first").show(); //Show first tab content
|
||||
|
||||
|
||||
//On Click Event
|
||||
$("#jform_tab li").click(function() {
|
||||
$("#jform_tab li").removeClass("active"); //Remove any "active" class
|
||||
$(this).addClass("active"); //Add "active" class to selected tab
|
||||
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
|
||||
var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
|
||||
|
||||
|
||||
//On Click Event
|
||||
$("#jform_tab li").click(function() {
|
||||
$("#jform_tab li").removeClass("active"); //Remove any "active" class
|
||||
$(this).addClass("active"); //Add "active" class to selected tab
|
||||
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
|
||||
var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
|
||||
$(activeTab).fadeIn(); //Fade in the active content
|
||||
//$(""+activeTab).show();
|
||||
//$(""+activeTab).show();
|
||||
if( $(activeTab).html()!="") {
|
||||
return false;
|
||||
}else{
|
||||
|
@ -59,11 +59,11 @@
|
|||
$.post(url, {}, function(data) {
|
||||
//$(this).attr("tab-ajax-cached", true);
|
||||
$(activeTab).html(data);
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
//初始化下标
|
||||
function resetTrNum(tableId) {
|
||||
|
@ -85,10 +85,10 @@
|
|||
$(this).find('div[name=\'xh\']').html(i+1);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function init(){
|
||||
var tabHead =$("#jform_tab li:first");
|
||||
var tabBox = $("#jform_tab .con-wrapper:first");
|
||||
var tabBox = $("#jform_tab .con-wrapper:first");
|
||||
var url = tabHead.attr("tab-ajax-url");
|
||||
tabBox.html('正在加载内容,请稍后...');
|
||||
$.post(url, {}, function(data) {
|
||||
|
@ -99,10 +99,10 @@
|
|||
</script>
|
||||
<body>
|
||||
<form id="formobj" action="wmCusCostHController.do?doAdd" name="formobj" method="post"><input type="hidden" id="btn_sub" class="btn_sub"/>
|
||||
|
||||
|
||||
<input type="hidden" id="btn_sub" class="btn_sub"/>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="tab-wrapper">
|
||||
<!-- tab -->
|
||||
<ul class="nav nav-tabs">
|
||||
|
@ -116,13 +116,13 @@
|
|||
<b>客户编码:</b>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<t:dictSelect field="cusCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
dictTable="mv_cus" dictField="cus_code" dictText="cus_name" hasLabel="false" title="客户编码"></t:dictSelect>
|
||||
<t:dictSelect field="cusCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
dictTable="mv_cus" dictField="cus_code" dictText="cus_name" hasLabel="false" title="客户编码"></t:dictSelect>
|
||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||
<label class="Validform_label" style="display: none">客户编码</label>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-xs-3 text-center">
|
||||
<b>合同编号:</b>
|
||||
</div>
|
||||
|
@ -134,34 +134,34 @@
|
|||
<label class="Validform_label" style="display: none">合同编号</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row show-grid">
|
||||
<div class="col-xs-3 text-center">
|
||||
<b>开始日期:</b>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<input id="beginDate" name="beginDate" type="text"
|
||||
<input id="beginDate" name="beginDate" type="text"
|
||||
ignore="ignore"
|
||||
style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;" class="form-control" onClick="WdatePicker()" type="date" pattern="yyyy-MM-dd" />
|
||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||
<label class="Validform_label" style="display: none">开始日期</label>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-xs-3 text-center">
|
||||
<b>结束日期:</b>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<input id="endDate" name="endDate" type="text"
|
||||
<input id="endDate" name="endDate" type="text"
|
||||
ignore="ignore"
|
||||
style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;" class="form-control" onClick="WdatePicker()" type="date" pattern="yyyy-MM-dd" />
|
||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||
<label class="Validform_label" style="display: none">结束日期</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row show-grid">
|
||||
<div class="col-xs-3 text-center">
|
||||
<b>备注:</b>
|
||||
|
@ -173,38 +173,38 @@
|
|||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||
<label class="Validform_label" style="display: none">备注</label>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-xs-3 text-center">
|
||||
<b>附件:</b>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<t:webUploader auto="true" name="fujian" duplicate="true" fileNumLimit="3"></t:webUploader>
|
||||
|
||||
|
||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||
<label class="Validform_label" style="display: none">附件</label>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="con-wrapper" style="display: block;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
//查看模式情况下,删除和上传附件功能禁止使用
|
||||
if(location.href.indexOf("load=detail")!=-1){
|
||||
$(".jeecgDetail").hide();
|
||||
}
|
||||
|
||||
|
||||
if(location.href.indexOf("mode=read")!=-1){
|
||||
//查看模式控件禁用
|
||||
$("#formobj").find(":input").attr("disabled","disabled");
|
||||
|
@ -217,7 +217,7 @@
|
|||
|
||||
var neibuClickFlag = false;
|
||||
function neibuClick() {
|
||||
neibuClickFlag = true;
|
||||
neibuClickFlag = true;
|
||||
$('#btn_sub').trigger('click');
|
||||
}
|
||||
</script>
|
||||
|
@ -227,12 +227,12 @@
|
|||
<ul class="nav nav-tabs">
|
||||
<li role="presentation" tab-ajax-url="wmCusCostHController.do?wmCusCostIList&id=${wmCusCostHPage.id}"><a href="#con-wrapper0">费用项目</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="con-wrapper" id="con-wrapper0" style="display: none;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div align="center" id = "sub_tr" style="display: none;" > <input type="button" value="提交" onclick="neibuClick();" class="ui_state_highlight"></div>
|
||||
<script src="plug-in/layer/layer.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
@ -307,7 +307,7 @@
|
|||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</form>
|
||||
<!-- 添加 产品明细 模版 -->
|
||||
<table style="display:none">
|
||||
|
@ -316,36 +316,48 @@
|
|||
<th scope="row"><div name="xh"></div></th>
|
||||
<td><input style="width:20px;" type="checkbox" name="ck"/></td>
|
||||
<td align="left">
|
||||
<t:dictSelect field="wmCusCostIList[#index#].costCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
dictTable="ba_cost" dictField="cost_code" dictText="cost_name" defaultVal="" hasLabel="false" title="费用名称"></t:dictSelect>
|
||||
<t:dictSelect field="wmCusCostIList[#index#].costCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
dictTable="ba_cost" dictField="cost_code" dictText="cost_name" defaultVal="" hasLabel="false" title="费用名称"></t:dictSelect>
|
||||
<label class="Validform_label" style="display: none;">费用名称</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].costJg" maxlength="32"
|
||||
<input name="wmCusCostIList[#index#].costJg" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">价格RMB</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].freeDay" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">免费天数</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].freeDay2" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">免费天数2</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].costSl" maxlength="32"
|
||||
<input name="wmCusCostIList[#index#].costSl" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">税率</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].costZk" maxlength="32"
|
||||
<input name="wmCusCostIList[#index#].costZk" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">折扣</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].costBhs" maxlength="32"
|
||||
<input name="wmCusCostIList[#index#].costBhs" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">不含税价RMB</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].costHs" maxlength="32"
|
||||
<input name="wmCusCostIList[#index#].costHs" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">含税价RMB</label>
|
||||
|
@ -353,6 +365,6 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<script src = "webpage/com/zzjee/wm/wmCusCostH.js"></script>
|
||||
<script src = "webpage/com/zzjee/wm/wmCusCostH.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -38,19 +38,19 @@
|
|||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
init();
|
||||
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
|
||||
$("#jform_tab li:first").addClass("active").show(); //Activate first tab
|
||||
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
|
||||
$("#jform_tab li:first").addClass("active").show(); //Activate first tab
|
||||
$("#jform_tab .con-wrapper:first").show(); //Show first tab content
|
||||
|
||||
|
||||
//On Click Event
|
||||
$("#jform_tab li").click(function() {
|
||||
$("#jform_tab li").removeClass("active"); //Remove any "active" class
|
||||
$(this).addClass("active"); //Add "active" class to selected tab
|
||||
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
|
||||
var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
|
||||
|
||||
|
||||
//On Click Event
|
||||
$("#jform_tab li").click(function() {
|
||||
$("#jform_tab li").removeClass("active"); //Remove any "active" class
|
||||
$(this).addClass("active"); //Add "active" class to selected tab
|
||||
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
|
||||
var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
|
||||
$(activeTab).fadeIn(); //Fade in the active content
|
||||
//$(""+activeTab).show();
|
||||
//$(""+activeTab).show();
|
||||
if( $(activeTab).html()!="") {
|
||||
return false;
|
||||
}else{
|
||||
|
@ -59,11 +59,11 @@
|
|||
$.post(url, {}, function(data) {
|
||||
//$(this).attr("tab-ajax-cached", true);
|
||||
$(activeTab).html(data);
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
//初始化下标
|
||||
function resetTrNum(tableId) {
|
||||
|
@ -85,10 +85,10 @@
|
|||
$(this).find('div[name=\'xh\']').html(i+1);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function init(){
|
||||
var tabHead =$("#jform_tab li:first");
|
||||
var tabBox = $("#jform_tab .con-wrapper:first");
|
||||
var tabBox = $("#jform_tab .con-wrapper:first");
|
||||
var url = tabHead.attr("tab-ajax-url");
|
||||
tabBox.html('正在加载内容,请稍后...');
|
||||
$.post(url, {}, function(data) {
|
||||
|
@ -99,11 +99,11 @@
|
|||
</script>
|
||||
<body>
|
||||
<form id="formobj" action="wmCusCostHController.do?doUpdate" name="formobj" method="post"><input type="hidden" id="btn_sub" class="btn_sub"/>
|
||||
|
||||
|
||||
<input type="hidden" id="btn_sub" class="btn_sub"/>
|
||||
<input type="hidden" name="id" value='${wmCusCostHPage.id}' >
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="tab-wrapper">
|
||||
<!-- tab -->
|
||||
<ul class="nav nav-tabs">
|
||||
|
@ -117,94 +117,94 @@
|
|||
<b>客户编码:</b>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<t:dictSelect field="cusCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
dictTable="mv_cus" dictField="cus_code" dictText="cus_name" defaultVal="${wmCusCostHPage.cusCode}" hasLabel="false" title="客户编码"></t:dictSelect>
|
||||
<t:dictSelect field="cusCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
dictTable="mv_cus" dictField="cus_code" dictText="cus_name" defaultVal="${wmCusCostHPage.cusCode}" hasLabel="false" title="客户编码"></t:dictSelect>
|
||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||
<label class="Validform_label" style="display: none">客户编码</label>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-xs-3 text-center">
|
||||
<b>合同编号:</b>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<input id="cusHetongid" name="cusHetongid" type="text" class="form-control"
|
||||
<input id="cusHetongid" name="cusHetongid" type="text" class="form-control"
|
||||
ignore="ignore"
|
||||
value='${wmCusCostHPage.cusHetongid}' />
|
||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||
<label class="Validform_label" style="display: none">合同编号</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row show-grid">
|
||||
<div class="col-xs-3 text-center">
|
||||
<b>开始日期:</b>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<input id="beginDate" name="beginDate" type="text"
|
||||
<input id="beginDate" name="beginDate" type="text"
|
||||
ignore="ignore"
|
||||
style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;" class="form-control" onClick="WdatePicker()" value="<fmt:formatDate value='${wmCusCostHPage.beginDate}' type='date' pattern='yyyy-MM-dd'/>" />
|
||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||
<label class="Validform_label" style="display: none">开始日期</label>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-xs-3 text-center">
|
||||
<b>结束日期:</b>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<input id="endDate" name="endDate" type="text"
|
||||
<input id="endDate" name="endDate" type="text"
|
||||
ignore="ignore"
|
||||
style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;" class="form-control" onClick="WdatePicker()" value="<fmt:formatDate value='${wmCusCostHPage.endDate}' type='date' pattern='yyyy-MM-dd'/>" />
|
||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||
<label class="Validform_label" style="display: none">结束日期</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row show-grid">
|
||||
<div class="col-xs-3 text-center">
|
||||
<b>备注:</b>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<input id="cusBeizhu" name="cusBeizhu" type="text" class="form-control"
|
||||
<input id="cusBeizhu" name="cusBeizhu" type="text" class="form-control"
|
||||
ignore="ignore"
|
||||
value='${wmCusCostHPage.cusBeizhu}' />
|
||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||
<label class="Validform_label" style="display: none">备注</label>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-xs-3 text-center">
|
||||
<b>附件:</b>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-xs-3">
|
||||
<t:webUploader auto="true" pathValues='${wmCusCostHPage.fujian}' name="fujian" duplicate="true" fileNumLimit="3"></t:webUploader>
|
||||
|
||||
|
||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||
<label class="Validform_label" style="display: none">附件</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="con-wrapper" style="display: block;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
//查看模式情况下,删除和上传附件功能禁止使用
|
||||
if(location.href.indexOf("load=detail")!=-1){
|
||||
$(".jeecgDetail").hide();
|
||||
}
|
||||
|
||||
|
||||
if(location.href.indexOf("mode=read")!=-1){
|
||||
//查看模式控件禁用
|
||||
$("#formobj").find(":input").attr("disabled","disabled");
|
||||
|
@ -217,7 +217,7 @@
|
|||
|
||||
var neibuClickFlag = false;
|
||||
function neibuClick() {
|
||||
neibuClickFlag = true;
|
||||
neibuClickFlag = true;
|
||||
$('#btn_sub').trigger('click');
|
||||
}
|
||||
</script>
|
||||
|
@ -227,12 +227,12 @@
|
|||
<ul class="nav nav-tabs">
|
||||
<li role="presentation" tab-ajax-url="wmCusCostHController.do?wmCusCostIList&id=${wmCusCostHPage.id}"><a href="#con-wrapper0">费用项目</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="con-wrapper" id="con-wrapper0" style="display: none;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div align="center" id = "sub_tr" style="display: none;" > <input type="button" value="提交" onclick="neibuClick();" class="ui_state_highlight"></div>
|
||||
<script src="plug-in/layer/layer.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
@ -306,7 +306,7 @@
|
|||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
</form>
|
||||
<!-- 添加 产品明细 模版 -->
|
||||
<table style="display:none">
|
||||
|
@ -315,36 +315,48 @@
|
|||
<th scope="row"><div name="xh"></div></th>
|
||||
<td><input style="width:20px;" type="checkbox" name="ck"/></td>
|
||||
<td align="left">
|
||||
<t:dictSelect field="wmCusCostIList[#index#].costCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
dictTable="ba_cost" dictField="cost_code" dictText="cost_name" defaultVal="" hasLabel="false" title="费用名称"></t:dictSelect>
|
||||
<t:dictSelect field="wmCusCostIList[#index#].costCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
dictTable="ba_cost" dictField="cost_code" dictText="cost_name" defaultVal="" hasLabel="false" title="费用名称"></t:dictSelect>
|
||||
<label class="Validform_label" style="display: none;">费用名称</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].costJg" maxlength="32"
|
||||
<input name="wmCusCostIList[#index#].costJg" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">价格RMB</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].freeDay" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">免费天数</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].freeDay2" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">免费天数2</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].costSl" maxlength="32"
|
||||
<input name="wmCusCostIList[#index#].costSl" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">税率</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].costZk" maxlength="32"
|
||||
<input name="wmCusCostIList[#index#].costZk" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">折扣</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].costBhs" maxlength="32"
|
||||
<input name="wmCusCostIList[#index#].costBhs" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">不含税价RMB</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[#index#].costHs" maxlength="32"
|
||||
<input name="wmCusCostIList[#index#].costHs" maxlength="32"
|
||||
ignore="checked"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">含税价RMB</label>
|
||||
|
@ -352,6 +364,6 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<script src = "webpage/com/zzjee/wm/wmCusCostH.js"></script>
|
||||
<script src = "webpage/com/zzjee/wm/wmCusCostH.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
<div class="col-md-12 layout-header">
|
||||
<button id="addBtn_WmCusCostI" type="button" class="btn btn-default">添加</button>
|
||||
<button id="delBtn_WmCusCostI" type="button" class="btn btn-default">删除</button>
|
||||
<script type="text/javascript">
|
||||
$('#addBtn_WmCusCostI').bind('click', function(){
|
||||
<script type="text/javascript">
|
||||
$('#addBtn_WmCusCostI').bind('click', function(){
|
||||
var tr = $("#add_wmCusCostI_table_template tr").clone();
|
||||
$("#add_wmCusCostI_table").append(tr);
|
||||
resetTrNum('add_wmCusCostI_table');
|
||||
return false;
|
||||
});
|
||||
$('#delBtn_WmCusCostI').bind('click', function(){
|
||||
$("#add_wmCusCostI_table").find("input:checked").parent().parent().remove();
|
||||
});
|
||||
$('#delBtn_WmCusCostI').bind('click', function(){
|
||||
$("#add_wmCusCostI_table").find("input:checked").parent().parent().remove();
|
||||
resetTrNum('add_wmCusCostI_table');
|
||||
return false;
|
||||
});
|
||||
|
@ -30,7 +30,7 @@
|
|||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin: 0 15px; background-color: white;">
|
||||
<div style="margin: 0 15px; background-color: white;">
|
||||
<!-- Table -->
|
||||
<table id="wmCusCostI_table" class="table table-bordered table-hover" style="margin-bottom: 0;">
|
||||
<thead>
|
||||
|
@ -40,6 +40,12 @@
|
|||
<th>
|
||||
费用名称
|
||||
</th>
|
||||
<th>
|
||||
免费天数
|
||||
</th>
|
||||
<th>
|
||||
免费天数2
|
||||
</th>
|
||||
<th>
|
||||
价格RMB
|
||||
</th>
|
||||
|
@ -57,8 +63,8 @@
|
|||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody id="add_wmCusCostI_table">
|
||||
|
||||
<tbody id="add_wmCusCostI_table">
|
||||
<c:if test="${fn:length(wmCusCostIList) <= 0 }">
|
||||
<tr>
|
||||
<th scope="row"><div name="xh"></div></th>
|
||||
|
@ -74,12 +80,22 @@
|
|||
<input name="wmCusCostIList[0].sysCompanyCode" type="hidden"/>
|
||||
<input name="wmCusCostIList[0].cusCostId" type="hidden"/>
|
||||
<td>
|
||||
<t:dictSelect field="wmCusCostIList[0].costCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
dictTable="ba_cost" dictField="cost_code" dictText="cost_name" defaultVal="${wmCusCostIPage.costCode}" hasLabel="false" title="费用名称"></t:dictSelect>
|
||||
<t:dictSelect field="wmCusCostIList[0].costCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
dictTable="ba_cost" dictField="cost_code" dictText="cost_name" defaultVal="${wmCusCostIPage.costCode}" hasLabel="false" title="费用名称"></t:dictSelect>
|
||||
<label class="Validform_label" style="display: none;">费用名称</label>
|
||||
</td>
|
||||
<td>
|
||||
<input name="wmCusCostIList[0].freeDay" maxlength="32"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">免费天数</label>
|
||||
</td>
|
||||
<td>
|
||||
<input name="wmCusCostIList[0].freeDay2" maxlength="32"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">免费天数2</label>
|
||||
</td>
|
||||
<td>
|
||||
<input name="wmCusCostIList[0].costJg" maxlength="32"
|
||||
<input name="wmCusCostIList[0].costJg" maxlength="32"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">价格RMB</label>
|
||||
</td>
|
||||
|
@ -94,12 +110,12 @@
|
|||
<label class="Validform_label" style="display: none;">折扣</label>
|
||||
</td>
|
||||
<td>
|
||||
<input name="wmCusCostIList[0].costBhs" maxlength="32"
|
||||
<input name="wmCusCostIList[0].costBhs" maxlength="32"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">不含税价RMB</label>
|
||||
</td>
|
||||
<td>
|
||||
<input name="wmCusCostIList[0].costHs" maxlength="32"
|
||||
<input name="wmCusCostIList[0].costHs" maxlength="32"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*">
|
||||
<label class="Validform_label" style="display: none;">含税价RMB</label>
|
||||
</td>
|
||||
|
@ -121,12 +137,22 @@
|
|||
<input name="wmCusCostIList[${stuts.index }].sysCompanyCode" type="hidden" value="${poVal.sysCompanyCode }"/>
|
||||
<input name="wmCusCostIList[${stuts.index }].cusCostId" type="hidden" value="${poVal.cusCostId }"/>
|
||||
<td align="left">
|
||||
<t:dictSelect field="wmCusCostIList[${stuts.index }].costCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
dictTable="ba_cost" dictField="cost_code" dictText="cost_name" defaultVal="${poVal.costCode }" hasLabel="false" title="费用名称"></t:dictSelect>
|
||||
<t:dictSelect field="wmCusCostIList[${stuts.index }].costCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
dictTable="ba_cost" dictField="cost_code" dictText="cost_name" defaultVal="${poVal.costCode }" hasLabel="false" title="费用名称"></t:dictSelect>
|
||||
<label class="Validform_label" style="display: none;">费用名称</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[${stuts.index }].freeDay" maxlength="32"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*" value="${poVal.freeDay }">
|
||||
<label class="Validform_label" style="display: none;">免费天数</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[${stuts.index }].freeDay2" maxlength="32"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*" value="${poVal.freeDay2 }">
|
||||
<label class="Validform_label" style="display: none;">免费天数2</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[${stuts.index }].costJg" maxlength="32"
|
||||
<input name="wmCusCostIList[${stuts.index }].costJg" maxlength="32"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*" value="${poVal.costJg }">
|
||||
<label class="Validform_label" style="display: none;">价格RMB</label>
|
||||
</td>
|
||||
|
@ -146,12 +172,12 @@
|
|||
<label class="Validform_label" style="display: none;">不含税价RMB</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmCusCostIList[${stuts.index }].costHs" maxlength="32"
|
||||
<input name="wmCusCostIList[${stuts.index }].costHs" maxlength="32"
|
||||
type="text" class="form-control" style="width:120px;" datatype="*" value="${poVal.costHs }">
|
||||
<label class="Validform_label" style="display: none;">含税价RMB</label>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue