|
@@ -275,7 +275,7 @@
|
|
|
</div>
|
|
|
<div>
|
|
|
<!--办事处相关费用-->
|
|
|
- <table class="table table-bordered table-condensed" >
|
|
|
+ <table feeType1 class="table table-bordered table-condensed" >
|
|
|
<tr><th class="taC" colspan="3">日常相关费用</th></tr>
|
|
|
<tr><td>
|
|
|
<div class="cost-item">
|
|
@@ -302,7 +302,7 @@
|
|
|
</tr>
|
|
|
</table>
|
|
|
<!--差旅相关费用-->
|
|
|
- <table class="table table-bordered table-condensed" style="display:none">
|
|
|
+ <table feeType2 class="table table-bordered table-condensed" style="display:none">
|
|
|
<tr><th class="taC" colspan="3">差旅相关费用</th></tr>
|
|
|
<tr><td>
|
|
|
<div class="cost-item">
|
|
@@ -317,7 +317,7 @@
|
|
|
</tr>
|
|
|
</table>
|
|
|
<!--内部培训费用-->
|
|
|
- <table class="table table-bordered table-condensed" style="display:none">
|
|
|
+ <table feeType3 class="table table-bordered table-condensed" style="display:none">
|
|
|
<tr><th class="taC" colspan="3">内部培训费用</th></tr>
|
|
|
<tr><td>
|
|
|
<div class="cost-item">
|
|
@@ -344,9 +344,19 @@
|
|
|
$(function() {
|
|
|
$("input[name='feeType']").click(function() {
|
|
|
var feeType = $(this).val();
|
|
|
- console.log('sdf');
|
|
|
- console.log(feeType);
|
|
|
-
|
|
|
+ if(feeType==1){
|
|
|
+ $("table[feeType1]").show();
|
|
|
+ $("table[feeType2]").hide();
|
|
|
+ $("table[feeType3]").hide();
|
|
|
+ }else if(feeType==2){
|
|
|
+ $("table[feeType1]").hide();
|
|
|
+ $("table[feeType2]").show();
|
|
|
+ $("table[feeType3]").hide();
|
|
|
+ }else if(feeType==3){
|
|
|
+ $("table[feeType1]").hide();
|
|
|
+ $("table[feeType2]").hide();
|
|
|
+ $("table[feeType3]").show();
|
|
|
+ }
|
|
|
});
|
|
|
})
|
|
|
autoFlashHeight();
|