Commit 30fb65ac authored by 黄奎's avatar 黄奎

页面修改

parent 701bc1ce
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
<el-col :span="4"> <el-col :span="4">
<el-form-item label="手配费公司:"> <el-form-item label="手配费公司:">
<el-select filterable v-model='msg.KingdeeBranchId' :disabled="!isRB_Depart_Id" class=""> <el-select filterable v-model='msg.KingdeeBranchId' :disabled="!isRB_Depart_Id" class="">
<!-- <el-option :value="-1" label="不限"></el-option> -->
<el-option v-for='item in GetHandFeeList' :label='item.BranchName' :value='item.BranchId' <el-option v-for='item in GetHandFeeList' :label='item.BranchName' :value='item.BranchId'
:key='item.BranchId'> :key='item.BranchId'>
</el-option> </el-option>
...@@ -22,7 +21,8 @@ ...@@ -22,7 +21,8 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="发团日期:"> <el-form-item label="发团日期:">
<el-date-picker class="h34" v-model="missionDate" type="daterange" value-format="yyyy-MM-dd"> <el-date-picker class="h34" v-model="missionDate" type="daterange" value-format="yyyy-MM-dd"
@input="getdatalist">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -36,10 +36,10 @@ ...@@ -36,10 +36,10 @@
</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%" row-key="FinanceId"> <el-table ref="multipleTable" :data="DataList" tooltip-effect="dark" style="width: 100%" row-key="FinanceId">
<el-table-column prop="" label="公司" width="120"> <el-table-column prop="" label="公司" width="150">
<template slot-scope="scope">{{ scope.row.BranchName }}</template> <template slot-scope="scope">{{ scope.row.BranchName }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="团队信息" width="180"> <el-table-column prop="" label="团队信息" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.OtherType==0"> <template v-if="scope.row.OtherType==0">
{{ scope.row.TCNUM }}({{scope.row.TCID}}) {{ scope.row.TCNUM }}({{scope.row.TCID}})
...@@ -49,49 +49,61 @@ ...@@ -49,49 +49,61 @@
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="类型" width="120"> <el-table-column prop="" label="类型" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-for="(subItem,subIndex) in scope.row.CostTypeList"> <template v-for="(subItem,subIndex) in scope.row.CostTypeList">
<span :key="subIndex"> {{subItem.CostTypeName}} <span :key="subIndex"> {{subItem.CostTypeName}}
</span> </span>
<br :key="subIndex+10000" />
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="数量" width="120"> <el-table-column prop="" label="数量" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-for="(subItem,subIndex) in scope.row.CostTypeList"> <template v-for="(subItem,subIndex) in scope.row.CostTypeList">
<span :key="subIndex"> <span :key="subIndex">
{{subItem.Number}} {{subItem.Number}}
</span> </span>
<br :key="subIndex+20000" />
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="酒店信息" width="120"> <el-table-column prop="" label="金额" width="150">
<template slot-scope="scope">
<template v-for="(subItem,subIndex) in scope.row.CostTypeList">
<span :key="subIndex">
{{subItem.Money}}
</span>
<br :key="subIndex+30000" />
</template>
</template>
</el-table-column>
<el-table-column prop="" label="酒店信息">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.OtherType==0 && scope.row.HotelList&&scope.row.HotelList.length>0"> <template v-if="scope.row.OtherType==0 && scope.row.HotelList&&scope.row.HotelList.length>0">
<el-popover width="980" trigger="click" placement="right"> <template v-for="(subItem,subIndex) in scope.row.HotelList">
<commonHotelInfo :HotelObj="scope.row.HotelList" :showHotelObj="showHotelObj" :TCID="scope.row.TCID" <span :key="subIndex+40000"> {{subItem.UseDay}}
:TCNUM="scope.row.TCNUM"></commonHotelInfo> <template v-if="subItem.SubList&&subItem.SubList.length>0">
<div slot="reference" style="cursor:pointer;"> <template v-for="(childItem) in subItem.SubList">
酒店使用情况 {{childItem.NewHotelName}}
</div> </template>
</el-popover> </template>
</span>
<br :key="subIndex+50000" />
</template>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="总金额" width="120"> <el-table-column prop="" label="总金额" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.TotalMoney}} {{ scope.row.TotalMoney}}
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import commonHotelInfo from "../../commonPage/commonHotelInfo.vue";
export default { export default {
data() { data() {
return { return {
...@@ -121,10 +133,12 @@ ...@@ -121,10 +133,12 @@
created() { created() {
let sDate = this.FormartDate(new Date(this.getBeforeDate(1))); let sDate = this.FormartDate(new Date(this.getBeforeDate(1)));
let eDate = this.FormartDate(new Date(this.getBeforeDate(0))); let eDate = this.FormartDate(new Date(this.getBeforeDate(0)));
sDate = '2023-07-01'; var now = new Date();
var firstDay = new Date(now.getFullYear(), now.getMonth(), 1)
sDate = this.FormartDate(firstDay);
//sDate = '2023-06-01'
this.missionDate = [sDate, eDate] this.missionDate = [sDate, eDate]
this.msg.QStartDate = sDate; this.msg.QStartDate = sDate;
this.msg.QEndDate = eDate; this.msg.QEndDate = eDate;
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
let ActionMenuCode = userInfo.ActionMenuCode; let ActionMenuCode = userInfo.ActionMenuCode;
...@@ -134,13 +148,12 @@ ...@@ -134,13 +148,12 @@
this.getHandFeeBranch(); this.getHandFeeBranch();
}, },
components: { components: {
commonHotelInfo,
}, },
mounted() { mounted() {
}, },
methods: { methods: {
//获取手配费公司 //获取手配费公司
getHandFeeBranch() { getHandFeeBranch() {
this.apipost( this.apipost(
...@@ -165,19 +178,16 @@ ...@@ -165,19 +178,16 @@
); );
}, },
getdatalist() { getdatalist() {
console.log("this.missionDate", this.missionDate) if (this.missionDate && this.missionDate.length == 2) {
if (this.missionDate) {
this.msg.QStartDate = this.missionDate[0]; this.msg.QStartDate = this.missionDate[0];
this.msg.QEndDate = this.missionDate[1]; this.msg.QEndDate = this.missionDate[1];
} }
this.loading = true; this.loading = true;
this.apipost( this.apipost(
"Financial_post_GetJanpanHandFeeMonthBoard", this.msg, "Financial_post_GetJanpanHandFeeMonthBoard", this.msg,
res => { res => {
this.loading = false; this.loading = false;
console.log("res", res.data);
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.DataList = res.data.data; this.DataList = res.data.data;
} }
...@@ -187,7 +197,6 @@ ...@@ -187,7 +197,6 @@
} }
); );
} }
} }
} }
......
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