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