Commit 73076f4d authored by youjie's avatar youjie

代收代付明细 费用摊销查询管理

parent d187fa53
......@@ -72,18 +72,25 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="4">
<el-form-item :label="$t('objFill.remarkquery')">
<el-input v-model="msg.Remark"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="4">
<el-form-item label="">
<el-checkbox v-model="msg.IsSelectRemain" :true-label='1' :false-label='0'>
{{$t('fnc.onlyseebalance')}}
</el-checkbox>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="摊销月份">
<el-date-picker class="h34" v-model="msg.QMonth" type="month" style="width: 100%"
value-format="yyyy-MM">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
</el-form>
......@@ -94,6 +101,22 @@
</li>
</ul>
</div>
<!-- 统计版块 -->
<div class="groupTourOrder_count">
<div class="groupTourOrder_count_item HT_total">
<div>
<span></span>
</div>
<p>
<span>月摊销:
{{ TotalData(1) }}
</span>
<span style="margin-left: 20px;">摊销余额:
<span :style="{'color': TotalData(1)>0?'red':''}">{{ TotalData() }}</span>
</span>
</p>
</div>
</div>
<div class="_fnDm_content" v-loading='loading'>
<el-table ref="multipleTable" :data="DataList" tooltip-effect="dark" style="width: 100%"
row-key="Id">
......@@ -250,6 +273,7 @@
Remark: '', //备注查询
CostTypeID: '',
IsSelectRemain:0,
QMonth: '',
},
getCompanyMsg: { // 公司
RB_Group_Id: '0',
......@@ -309,6 +333,7 @@
this.msg.sTradeDate = this.$route.query.StartDate;
this.msg.eTradeDate = this.$route.query.StartDate;
}
this.msg.QMonth = this.getBeforeDate(30, new Date().Format("yyyy-MM-dd"),'yyyy-MM');
},
components: {
......@@ -325,6 +350,17 @@
this.getPageList();
},
methods: {
TotalData(type){
let Total = 0;
this.DataList.length>0&&this.DataList.forEach(item => {
if(type==1){
Total += item.Money
}else{
Total += item.Remain
}
})
return Total;
},
goUrlDetail(path, rowData) {
this.$router.push({
path: path,
......
......@@ -174,6 +174,7 @@
<th>{{$t('fnc.djleixing')}}</th>
<th>{{$t('fnc.danhao')}}</th>
<th width="100">{{$t('objFill.v101.FinancialModule.guanljsd')}}</th>
<th>团号</th>
<th>{{$t('fnc.feiyongleixing')}}</th>
<th width="340">{{$t('objFill.v101.FinancialModule.shoufkdx')}}</th>
<th>{{$t('hotel.hotel_Currency')}}</th>
......@@ -183,7 +184,7 @@
<th>{{$t('objFill.daishou')}}</th>
</tr>
<tr>
<td :colspan="10">{{$t('fnc.a_heji')}}({{$t('hotel.hotel_totalRoom')}}{{ DataList.length }} {{$t('hotel.hotel_item')}})</td>
<td :colspan="11">{{$t('fnc.a_heji')}}({{$t('hotel.hotel_totalRoom')}}{{ DataList.length }} {{$t('hotel.hotel_item')}})</td>
<td>{{ OutMoney == 0 ? '-' : moneyFormat(OutMoney) }}</td>
<td>{{ InMoney == 0 ? '-' : moneyFormat(InMoney) }}</td>
</tr>
......@@ -198,6 +199,7 @@
<span class="cursorpointer" :class="item.FType === 1 ? 'CAcc_bg_green' :item.FType === 2 ? 'CAcc_bg_red':'CAcc_bg_bule'" @click="goUrlNew(item.FType,item.FrID)">{{item.FrID}}</span>
</td>
<td>{{item.CallBackReFrId>0?item.CallBackReFrId:item.IsSpecial==1?'结算单':''}}</td>
<td>{{ item.TCNUM?item.TCNUM:'' }}</td>
<td>{{item.CostTypeIdStr}}</td>
<td>{{item.RemitterName}}</td>
<td>{{item.CurrencyName}}</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment