Commit a6bd48ab authored by 沈良进's avatar 沈良进

Merge branch 'master' into month

parents 8333279f 84bff7f4
...@@ -326,7 +326,9 @@ ...@@ -326,7 +326,9 @@
float: left; float: left;
} }
.width100-float-l{ .width100-float-l{
width: 100%;
float: left; float: left;
} }
.width100-float-l+.width100-float-l{
margin-left: 10px;
}
</style> </style>
...@@ -590,6 +590,18 @@ input[type="number"] { ...@@ -590,6 +590,18 @@ input[type="number"] {
<el-option key="3" value="3" :label="$t('fnc.jylshuihao')"></el-option> <el-option key="3" value="3" :label="$t('fnc.jylshuihao')"></el-option>
</el-select> </el-select>
</span> </span>
</li>
<li v-if="msg.Conditon==1||msg.Conditon==3||msg.Conditon==2">
<span>
<em>{{$t('fnc.zdriqi')}}</em>
<el-date-picker class="h34"
@change="timeAdd(1)"
v-model="productionDate"
type="daterange"
value-format="yyyy-MM-dd"
:range-separator="$t('restaurant.res_To')">
</el-date-picker>
</span>
</li> </li>
<template v-if="heightQueryBox"> <template v-if="heightQueryBox">
<li> <li>
...@@ -730,7 +742,8 @@ input[type="number"] { ...@@ -730,7 +742,8 @@ input[type="number"] {
<el-input v-model="msg.sMoney" class="w64d5"></el-input>-<el-input v-model="msg.eMoney" class="w64d5"></el-input> <el-input v-model="msg.sMoney" class="w64d5"></el-input>-<el-input v-model="msg.eMoney" class="w64d5"></el-input>
</span> </span>
</li> </li>
<li v-if="msg.Conditon==1"> <!-- 制单日期 -->
<!-- <li v-if="msg.Conditon==1||msg.Conditon==3||msg.Conditon==2">
<span> <span>
<em>{{$t('fnc.zdriqi')}}</em> <em>{{$t('fnc.zdriqi')}}</em>
<el-date-picker class="h34" <el-date-picker class="h34"
...@@ -741,7 +754,7 @@ input[type="number"] { ...@@ -741,7 +754,7 @@ input[type="number"] {
:range-separator="$t('restaurant.res_To')"> :range-separator="$t('restaurant.res_To')">
</el-date-picker> </el-date-picker>
</span> </span>
</li> </li> -->
<li v-if="msg.Conditon==2"> <li v-if="msg.Conditon==2">
<span> <span>
<em>{{$t('fnc.spriqi')}}</em> <em>{{$t('fnc.spriqi')}}</em>
...@@ -968,7 +981,8 @@ input[type="number"] { ...@@ -968,7 +981,8 @@ input[type="number"] {
<i v-if="active==2" class="iconfont icon-zhifupeizhiguanli" <i v-if="active==2" class="iconfont icon-zhifupeizhiguanli"
@click="showjiaoyi(item.FrID)"></i> @click="showjiaoyi(item.FrID)"></i>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" content="手续费设置" placement="top" v-if="active==2 && istransaction == true && item.Type==1"> <el-tooltip class="item" content="手续费设置" placement="top"
v-if="active==2 && item.Type==1 &&(istransaction == true || isJapanCommission == true)">
<i class="iconfont icon-zhifupeizhiguanli" <i class="iconfont icon-zhifupeizhiguanli"
@click="showTranTax(item.FrID,'1')"></i> @click="showTranTax(item.FrID,'1')"></i>
</el-tooltip> </el-tooltip>
...@@ -1157,15 +1171,12 @@ input[type="number"] { ...@@ -1157,15 +1171,12 @@ input[type="number"] {
</div> </div>
</template> </template>
</el-dialog> </el-dialog>
<el-dialog title="修改单据手续费" width="300px" <!-- 修改手续费 -->
:visible.sync="transactionTax" center :before-close="closeChangeMachie"> <template v-if="transactionTax">
<p style="font-size:12px;margin-bottom:10px;">交易手续费:</p> <shouxufei :transTax="transTax"
<el-input v-model="transTax.Fee" placeholder="请输入内容"></el-input> @success="close(),resetPageIndex(),getPageList()" @close="close"></shouxufei>
<div slot="footer" class="dialog-footer"> </template>
<el-button class="hollowFixedBtn" @click="transactionTax=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="saveTransTaxMoney" :loading="transTax.loading">{{$t('pub.sureBtn')}}</el-button>
</div>
</el-dialog>
<el-dialog title="修改付款对象" width="300px" <el-dialog title="修改付款对象" width="300px"
:visible.sync="PaymentSync" center :before-close="closeChangeMachie"> :visible.sync="PaymentSync" center :before-close="closeChangeMachie">
<el-form class="cdForm" label-width="90px"> <el-form class="cdForm" label-width="90px">
...@@ -1305,6 +1316,7 @@ import myBill from "./FinancialSubmodule/BillModule.vue"; ...@@ -1305,6 +1316,7 @@ import myBill from "./FinancialSubmodule/BillModule.vue";
import myrbvBill from "./FinancialSubmodule/ReceivablesModule.vue"; import myrbvBill from "./FinancialSubmodule/ReceivablesModule.vue";
import myhrBill from "./FinancialSubmodule/MergeBillModule.vue"; import myhrBill from "./FinancialSubmodule/MergeBillModule.vue";
import myGZBill from "./FinancialSubmodule/GZBillModule.vue"; import myGZBill from "./FinancialSubmodule/GZBillModule.vue";
import shouxufei from "./components/shouxufei.vue";
export default { export default {
data() { data() {
return { return {
...@@ -1499,6 +1511,7 @@ export default { ...@@ -1499,6 +1511,7 @@ export default {
F_Update_CurrencyRate: false, F_Update_CurrencyRate: false,
costmodeHL:false, costmodeHL:false,
trabeListHL:[],//修改费率下拉数据 trabeListHL:[],//修改费率下拉数据
isJapanCommission: false
}; };
}, },
created() { created() {
...@@ -1517,6 +1530,9 @@ export default { ...@@ -1517,6 +1530,9 @@ export default {
if(ActionMenuCode.indexOf('F_Update_CurrencyRate')!=-1){ if(ActionMenuCode.indexOf('F_Update_CurrencyRate')!=-1){
this.F_Update_CurrencyRate=true; this.F_Update_CurrencyRate=true;
} }
if(userinfo.RB_Branch_id == 1218&&ActionMenuCode.indexOf('isJapanCommission')!=-1){
this.isJapanCommission=true;
}
if (this.$route.query.returnCode) { if (this.$route.query.returnCode) {
this.active = this.$route.query.returnCode; this.active = this.$route.query.returnCode;
this.msg.Conditon = this.$route.query.returnCode; this.msg.Conditon = this.$route.query.returnCode;
...@@ -1544,9 +1560,13 @@ export default { ...@@ -1544,9 +1560,13 @@ export default {
"my-Bill": myBill, "my-Bill": myBill,
"my-RVB-Bill": myrbvBill, "my-RVB-Bill": myrbvBill,
"my-HB-Bill": myhrBill, "my-HB-Bill": myhrBill,
"my-GZ-Bill": myGZBill "my-GZ-Bill": myGZBill,
shouxufei
}, },
mounted() { mounted() {
let StartDate = this.getBeforeDate(186,new Date().Format("yyyy-MM-dd"))
let EndDate = this.getBeforeDate(-1,new Date().Format("yyyy-MM-dd"))
this.productionDate = [StartDate,EndDate]
this.GetAuth(); this.GetAuth();
this.getCostTypeList(); this.getCostTypeList();
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
...@@ -2722,6 +2742,9 @@ export default { ...@@ -2722,6 +2742,9 @@ export default {
}); });
} }
}, },
close(){
this.transactionTax = false
},
showjiaoyi(FrId) { showjiaoyi(FrId) {
//弹出交易方式修改 //弹出交易方式修改
this.apipost( this.apipost(
...@@ -2774,8 +2797,6 @@ export default { ...@@ -2774,8 +2797,6 @@ export default {
}, },
showTranTax(fid,type) { showTranTax(fid,type) {
this.transTax.FrId = fid; this.transTax.FrId = fid;
this.transTax.loading = false;
if(type==1){ if(type==1){
this.transTax.Fee = "0.00"; this.transTax.Fee = "0.00";
this.transactionTax = true; this.transactionTax = true;
...@@ -2785,30 +2806,6 @@ export default { ...@@ -2785,30 +2806,6 @@ export default {
this.PaymentSync = true this.PaymentSync = true
} }
}, },
saveTransTaxMoney() {
if (this.transTax.loading) return;
this.transTax.loading = true;
if (this.transTax.Fee && this.transTax.Fee != "") {
this.apipost(
"Financial_post_UpdateFinanceFee",
{ FrId: this.transTax.FrId, Fee: this.transTax.Fee },
res => {
if (res.data.resultCode == 1) {
this.$message.success("修改成功");
this.getPageList();
this.transactionTax = false;
}
this.transTax.loading = false;
},
err => {
this.transTax.loading = false;
}
);
} else {
this.transTax.loading = false;
this.$message.error("请输入手续费");
}
},
getAccountList2(AccountTypeId, y) { getAccountList2(AccountTypeId, y) {
//获取账户类型对应下的账户列表 //获取账户类型对应下的账户列表
this.alltransaction.map(x => { this.alltransaction.map(x => {
......
...@@ -329,7 +329,6 @@ ...@@ -329,7 +329,6 @@
:table-data="DataList" :table-data="DataList"
:filter-method="filterMethod" :filter-method="filterMethod"
:row-height='100' :row-height='100'
@on-custom-comp="customCompFunc" @on-custom-comp="customCompFunc"
@sort-change="sortChange" @sort-change="sortChange"
multiple-sort><!-- 多个排序 --> multiple-sort><!-- 多个排序 -->
...@@ -424,12 +423,18 @@ ...@@ -424,12 +423,18 @@
<el-button class="normalBtn" type="primary" @click="preservetransactionHL()">{{$t('pub.sureBtn')}}</el-button> <el-button class="normalBtn" type="primary" @click="preservetransactionHL()">{{$t('pub.sureBtn')}}</el-button>
</div> </div>
</el-dialog> </el-dialog>
<!-- 修改手续费 -->
<template v-if="transactionTax">
<shouxufei :transTax="transTax"
@success="close(),resetPageIndex(),getPageList()" @close="close"></shouxufei>
</template>
</div> </div>
</template> </template>
<script> <script>
import myBill from "./FinancialSubmodule/BillModule.vue"; import myBill from "./FinancialSubmodule/BillModule.vue";
import myrbvBill from "./FinancialSubmodule/ReceivablesModule.vue"; import myrbvBill from "./FinancialSubmodule/ReceivablesModule.vue";
import myhrBill from "./FinancialSubmodule/MergeBillModule.vue"; import myhrBill from "./FinancialSubmodule/MergeBillModule.vue";
import shouxufei from "./components/shouxufei.vue";
import Vue from 'vue' import Vue from 'vue'
// 自定义列组件 // 自定义列组件
Vue.component('table-BranchName',{ //查看操作按钮 Vue.component('table-BranchName',{ //查看操作按钮
...@@ -532,6 +537,22 @@ Vue.component('table-operation',{ //查看操作按钮 ...@@ -532,6 +537,22 @@ Vue.component('table-operation',{ //查看操作按钮
outline: none;" class="iconfont icon-money" v-if="F_Update_CurrencyRate==true && (rowData.Type==2 || rowData.Type==1)" @click="editRate(rowData)"> outline: none;" class="iconfont icon-money" v-if="F_Update_CurrencyRate==true && (rowData.Type==2 || rowData.Type==1)" @click="editRate(rowData)">
</i> </i>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="修改手续费" placement="top">
<i style="width: 30px;
height: 30px;
display: inline-block;
color: white !important;
border-radius: 50%;
text-align: center;
line-height: 30px;
margin-right: 10px;
cursor: pointer;
background-color: #47BF8C;
outline: none;" class="iconfont icon-money"
v-if="rowData.Type==1&&(istransaction == true || isJapanCommission == true)"
@click="editCommission(rowData)">
</i>
</el-tooltip>
</span>`, </span>`,
props:{ props:{
...@@ -548,7 +569,9 @@ Vue.component('table-operation',{ //查看操作按钮 ...@@ -548,7 +569,9 @@ Vue.component('table-operation',{ //查看操作按钮
data(){ data(){
return{ return{
Finance_ExpenseType:false, Finance_ExpenseType:false,
F_Update_CurrencyRate:false F_Update_CurrencyRate:false,
istransaction: false,
isJapanCommission: false
} }
}, },
created(){ created(){
...@@ -561,6 +584,12 @@ Vue.component('table-operation',{ //查看操作按钮 ...@@ -561,6 +584,12 @@ Vue.component('table-operation',{ //查看操作按钮
if(ActionMenuCode.indexOf('F_Update_CurrencyRate')!=-1){ if(ActionMenuCode.indexOf('F_Update_CurrencyRate')!=-1){
this.F_Update_CurrencyRate=true; this.F_Update_CurrencyRate=true;
} }
if (ActionMenuCode.indexOf("F_Trademodify") != -1) {
this.istransaction = true;
}
if(userinfo.RB_Branch_id == 1218&&ActionMenuCode.indexOf('isJapanCommission')!=-1){
this.isJapanCommission=true;
}
}, },
methods:{ methods:{
goUrl(path){ goUrl(path){
...@@ -583,6 +612,9 @@ Vue.component('table-operation',{ //查看操作按钮 ...@@ -583,6 +612,9 @@ Vue.component('table-operation',{ //查看操作按钮
editRate(rowData){ editRate(rowData){
this.MsgBus.$emit('showhuilv',rowData); this.MsgBus.$emit('showhuilv',rowData);
}, },
editCommission(rowData){
this.MsgBus.$emit('shouxufei',rowData);
},
} }
}) })
Vue.component('table-RecPay',{ //收支样式 Vue.component('table-RecPay',{ //收支样式
...@@ -916,6 +948,14 @@ Vue.component('table-StatusStr',{ //单据状态 ...@@ -916,6 +948,14 @@ Vue.component('table-StatusStr',{ //单据状态
export default { export default {
data(){ data(){
return{ return{
transTax:{
FrId: 0,
Fee: "0.0",
loading: false,
ClientType:'',
ClientID:''
},
transactionTax: false,
showID:false, showID:false,
active:1, active:1,
userId:0, userId:0,
...@@ -1094,6 +1134,7 @@ export default { ...@@ -1094,6 +1134,7 @@ export default {
},components: { },components: {
"my-Bill": myBill, "my-Bill": myBill,
"my-RVB-Bill":myrbvBill, "my-RVB-Bill":myrbvBill,
shouxufei
},mounted(){ },mounted(){
let userInfo=this.getLocalStorage(); let userInfo=this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id= this.employeeMsg.GroupId = this.getDepartmentMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID this.getCompanyMsg.RB_Group_Id= this.employeeMsg.GroupId = this.getDepartmentMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID
...@@ -1126,6 +1167,9 @@ export default { ...@@ -1126,6 +1167,9 @@ export default {
that.MsgBus.$on('showhuilv',function(row){ that.MsgBus.$on('showhuilv',function(row){
that.showhuilv(row) that.showhuilv(row)
}) })
that.MsgBus.$on('shouxufei',function(row){
that.shouxufei(row)
})
},methods:{ },methods:{
customCompFunc(params){ customCompFunc(params){
}, },
...@@ -1562,6 +1606,13 @@ export default { ...@@ -1562,6 +1606,13 @@ export default {
} }
}, err => {}) }, err => {})
}, },
shouxufei(row){
this.transTax.FrId = row.FrID;
this.transactionTax = true
},
close(){
this.transactionTax = false
},
showhuilv(row){ showhuilv(row){
this.apipost('Financial_get_GetFinanceRate', {FinanceId:row.FrID}, res => { this.apipost('Financial_get_GetFinanceRate', {FinanceId:row.FrID}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
......
...@@ -135,6 +135,9 @@ ...@@ -135,6 +135,9 @@
RB_Department_Id: -1,//部门ID RB_Department_Id: -1,//部门ID
RB_Branch_Id: -1,//公司ID RB_Branch_Id: -1,//公司ID
OutBranchId: -1,//出团公司ID OutBranchId: -1,//出团公司ID
EmployeeId: -1,
Way: -1,
TCID: '',
}, },
dataList:[], dataList:[],
outerVisible:false,//提成比例弹窗 outerVisible:false,//提成比例弹窗
...@@ -146,6 +149,7 @@ ...@@ -146,6 +149,7 @@
handler(val, oldVal) { handler(val, oldVal) {
this.objNew = val this.objNew = val
this.msg.OrderId = val.id?val.id:val.OrderId?val.OrderId:val.orderId this.msg.OrderId = val.id?val.id:val.OrderId?val.OrderId:val.orderId
this.msg.TCID = this.msg.OrderId
this.msg.PeriodId = this.$route.query.PeriodId?this.$route.query.PeriodId:-1 this.msg.PeriodId = this.$route.query.PeriodId?this.$route.query.PeriodId:-1
}, },
deep: true, deep: true,
...@@ -202,25 +206,9 @@ ...@@ -202,25 +206,9 @@
}, },
// op提成 // op提成
GetNewOPCommission(){ GetNewOPCommission(){
let msg = {
pageIndex: 1,
pageSize: 5,
EmployeeId: -1,
PeriodsId: -1,
OrderType: -1,
Way: -1,
TCID: this.objNew.OrderId,
TCNUM: '',
RB_Department_Id: -1,//部门ID
EmBranchId: -1,//公司ID
RB_Branch_Id: -1,//出团公司ID
}
if (msg.TCID == '') {
msg.TCID = 0
}
this.apipost( this.apipost(
"opcommission_GetNewOPCommissionDetailsPageList", "opcommission_GetNewOPCommissionDetailsPageList",
msg, this.msg,
res => { res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
......
<template>
<div>
<el-dialog title="修改单据手续费" width="300px"
:visible.sync="transactionTax" center @close="close">
<p style="font-size:12px;margin-bottom:10px;">交易手续费:</p>
<el-input v-model="ObjData.Fee" placeholder="请输入内容"></el-input>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="close">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="saveTransTaxMoney" :loading="ObjData.loading">{{$t('pub.sureBtn')}}</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
export default {
props: ['transTax'],
data() {
return {
transactionTax: true,
ObjData:{
FrId: 0,
Fee: "0.0",
loading: false,
ClientType:'',
ClientID:''
}
};
},
watch: {
transTax:{
handler(val, oldval) {
this.ObjData = JSON.parse(JSON.stringify(val))
},
deep: true,
immediate: true
}
},
methods: {
saveTransTaxMoney() {
if (this.ObjData.loading) return;
this.ObjData.loading = true;
if (this.ObjData.Fee && this.ObjData.Fee != "") {
this.apipost(
"Financial_post_UpdateFinanceFee",
{ FrId: this.ObjData.FrId, Fee: this.ObjData.Fee },
res => {
if (res.data.resultCode == 1) {
this.$message.success("修改成功");
this.$emit('success')
}
this.ObjData.loading = false;
},
err => {
this.ObjData.loading = false;
}
);
} else {
this.ObjData.loading = false;
this.$message.error("请输入手续费");
}
},
close(){
this.$emit('close')
},
},
mounted() {
}
};
</script>
<style>
</style>
...@@ -497,7 +497,6 @@ ...@@ -497,7 +497,6 @@
{{$t('Operation.Op_directPrice')}}:¥{{item.B2CMemberPrice|priceFormat(item.B2CMemberPrice)}}</p> {{$t('Operation.Op_directPrice')}}:¥{{item.B2CMemberPrice|priceFormat(item.B2CMemberPrice)}}</p>
<p> <p>
<el-popover width="700" trigger="click" popper-class="TC_customerInfo"> <el-popover width="700" trigger="click" popper-class="TC_customerInfo">
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td rowspan="2" style="text-align:center" width="60"> <td rowspan="2" style="text-align:center" width="60">
......
...@@ -46,6 +46,11 @@ ...@@ -46,6 +46,11 @@
.CommissionLadder p { .CommissionLadder p {
padding: 5px 0 0px 0; padding: 5px 0 0px 0;
font-size: 15px; font-size: 15px;
display: flex;
justify-content: space-between;
}
.CommissionLadder p span:last-child{
color: red;
} }
.CommissionInfor{ .CommissionInfor{
padding: 0 0 10px 0; padding: 0 0 10px 0;
...@@ -214,7 +219,7 @@ ...@@ -214,7 +219,7 @@
</div> </div>
<div style="display: flex;"> <div style="display: flex;">
<div class="CommissionLadder Line" style="margin: 0 10px 10px 0;"> <div class="CommissionLadder Line" style="margin: 0 10px 10px 0;">
<p>当月人头奖励(不含门票、包车、国内游)</p> <p><span>当月人头奖励(不含门票、包车、国内游)</span><span>单团(独立成团)</span></p>
<div class="CommissionInfor"> <div class="CommissionInfor">
<span> <span>
人头数量:<span>{{CommissionInfor.PeopleNum}}</span> 人头数量:<span>{{CommissionInfor.PeopleNum}}</span>
...@@ -228,7 +233,7 @@ ...@@ -228,7 +233,7 @@
</div> </div>
</div> </div>
<div class="CommissionLadder Line"> <div class="CommissionLadder Line">
<p>当月人头奖励(不含门票、包车、国内游)</p> <p><span>当月人头奖励(不含门票、包车、国内游)</span><span>单团(独立成团)</span></p>
<div class="CommissionInfor"> <div class="CommissionInfor">
<span> <span>
人头数量:<span>{{CommissionInfor.EuropePNum}}</span> 人头数量:<span>{{CommissionInfor.EuropePNum}}</span>
......
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