Commit ef28a84a authored by youjie's avatar youjie
parents 65879c3c 77597cc6
...@@ -904,7 +904,7 @@ ...@@ -904,7 +904,7 @@
@click="ImpressionSingleDetails(isOrderOP?'CharterOrderListOP':'CharterOrderList')">{{$t('objFill.dxcdd')+':'+GetDetail.ReFinanceId}}</div> @click="ImpressionSingleDetails(isOrderOP?'CharterOrderListOP':'CharterOrderList')">{{$t('objFill.dxcdd')+':'+GetDetail.ReFinanceId}}</div>
<div v-if="GetDetail.OtherType==80" class="illustrate-right fygsbumen-box-right" <div v-if="GetDetail.OtherType==80" class="illustrate-right fygsbumen-box-right"
@click="ImpressionSingleDetails(isOrderOP?'CarDealerOrderOP':'CarDealerOrder')"> @click="ImpressionSingleDetails(isOrderOP?'CarDealerOrderOP':'CarDealerOrder')">
{{$t('objFill.chdd')+':'+GetDetail.ReFinanceId}}</div> {{$t('objFill.chdd')+':'+GetDetail.TCNUM}}</div>
<!-- <div v-if="GetDetail.OtherType==63" class="illustrate-right fygsbumen-box-right" <!-- <div v-if="GetDetail.OtherType==63" class="illustrate-right fygsbumen-box-right"
@click="ImpressionSingleCommissionDetails('ServiceCommissiondetails',1)">{{$t('objFill.dxxstcxq')}}</div> @click="ImpressionSingleCommissionDetails('ServiceCommissiondetails',1)">{{$t('objFill.dxxstcxq')}}</div>
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<template v-if="!heightQueryBox"> <template v-if="!heightQueryBox">
<el-col :span="8"> <el-col :span="5">
<el-form-item label="发团日期:"> <el-form-item label="发团日期:">
<el-date-picker class="h34" <el-date-picker class="h34"
v-model="missionDate" v-model="missionDate"
...@@ -112,6 +112,16 @@ ...@@ -112,6 +112,16 @@
value-format="yyyy-MM-dd"> value-format="yyyy-MM-dd">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="交易日期:">
<el-date-picker class="h34"
v-model="tradeDate"
@change="timeTradeAdd()"
type="daterange"
value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="结算状态:"> <el-form-item label="结算状态:">
...@@ -125,7 +135,7 @@ ...@@ -125,7 +135,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</template> </template>
<el-col :span="12"> <el-col :span="8">
<span style="margin-left: 20px; font-size: 12px;">注:合并结算的单据需要币种一致,此处均验证原币金额</span> <span style="margin-left: 20px; font-size: 12px;">注:合并结算的单据需要币种一致,此处均验证原币金额</span>
</el-col> </el-col>
</el-row> </el-row>
...@@ -294,7 +304,7 @@ ...@@ -294,7 +304,7 @@
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="交易方式" show-overflow-tooltip width="300"> <el-table-column prop="" label="交易方式" show-overflow-tooltip :width="msg.IsSelectNormal==2?300:200">
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>
<template v-if="scope.row.TradeWayList&&scope.row.TradeWayList.length>0"> <template v-if="scope.row.TradeWayList&&scope.row.TradeWayList.length>0">
...@@ -320,6 +330,14 @@ ...@@ -320,6 +330,14 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="" prop=""
label="交易日期"
show-overflow-tooltip width="100">
<template slot-scope="scope">
{{scope.row.TradeDate}}
</template>
</el-table-column>
<el-table-column
prop=""
label="原币金额" label="原币金额"
show-overflow-tooltip width="100"> show-overflow-tooltip width="100">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -608,6 +626,8 @@ ...@@ -608,6 +626,8 @@
QEndDate:'', QEndDate:'',
Status:'-1', Status:'-1',
IsSelectNormal: '1',//0不限 1只看未计算 2只看已结算 IsSelectNormal: '1',//0不限 1只看未计算 2只看已结算
sTradeDate:'',
eTradeDate:''
}, },
getCompanyMsg:{ // 公司 getCompanyMsg:{ // 公司
RB_Group_Id:'0', RB_Group_Id:'0',
...@@ -617,6 +637,7 @@ ...@@ -617,6 +637,7 @@
accountList:[], accountList:[],
CompanyList:[], CompanyList:[],
missionDate:[], missionDate:[],
tradeDate:[],
GetAccountType:[], GetAccountType:[],
loading:false, loading:false,
currentPage:1, currentPage:1,
...@@ -800,6 +821,16 @@ ...@@ -800,6 +821,16 @@
this.msg.QStartDate = this.missionDate[0]; this.msg.QStartDate = this.missionDate[0];
this.msg.QEndDate = this.missionDate[1]; this.msg.QEndDate = this.missionDate[1];
}, },
timeTradeAdd(){ // 日期格式
//发团日期
if(!this.tradeDate){
this.msg.sTradeDate = '';
this.msg.eTradeDate = '';
return
}
this.msg.sTradeDate = this.tradeDate[0];
this.msg.eTradeDate = this.tradeDate[1];
},
queryInfoInit(){ // 初始化msg queryInfoInit(){ // 初始化msg
let msg = { let msg = {
pageIndex:this.msg.pageIndex, pageIndex:this.msg.pageIndex,
......
...@@ -933,7 +933,7 @@ ...@@ -933,7 +933,7 @@
{{$t('objFill.dxcdd')+':'+GetDetail.ReFinanceId}}</div> {{$t('objFill.dxcdd')+':'+GetDetail.ReFinanceId}}</div>
<div v-if="GetDetail.OtherType==80" class="illustrate-right fygsbumen-box-right" <div v-if="GetDetail.OtherType==80" class="illustrate-right fygsbumen-box-right"
@click="ImpressionSingleDetails(isOrderOP?'CarDealerOrderOP':'CarDealerOrder')"> @click="ImpressionSingleDetails(isOrderOP?'CarDealerOrderOP':'CarDealerOrder')">
{{$t('objFill.chdd')+':'+GetDetail.ReFinanceId}}</div> {{$t('objFill.chdd')+':'+GetDetail.TCNUM}}</div>
<!-- <div v-if="GetDetail.OtherType==63" class="illustrate-right fygsbumen-box-right" <!-- <div v-if="GetDetail.OtherType==63" class="illustrate-right fygsbumen-box-right"
@click="ImpressionSingleCommissionDetails('ServiceCommissiondetails',1)">{{$t('objFill.dxxstcxq')}}</div> @click="ImpressionSingleCommissionDetails('ServiceCommissiondetails',1)">{{$t('objFill.dxxstcxq')}}</div>
<div v-if="GetDetail.OtherType==64" class="illustrate-right fygsbumen-box-right" <div v-if="GetDetail.OtherType==64" class="illustrate-right fygsbumen-box-right"
......
This diff is collapsed.
This diff is collapsed.
...@@ -48,7 +48,8 @@ ...@@ -48,7 +48,8 @@
<li> <li>
<input v-if="IsOperation!=1" type="button" class="fr normalBtn mb30" :value="$t('pub.saveBtn')" <input v-if="IsOperation!=1" type="button" class="fr normalBtn mb30" :value="$t('pub.saveBtn')"
@click="saveList(1)" /> @click="saveList(1)" />
<input v-if="IsOperation==1&& EditBtn &&currentUserInfo.EmployeeId==615" type="button" <!--&&currentUserInfo.EmployeeId==615-->
<input v-if="IsOperation==1&& EditBtn " type="button"
class="fr normalBtn mb30" :value="$t('pub.saveBtn')" @click="saveList(1)" /> class="fr normalBtn mb30" :value="$t('pub.saveBtn')" @click="saveList(1)" />
<span v-if="IsOperation==1" style="color:red;font-size:14px;">{{$t('ground.yizhidanbng')}}</span> <span v-if="IsOperation==1" style="color:red;font-size:14px;">{{$t('ground.yizhidanbng')}}</span>
</li> </li>
......
<template> <template>
<div class="flexOne" style="min-width: 1200px;"> <div class="flexOne" style="min-width: 1200px;">
<!-- 表格 --> <!-- 表格 -->
<div style="width: 100%; height: auto;min-height:500px;overflow-x: auto;margin-top:20px" class="ownScrollbarStyle"> <div style="width: 100%; height: auto;min-height:500px;overflow-x: auto;margin-top:20px" class="ownScrollbarStyle">
<table class="groupTourOrderSearchTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'> <table class="groupTourOrderSearchTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'>
...@@ -13,10 +12,10 @@ ...@@ -13,10 +12,10 @@
<th>用车方式</th> <th>用车方式</th>
<th>出发地</th> <th>出发地</th>
<th>目的地</th> <th>目的地</th>
<th>{{$t('fnc.jine')}}</th> <th>实付金额</th>
<th>币种</th> <th>币种</th>
<th>支付方式</th> <th>支付方式</th>
<th>附件</th> <th style="width:150px;">附件</th>
<th>{{$t('pub.pubRemark')}}</th> <th>{{$t('pub.pubRemark')}}</th>
</tr> </tr>
<tr> <tr>
...@@ -45,7 +44,7 @@ ...@@ -45,7 +44,7 @@
</td> </td>
<td class="fz12"> <td class="fz12">
<p v-for="(s,index) in item.ReimburseList.ReimburseDetailsList" :key="index+800"> <p v-for="(s,index) in item.ReimburseList.ReimburseDetailsList" :key="index+800">
{{s.UnitPrice}} {{s.UnitPrice*s.UserNum}}
</p> </p>
</td> </td>
<td>{{urrencyTypeObj[item.ReimburseList.CurrencyId]}}</td> <td>{{urrencyTypeObj[item.ReimburseList.CurrencyId]}}</td>
...@@ -54,12 +53,12 @@ ...@@ -54,12 +53,12 @@
<p v-if="item.ReimburseList.SettlementType==2">公司结算</p> <p v-if="item.ReimburseList.SettlementType==2">公司结算</p>
</td> </td>
<td> <td>
<div v-if="item.ReimburseList.VoucherPicList.length"> <template v-if="item.ReimburseList.VoucherPicList.length">
<div v-for="(vou, vouIndex) in item.ReimburseList.VoucherPicList" :key="vouIndex"> <div v-for="(vou, vouIndex) in item.ReimburseList.VoucherPicList" :key="vouIndex" >
<el-image style="width: 20px;height: 20px;" :src="vou.url" :preview-src-list="item.listUrl"> <el-image style="width: 20px;height: 20px;" :src="vou.url" :preview-src-list="item.listUrl">
</el-image> </el-image>
</div> </div>
</div> </template>
<div v-else> <div v-else>
</div> </div>
...@@ -70,34 +69,23 @@ ...@@ -70,34 +69,23 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<!-- <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"></el-pagination> -->
</div> </div>
</template> </template>
<script> <script>
import payURL from "../commonPage/payURL.vue";
import moment from "moment";
export default { export default {
data() { data() {
return { return {
msg: { msg: {
TCIDs: '' TCIDs: '',
date: "",
}, },
dataList: [], dataList: [],
loading: false, loading: false,
total: 0,
currentPage: 1,
showID: -1,
companyList: [],
employeeList: [],
urrencyTypeObj: {}, urrencyTypeObj: {},
}; };
}, },
components: {}, components: {},
created() { created() {
let userInfo = this.getLocalStorage();
this.msg.TCIDs = this.$route.query.TCIDs ? this.$route.query.TCIDs : ""; this.msg.TCIDs = this.$route.query.TCIDs ? this.$route.query.TCIDs : "";
this.msg.date = this.$route.query.date ? this.$route.query.date : ""; this.msg.date = this.$route.query.date ? this.$route.query.date : "";
this.financeinfo_post_GetList(); this.financeinfo_post_GetList();
...@@ -110,35 +98,10 @@ ...@@ -110,35 +98,10 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let data = res.data.data; let data = res.data.data;
data.map(item => { data.map(item => {
this.urrencyTypeObj[0] = "不限";
this.urrencyTypeObj[item.ID] = item.Name; this.urrencyTypeObj[item.ID] = item.Name;
}); });
} else {
}
}, err => {})
},
goUrl: function (name, path, id) {
this.$router.push({
name: path,
query: {
id: id,
blank: "y",
tab: name
} }
}); })
},
openImg(src) {
window.open(src, "_blank");
},
handleCurrentChange(val) {
this.msg.pageIndex = val;
this.getList();
},
resetPageIndex() {
this.msg.pageIndex = 1;
this.currentPage = 1;
}, },
getList() { getList() {
this.loading = true; this.loading = true;
...@@ -168,7 +131,7 @@ ...@@ -168,7 +131,7 @@
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, err => {}) })
}, },
}, },
mounted() { mounted() {
...@@ -185,7 +148,6 @@ ...@@ -185,7 +148,6 @@
color: #333; color: #333;
border-bottom: 1px solid #cccccc; border-bottom: 1px solid #cccccc;
border-right: 1px solid #cccccc; border-right: 1px solid #cccccc;
/* border-collapse: collapse; */
} }
.groupTourOrderSearchTable tr th { .groupTourOrderSearchTable tr th {
......
<template> <template>
<div class="flexOne" style="min-width: 1200px;"> <div class="flexOne" style="min-width: 1200px;">
<!-- 表格 --> <!-- 表格 -->
<div style="width: 100%; height: auto;min-height:500px;overflow-x: auto;margin-top:20px" class="ownScrollbarStyle"> <div style="width: 100%; height: auto;min-height:500px;overflow-x: auto;margin-top:20px" class="ownScrollbarStyle">
<table class="groupTourOrderSearchTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'> <table class="groupTourOrderSearchTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'>
...@@ -12,7 +11,7 @@ ...@@ -12,7 +11,7 @@
<th>用餐人数</th> <th>用餐人数</th>
<th>单价</th> <th>单价</th>
<th>{{$t('fnc.jine')}}</th> <th>{{$t('fnc.jine')}}</th>
<th>实付</th> <th>实付金额</th>
<th>币种</th> <th>币种</th>
<th>支付方式</th> <th>支付方式</th>
<th>附件</th> <th>附件</th>
...@@ -48,24 +47,23 @@ ...@@ -48,24 +47,23 @@
<td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length"> <td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length">
{{diningTotalPrice2(subItem, subItem.ReimburseList.ReimburseDetailsList)}} {{diningTotalPrice2(subItem, subItem.ReimburseList.ReimburseDetailsList)}}
</td> </td>
<td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length">
{{urrencyTypeObj[subItem.ReimburseList.CurrencyId]}}
</td>
<td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length"> <td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length">
<span v-if="subItem.PayStyle === 1">现付</span> <span v-if="subItem.PayStyle === 1">现付</span>
<span v-else-if="subItem.PayStyle === 2">公司结算</span> <span v-else-if="subItem.PayStyle === 2">公司结算</span>
<span v-else-if="subItem.PayStyle === 3">预付</span> <span v-else-if="subItem.PayStyle === 3">预付</span>
<span v-else-if="subItem.PayStyle === 6">公司合团支付</span> <span v-else-if="subItem.PayStyle === 6">公司合团支付</span>
<span v-else></span> <span v-else></span>
</br> <br />
<span v-show="subItem.PayStyle==6">付款团号:{{subItem.PayTypeTCNUM}}</span> <span v-show="subItem.PayStyle==6">付款团号:{{subItem.PayTypeTCNUM}}</span>
</td> </td>
<td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length"> <td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length">
{{urrencyTypeObj[subItem.ReimburseList.CurrencyId]}}
</td>
<td v-if="childIndex==0" :rowspan="subItem.ReimburseList.ReimburseDetailsList.length">
<div v-if="subItem.ReimburseList.VoucherPicList.length"> <div v-if="subItem.ReimburseList.VoucherPicList.length">
<div v-for="(vou, vouIndex) in subItem.ReimburseList.VoucherPicList" :key="vouIndex"> <div v-for="(vou, vouIndex) in subItem.ReimburseList.VoucherPicList" :key="vouIndex">
<el-image style="width: 20px;height: 20px;" :src="vou.url" :preview-src-list="subItem.listUrl"> <el-image style="width: 20px;height: 20px;" :src="vou.url" :preview-src-list="subItem.listUrl">
</el-image> </el-image>
<!-- <img @click="openImg(vou.url)" style="width: 20px;height: 20px;" :src="vou.url" alt=""> -->
</div> </div>
</div> </div>
<div v-else> <div v-else>
...@@ -87,21 +85,16 @@ ...@@ -87,21 +85,16 @@
data() { data() {
return { return {
msg: { msg: {
TCIDs: '' TCIDs: '',
date: ""
}, },
dataList: [], dataList: [],
loading: false, loading: false,
total: 0,
currentPage: 1,
showID: -1,
companyList: [],
employeeList: [],
urrencyTypeObj: {}, urrencyTypeObj: {},
}; };
}, },
components: {}, components: {},
created() { created() {
let userInfo = this.getLocalStorage();
this.msg.TCIDs = this.$route.query.TCIDs ? this.$route.query.TCIDs : ""; this.msg.TCIDs = this.$route.query.TCIDs ? this.$route.query.TCIDs : "";
this.msg.date = this.$route.query.date ? this.$route.query.date : ""; this.msg.date = this.$route.query.date ? this.$route.query.date : "";
this.financeinfo_post_GetList(); this.financeinfo_post_GetList();
...@@ -125,6 +118,7 @@ ...@@ -125,6 +118,7 @@
} }
return this.moneyFormat(totalPrice) return this.moneyFormat(totalPrice)
}, },
//计算实付金额
diningTotalPrice2(sObj, obj) { diningTotalPrice2(sObj, obj) {
let totalPrice = 0 let totalPrice = 0
obj.forEach(x => { obj.forEach(x => {
...@@ -139,34 +133,10 @@ ...@@ -139,34 +133,10 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let data = res.data.data; let data = res.data.data;
data.map(item => { data.map(item => {
this.urrencyTypeObj[0] = "不限";
this.urrencyTypeObj[item.ID] = item.Name; this.urrencyTypeObj[item.ID] = item.Name;
}); });
} else {
} }
}, err => {}) })
},
goUrl: function (name, path, id) {
this.$router.push({
name: path,
query: {
id: id,
blank: "y",
tab: name
}
});
},
handleCurrentChange(val) {
this.msg.pageIndex = val;
this.getList();
},
resetPageIndex() {
this.msg.pageIndex = 1;
this.currentPage = 1;
},
openImg(src) {
window.open(src, "_blank");
}, },
getList() { getList() {
this.loading = true; this.loading = true;
...@@ -198,7 +168,7 @@ ...@@ -198,7 +168,7 @@
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, err => {}) })
}, },
}, },
mounted() { mounted() {
...@@ -225,7 +195,6 @@ ...@@ -225,7 +195,6 @@
color: #333; color: #333;
border-bottom: 1px solid #cccccc; border-bottom: 1px solid #cccccc;
border-right: 1px solid #cccccc; border-right: 1px solid #cccccc;
/* border-collapse: collapse; */
} }
.groupTourOrderSearchTable tr th { .groupTourOrderSearchTable tr th {
......
...@@ -582,7 +582,7 @@ ...@@ -582,7 +582,7 @@
<el-input type="textarea" v-model="addMsg.Remarks" class="w210"></el-input> <el-input type="textarea" v-model="addMsg.Remarks" class="w210"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="addMsg.LeaderGuidClass==1" :label="$t('admin.admin_password')"> <el-form-item v-if="addMsg.LeaderGuidClass==1" :label="$t('admin.admin_password')">
<el-input type="password" v-model="addMsg.EmPassword" class="w210"></el-input> <el-input type="password" v-model="addMsg.EmPassword" class="w210" auto-complete="new-password"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
...@@ -805,12 +805,6 @@ ...@@ -805,12 +805,6 @@
message: this.$t('rule.qsrzqsjh'), message: this.$t('rule.qsrzqsjh'),
} }
], ],
// SpareTel: [
// {
// pattern: this.$commonUtils.Regex.el_isInteger,
// message: "请输正确的电话"
// }
// ],
Passport: [{ Passport: [{
required: true, required: true,
message: this.$t('rule.qsrzqhzh'), message: this.$t('rule.qsrzqhzh'),
...@@ -873,10 +867,8 @@ ...@@ -873,10 +867,8 @@
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
this.loading2 = false this.loading2 = false;
}, });
err => {}
);
} }
}, },
//领队账户管理 //领队账户管理
...@@ -936,9 +928,7 @@ ...@@ -936,9 +928,7 @@
} else { } else {
that.Error(res.data.message); that.Error(res.data.message);
} }
}, });
err => {}
);
}, },
getCountry() { getCountry() {
//获取国家 //获取国家
...@@ -946,9 +936,7 @@ ...@@ -946,9 +936,7 @@
"dict_post_Destination_GetCountry", {}, "dict_post_Destination_GetCountry", {},
res => { res => {
this.countryList = res.data.data; this.countryList = res.data.data;
}, });
err => {}
);
}, },
//获取工作类型(值获取领兼地和导游) //获取工作类型(值获取领兼地和导游)
getWorkType() { getWorkType() {
...@@ -957,14 +945,10 @@ ...@@ -957,14 +945,10 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
res.data.data.forEach(item => { res.data.data.forEach(item => {
// if (item.Value != 1) {
this.workTypeList.push(item); this.workTypeList.push(item);
// }
}); });
} }
}, });
err => {}
);
}, },
//获取中国下面的城市列表 //获取中国下面的城市列表
getCityList() { getCityList() {
...@@ -974,9 +958,7 @@ ...@@ -974,9 +958,7 @@
}, },
res => { res => {
this.cityList = res.data.data; this.cityList = res.data.data;
}, });
err => {}
);
}, },
//获取语言 //获取语言
getLanguage() { getLanguage() {
...@@ -984,9 +966,7 @@ ...@@ -984,9 +966,7 @@
"language_post_GetList", {}, "language_post_GetList", {},
res => { res => {
this.LanguageList = res.data.data; this.LanguageList = res.data.data;
}, });
err => {}
);
}, },
//获取员工列表获取账号 //获取员工列表获取账号
getEmployeeList() { getEmployeeList() {
...@@ -997,14 +977,9 @@ ...@@ -997,14 +977,9 @@
PostId: "", PostId: "",
IsLeave: "0" IsLeave: "0"
}; };
this.apipost( this.apipost("admin_get_EmployeeGetList", msg, res => {
"admin_get_EmployeeGetList",
msg,
res => {
this.EmployeeList = res.data.data; this.EmployeeList = res.data.data;
}, });
err => {}
);
}, },
//获取公司列表 //获取公司列表
getBranchList() { getBranchList() {
...@@ -1013,14 +988,9 @@ ...@@ -1013,14 +988,9 @@
is_show: "", is_show: "",
RB_Group_Id: "" RB_Group_Id: ""
}; };
this.apipost( this.apipost("admin_get_BranchGetList", msg, res => {
"admin_get_BranchGetList",
msg,
res => {
this.BranchList = res.data.data; this.BranchList = res.data.data;
}, });
err => {}
);
}, },
//获取部门 //获取部门
getDerpartMent(id) { getDerpartMent(id) {
...@@ -1093,9 +1063,7 @@ ...@@ -1093,9 +1063,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
that.getList(); that.getList();
} }
}, });
err => {}
);
}); });
}, },
initAddMsg() { initAddMsg() {
...@@ -1173,9 +1141,7 @@ ...@@ -1173,9 +1141,7 @@
} }
this.searchKey(this.addMsg.CityName) this.searchKey(this.addMsg.CityName)
this.addMsg.EmPassword = ""; this.addMsg.EmPassword = "";
}, });
err => {}
);
}, },
//弹出框关闭初始化弹框内表单 //弹出框关闭初始化弹框内表单
closeChangeMachie(done) { closeChangeMachie(done) {
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
<template v-for='(item,index) in dataList'> <template v-for='(item,index) in dataList'>
<template v-for="(subItem,subIndex) in item.ScenicStatisticsList"> <template v-for="(subItem,subIndex) in item.ScenicStatisticsList">
<tr v-for="(childItem,childIndex) in subItem.ReimburseList.ReimburseDetailsList"> <tr v-for="(childItem,childIndex) in subItem.ReimburseList.ReimburseDetailsList">
<td v-if="childIndex==0" :rowspan="subItem.ReimburseList.ReimburseDetailsList.length">{{item.UseTimeStr}}</td> <td v-if="childIndex==0" :rowspan="subItem.ReimburseList.ReimburseDetailsList.length">{{item.UseTimeStr}}
</td>
<td v-if="childIndex==0" :rowspan="subItem.ReimburseList.ReimburseDetailsList.length"> <td v-if="childIndex==0" :rowspan="subItem.ReimburseList.ReimburseDetailsList.length">
{{subItem.ScenicName}} {{subItem.ScenicName}}
</td> </td>
...@@ -30,9 +31,7 @@ ...@@ -30,9 +31,7 @@
</td> </td>
<td>{{childItem.UserNum}}</td> <td>{{childItem.UserNum}}</td>
<td> <td>
<p>
{{subItem.PayStyle === 1 ? moneyFormat(childItem.UnitPrice) : 0}} {{subItem.PayStyle === 1 ? moneyFormat(childItem.UnitPrice) : 0}}
</p>
</td> </td>
<td> <td>
{{moneyFormat(childItem.UnitPrice*childItem.UserNum)}} {{moneyFormat(childItem.UnitPrice*childItem.UserNum)}}
...@@ -43,7 +42,7 @@ ...@@ -43,7 +42,7 @@
<span v-else-if="subItem.PayStyle === 3">预付</span> <span v-else-if="subItem.PayStyle === 3">预付</span>
<span v-else-if="subItem.PayStyle === 6">公司合团支付</span> <span v-else-if="subItem.PayStyle === 6">公司合团支付</span>
<span v-else></span> <span v-else></span>
</br> <br />
<span v-show="subItem.PayStyle==6">付款团号:{{subItem.PayTypeTCNUM}}</span> <span v-show="subItem.PayStyle==6">付款团号:{{subItem.PayTypeTCNUM}}</span>
</td> </td>
<td v-if="childIndex==0" :rowspan="subItem.ReimburseList.ReimburseDetailsList.length"> <td v-if="childIndex==0" :rowspan="subItem.ReimburseList.ReimburseDetailsList.length">
...@@ -52,12 +51,8 @@ ...@@ -52,12 +51,8 @@
<td v-if="childIndex==0" :rowspan="subItem.ReimburseList.ReimburseDetailsList.length"> <td v-if="childIndex==0" :rowspan="subItem.ReimburseList.ReimburseDetailsList.length">
<div v-if="subItem.ReimburseList.VoucherPicList.length"> <div v-if="subItem.ReimburseList.VoucherPicList.length">
<div v-for="(vou, vouIndex) in subItem.ReimburseList.VoucherPicList" :key="vouIndex"> <div v-for="(vou, vouIndex) in subItem.ReimburseList.VoucherPicList" :key="vouIndex">
<el-image <el-image style="width: 20px;height: 20px;" :src="vou.url" :preview-src-list="subItem.listUrl">
style="width: 20px;height: 20px;"
:src="vou.url"
:preview-src-list="subItem.listUrl">
</el-image> </el-image>
<!-- <img @click="openImg(vou.url)" style="width: 20px;height: 20px;" :src="vou.url" alt=""> -->
</div> </div>
</div> </div>
<div v-else> <div v-else>
...@@ -74,7 +69,7 @@ ...@@ -74,7 +69,7 @@
</div> </div>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
loading: true, loading: true,
...@@ -86,8 +81,11 @@ export default { ...@@ -86,8 +81,11 @@ export default {
let TCIDs = this.$route.query.TCIDs; let TCIDs = this.$route.query.TCIDs;
let date = this.$route.query.date; let date = this.$route.query.date;
this.getList(TCIDs, date); this.getList(TCIDs, date);
},created(){ },
this.apipost("financeinfo_post_GetList", {Name: ""}, res=>{ created() {
this.apipost("financeinfo_post_GetList", {
Name: ""
}, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
let data = res.data.data; let data = res.data.data;
this.currencyList = data this.currencyList = data
...@@ -97,30 +95,29 @@ export default { ...@@ -97,30 +95,29 @@ export default {
filters: {}, filters: {},
methods: { methods: {
getCurrencyStr: function(id){ getCurrencyStr: function (id) {
for(let i = 0; i < this.currencyList.length; i++) { for (let i = 0; i < this.currencyList.length; i++) {
if (this.currencyList[i].ID == id) { if (this.currencyList[i].ID == id) {
return this.currencyList[i].Name return this.currencyList[i].Name
} }
} }
}, },
openImg(src){
window.open(src, "_blank");
},
//获取数据 //获取数据
getList(TCIDs, date) { getList(TCIDs, date) {
this.loading = true; this.loading = true;
this.apipost( this.apipost(
"dmcstatistics_post_GetNewLeaderPayMoneyStatics", "dmcstatistics_post_GetNewLeaderPayMoneyStatics", {
{TCIDs: TCIDs}, TCIDs: TCIDs
},
res => { res => {
this.loading = false; this.loading = false;
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
let data = res.data.data.ScenicList; let data = res.data.data.ScenicList;
console.log("data", data);
let dataList = []; let dataList = [];
if(date!=='all') { if (date !== 'all') {
data.map(x=>{ data.map(x => {
if (x.UseTimeStr == date){ if (x.UseTimeStr == date) {
dataList.push(x) dataList.push(x)
} }
}) })
...@@ -128,9 +125,9 @@ export default { ...@@ -128,9 +125,9 @@ export default {
dataList = data dataList = data
} }
dataList.forEach(x => { dataList.forEach(x => {
x.ScenicStatisticsList.forEach(y=>{ x.ScenicStatisticsList.forEach(y => {
y.listUrl = [] y.listUrl = []
y.ReimburseList.VoucherPicList&&y.ReimburseList.VoucherPicList.forEach(z=>{ y.ReimburseList.VoucherPicList && y.ReimburseList.VoucherPicList.forEach(z => {
y.listUrl.push(z.url) y.listUrl.push(z.url)
}) })
}) })
...@@ -144,5 +141,6 @@ export default { ...@@ -144,5 +141,6 @@ export default {
); );
}, },
} }
}; };
</script> </script>
...@@ -1089,7 +1089,7 @@ ...@@ -1089,7 +1089,7 @@
newArr.push(file.file); newArr.push(file.file);
let path = "/Sale/Uploadvideo/"; let path = "/Sale/Uploadvideo/";
this.UploadFileToAli2024(path, newArr, x => { this.UploadFileToAli2024(path, newArr, x => {
console.log("UploadFileToAli2024", x) //console.log("UploadFileToAli2024", x)
}); });
}, },
//绑定手机 //绑定手机
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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