Commit 080c0081 authored by 黄奎's avatar 黄奎
parents 5face71a 2a01f724
...@@ -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" v-if="DataNum">
<div class="groupTourOrder_count_item HT_total">
<div>
<span></span>
</div>
<p>
<span>月摊销:
<span :style="{'color': DataNum.Month?'red':''}">{{ DataNum.Month }}</span>
</span>
<span style="margin-left: 20px;">摊销余额:
<span :style="{'color': DataNum.Remain<=0?'red':''}">{{ DataNum.Remain }}</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',
...@@ -293,6 +317,7 @@ ...@@ -293,6 +317,7 @@
isBatchPrinting: false, isBatchPrinting: false,
ShowFixedAssets: false, ShowFixedAssets: false,
showUpdateCreate:false, showUpdateCreate:false,
DataNum: null
} }
}, },
created() { created() {
...@@ -309,6 +334,7 @@ ...@@ -309,6 +334,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: {
...@@ -388,12 +414,13 @@ ...@@ -388,12 +414,13 @@
this.apipost('Financial_post_GetFinanceRelevancePageList', this.msg, res => { this.apipost('Financial_post_GetFinanceRelevancePageList', this.msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let data = res.data.data.pageData; let data = res.data.data.pageData;
this.DataNum = data;
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.total = res.data.data.count; this.total = res.data.data.count;
if (this.total == 0) { if (this.total == 0) {
this.DataList = []; this.DataList = [];
} else { } else {
this.DataList = data; this.DataList = data.list;
} }
this.loading = false; this.loading = false;
} else { } else {
......
...@@ -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>
......
...@@ -1546,7 +1546,8 @@ ...@@ -1546,7 +1546,8 @@
// 单个字母开头(E或G)后跟8位数字 // 单个字母开头(E或G)后跟8位数字
const pattern1 = /^[EGH][0-9]{8}$/; const pattern1 = /^[EGH][0-9]{8}$/;
// 两个字母开头(E开头,第二个字母不能是I或O)后跟7位数字 // 两个字母开头(E开头,第二个字母不能是I或O)后跟7位数字
const pattern2 = /^E[A-HJ-NP-Z][0-9]{7}$/; // const pattern2 = /^E[A-HJ-NP-Z][0-9]{7}$/;
const pattern2 = /^[EP][A-HJ-NP-Z][0-9]{7}$/;
this.PassportNoSure = pattern1.test(this.addMsg.PassportNo) || pattern2.test(this.addMsg.PassportNo); this.PassportNoSure = pattern1.test(this.addMsg.PassportNo) || pattern2.test(this.addMsg.PassportNo);
if (!this.PassportNoSure) { if (!this.PassportNoSure) {
this.$message.error("护照格式不正确") this.$message.error("护照格式不正确")
......
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