Commit 73076f4d authored by youjie's avatar youjie

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

parent d187fa53
...@@ -72,18 +72,25 @@ ...@@ -72,18 +72,25 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="4">
<el-form-item :label="$t('objFill.remarkquery')"> <el-form-item :label="$t('objFill.remarkquery')">
<el-input v-model="msg.Remark"></el-input> <el-input v-model="msg.Remark"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="4">
<el-form-item label=""> <el-form-item label="">
<el-checkbox v-model="msg.IsSelectRemain" :true-label='1' :false-label='0'> <el-checkbox v-model="msg.IsSelectRemain" :true-label='1' :false-label='0'>
{{$t('fnc.onlyseebalance')}} {{$t('fnc.onlyseebalance')}}
</el-checkbox> </el-checkbox>
</el-form-item> </el-form-item>
</el-col> </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-row>
</el-form> </el-form>
...@@ -94,6 +101,22 @@ ...@@ -94,6 +101,22 @@
</li> </li>
</ul> </ul>
</div> </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'> <div class="_fnDm_content" v-loading='loading'>
<el-table ref="multipleTable" :data="DataList" tooltip-effect="dark" style="width: 100%" <el-table ref="multipleTable" :data="DataList" tooltip-effect="dark" style="width: 100%"
row-key="Id"> row-key="Id">
...@@ -250,6 +273,7 @@ ...@@ -250,6 +273,7 @@
Remark: '', //备注查询 Remark: '', //备注查询
CostTypeID: '', CostTypeID: '',
IsSelectRemain:0, IsSelectRemain:0,
QMonth: '',
}, },
getCompanyMsg: { // 公司 getCompanyMsg: { // 公司
RB_Group_Id: '0', RB_Group_Id: '0',
...@@ -309,6 +333,7 @@ ...@@ -309,6 +333,7 @@
this.msg.sTradeDate = this.$route.query.StartDate; this.msg.sTradeDate = this.$route.query.StartDate;
this.msg.eTradeDate = 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: { components: {
...@@ -325,6 +350,17 @@ ...@@ -325,6 +350,17 @@
this.getPageList(); this.getPageList();
}, },
methods: { 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) { goUrlDetail(path, rowData) {
this.$router.push({ this.$router.push({
path: path, path: path,
......
...@@ -174,6 +174,7 @@ ...@@ -174,6 +174,7 @@
<th>{{$t('fnc.djleixing')}}</th> <th>{{$t('fnc.djleixing')}}</th>
<th>{{$t('fnc.danhao')}}</th> <th>{{$t('fnc.danhao')}}</th>
<th width="100">{{$t('objFill.v101.FinancialModule.guanljsd')}}</th> <th width="100">{{$t('objFill.v101.FinancialModule.guanljsd')}}</th>
<th>团号</th>
<th>{{$t('fnc.feiyongleixing')}}</th> <th>{{$t('fnc.feiyongleixing')}}</th>
<th width="340">{{$t('objFill.v101.FinancialModule.shoufkdx')}}</th> <th width="340">{{$t('objFill.v101.FinancialModule.shoufkdx')}}</th>
<th>{{$t('hotel.hotel_Currency')}}</th> <th>{{$t('hotel.hotel_Currency')}}</th>
...@@ -183,7 +184,7 @@ ...@@ -183,7 +184,7 @@
<th>{{$t('objFill.daishou')}}</th> <th>{{$t('objFill.daishou')}}</th>
</tr> </tr>
<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>{{ OutMoney == 0 ? '-' : moneyFormat(OutMoney) }}</td>
<td>{{ InMoney == 0 ? '-' : moneyFormat(InMoney) }}</td> <td>{{ InMoney == 0 ? '-' : moneyFormat(InMoney) }}</td>
</tr> </tr>
...@@ -198,6 +199,7 @@ ...@@ -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> <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>
<td>{{item.CallBackReFrId>0?item.CallBackReFrId:item.IsSpecial==1?'结算单':''}}</td> <td>{{item.CallBackReFrId>0?item.CallBackReFrId:item.IsSpecial==1?'结算单':''}}</td>
<td>{{ item.TCNUM?item.TCNUM:'' }}</td>
<td>{{item.CostTypeIdStr}}</td> <td>{{item.CostTypeIdStr}}</td>
<td>{{item.RemitterName}}</td> <td>{{item.RemitterName}}</td>
<td>{{item.CurrencyName}}</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