Commit ea6c25c8 authored by 黄奎's avatar 黄奎

页面修改

parents 49078567 dbb48492
...@@ -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>
...@@ -1171,15 +1171,12 @@ input[type="number"] { ...@@ -1171,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">
...@@ -1319,6 +1316,7 @@ import myBill from "./FinancialSubmodule/BillModule.vue"; ...@@ -1319,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 {
...@@ -1562,7 +1560,8 @@ export default { ...@@ -1562,7 +1560,8 @@ 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 StartDate = this.getBeforeDate(186,new Date().Format("yyyy-MM-dd"))
...@@ -2743,6 +2742,9 @@ export default { ...@@ -2743,6 +2742,9 @@ export default {
}); });
} }
}, },
close(){
this.transactionTax = false
},
showjiaoyi(FrId) { showjiaoyi(FrId) {
//弹出交易方式修改 //弹出交易方式修改
this.apipost( this.apipost(
...@@ -2795,8 +2797,6 @@ export default { ...@@ -2795,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;
...@@ -2806,30 +2806,6 @@ export default { ...@@ -2806,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 => {
......
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
<th width="100" style="min-width: 100px;max-width: 100px;">方案名称</th> <th width="100" style="min-width: 100px;max-width: 100px;">方案名称</th>
<th width="200" class="left-text-indent">线路</th> <th width="200" class="left-text-indent">线路</th>
<th width="100">提成方式</th> <th width="100">提成方式</th>
<th width="100">单签提成比</th>
<th width="100">团签奖励</th>
<th width="100">团签助奖</th>
<th width="100">单/落助人头奖</th>
<th width="150" style="min-width: 150px;max-width: 150px;">修改时间</th> <th width="150" style="min-width: 150px;max-width: 150px;">修改时间</th>
<th width="150" style="min-width: 150px;max-width: 150px;">操作</th> <th width="150" style="min-width: 150px;max-width: 150px;">操作</th>
</tr> </tr>
...@@ -39,6 +43,16 @@ ...@@ -39,6 +43,16 @@
<td style="padding: 0 10px;"> <td style="padding: 0 10px;">
{{item.SingleVisaWay==1?'人头奖励':item.SingleVisaWay==2?'利润比':'-'}} {{item.SingleVisaWay==1?'人头奖励':item.SingleVisaWay==2?'利润比':'-'}}
</td> </td>
<td>
<span v-if="item.FSingleVisaMoney">总公司:</span>{{item.SingleVisaRate}}{{item.SingleVisaWay==1?'/人':item.SingleVisaWay==2?'%':'-'}}
<div v-if="item.FSingleVisaMoney">分公司:{{item.FSingleVisaMoney}}/人</div>
</td>
<td>
<span v-if="item.FTravelVisaMoney">总公司:</span> {{item.TravelVisaMoney}}/人
<div v-if="item.FTravelVisaMoney">分公司:{{item.FTravelVisaMoney}}/人</div>
</td>
<td>{{item.TravelVisaZLMoney}}/人</td>
<td>{{item.SingleZLMoney}}/人</td>
<td style="padding: 0 10px;"> <td style="padding: 0 10px;">
<p>{{item.UpdateBy}}</p> <p>{{item.UpdateBy}}</p>
<span> <span>
...@@ -128,7 +142,7 @@ ...@@ -128,7 +142,7 @@
style="width: 100%;border:1px solid #E6E6E6;display: flex;align-items: center;justify-content: center;height: 60px;margin-top: 30px;" style="width: 100%;border:1px solid #E6E6E6;display: flex;align-items: center;justify-content: center;height: 60px;margin-top: 30px;"
>暂无数据</div> >暂无数据</div>
<el-dialog :title="titleName" :visible.sync="ruleVisible" width="750px" @close="resetForm('form')"> <el-dialog :title="titleName" :visible.sync="ruleVisible" width="750px" @close="resetForm('form')">
<el-form ref="form" :model="form" :rules="rules" label-width="100px"> <el-form ref="form" :model="form" :rules="rules" label-width="120px">
<div class="titleOP">总公司OP提成</div> <div class="titleOP">总公司OP提成</div>
<div class="ImpressionTicketing-msgbox bottom0"> <div class="ImpressionTicketing-msgbox bottom0">
<el-row> <el-row>
...@@ -179,6 +193,14 @@ ...@@ -179,6 +193,14 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8">
<el-form-item label="单/落助人头奖" prop="SingleZLMoney">
<div class="Impression-ratio-box">
<el-input type="Number" v-model="form.SingleZLMoney" clearable></el-input>
<span class="Impression-ratio-right">/人</span>
</div>
</el-form-item>
</el-col>
<el-col :span="16"> <el-col :span="16">
<el-form-item label="线路" prop="LineIdList"> <el-form-item label="线路" prop="LineIdList">
<el-select class="multiple_input" filterable multiple collapse-tags <el-select class="multiple_input" filterable multiple collapse-tags
...@@ -293,7 +315,7 @@ ...@@ -293,7 +315,7 @@
<div class="titleOP">分公司OP提成</div> <div class="titleOP">分公司OP提成</div>
<div class="ImpressionTicketing-msgbox bottom0"> <div class="ImpressionTicketing-msgbox bottom0">
<el-row> <el-row>
<el-col :span="8" v-if="form.SingleVisaWay"> <el-col :span="8">
<el-form-item label="单签人头奖" prop="FSingleVisaMoney" <el-form-item label="单签人头奖" prop="FSingleVisaMoney"
:rules="form.SingleVisaWay==1?rules.SingleVisaRate2:rules.SingleVisaRate"> :rules="form.SingleVisaWay==1?rules.SingleVisaRate2:rules.SingleVisaRate">
<div class="Impression-ratio-box"> <div class="Impression-ratio-box">
...@@ -490,6 +512,11 @@ ...@@ -490,6 +512,11 @@
message: '请输入分公司团签奖励', message: '请输入分公司团签奖励',
trigger: 'blur' trigger: 'blur'
}], }],
SingleZLMoney: [{
required: true,
message: '请输入单项/落地散助理人头奖励',
trigger: 'blur'
}],
}, },
ProfitList: ProfitList:
{ {
...@@ -555,7 +582,8 @@ ...@@ -555,7 +582,8 @@
], ],
IsEnableFBranch: 0, IsEnableFBranch: 0,
FSingleVisaMoney: 0, FSingleVisaMoney: 0,
FTravelVisaMoney: 0 FTravelVisaMoney: 0,
SingleZLMoney: 0,
}, },
ruleLoading: false, ruleLoading: false,
ruleVisible:false, ruleVisible:false,
...@@ -641,7 +669,8 @@ ...@@ -641,7 +669,8 @@
FProfitList: item.FProfitList&&item.FProfitList.length>0?item.FProfitList:item.IsEnableFBranch>0?[this.FProfitList]:[], FProfitList: item.FProfitList&&item.FProfitList.length>0?item.FProfitList:item.IsEnableFBranch>0?[this.FProfitList]:[],
FExtraList: item.FExtraList&&item.FExtraList.length>0?item.FExtraList:[this.FExtraList], FExtraList: item.FExtraList&&item.FExtraList.length>0?item.FExtraList:[this.FExtraList],
FSingleVisaMoney: item.FSingleVisaMoney, FSingleVisaMoney: item.FSingleVisaMoney,
FTravelVisaMoney: item.FTravelVisaMoney FTravelVisaMoney: item.FTravelVisaMoney,
SingleZLMoney: item.SingleZLMoney,
} }
}, },
Delete(item){//删除 Delete(item){//删除
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
.icon-shenhebohui{color: #E95252} .icon-shenhebohui{color: #E95252}
.icon-icon-zancun{color: #FF9C01} .icon-icon-zancun{color: #FF9C01}
.zhuiClass{ .zhuiClass{
} }
.singeRowTable tr:hover{background-color: white} .singeRowTable tr:hover{background-color: white}
._TradeWayList{padding: 5px 10px;background-color: #EEEEEE;border-radius: 4px;margin: 10px 0;width: 230px} ._TradeWayList{padding: 5px 10px;background-color: #EEEEEE;border-radius: 4px;margin: 10px 0;width: 230px}
...@@ -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><!-- 多个排序 -->
...@@ -340,7 +339,7 @@ ...@@ -340,7 +339,7 @@
:pageIndex='pageIndex' --> :pageIndex='pageIndex' -->
<el-pagination background @current-change="handleCurrentChanges" <el-pagination background @current-change="handleCurrentChanges"
layout="total,prev, pager, next, jumper" :page-size="pageSize" :total='total'> layout="total,prev, pager, next, jumper" :page-size="pageSize" :total='total'>
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
...@@ -388,7 +387,7 @@ ...@@ -388,7 +387,7 @@
</el-select> </el-select>
</p> </p>
</div> </div>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="costmode=false">{{$t('pub.cancelBtn')}}</el-button> <el-button class="hollowFixedBtn" @click="costmode=false">{{$t('pub.cancelBtn')}}</el-button>
...@@ -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',{ //查看操作按钮
...@@ -490,7 +495,7 @@ Vue.component('table-operation',{ //查看操作按钮 ...@@ -490,7 +495,7 @@ Vue.component('table-operation',{ //查看操作按钮
</i> </i>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="转交" placement="top"> <el-tooltip class="item" effect="dark" content="转交" placement="top">
<i v-if="rowData.isExchange" style="width: 30px; <i v-if="rowData.isExchange" style="width: 30px;
height: 30px; height: 30px;
display: inline-block; display: inline-block;
color: white !important; color: white !important;
...@@ -532,9 +537,25 @@ Vue.component('table-operation',{ //查看操作按钮 ...@@ -532,9 +537,25 @@ 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:{
rowData:{ rowData:{
type:Object type:Object
}, },
...@@ -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',{ //收支样式
...@@ -602,7 +634,7 @@ Vue.component('table-RecPay',{ //收支样式 ...@@ -602,7 +634,7 @@ Vue.component('table-RecPay',{ //收支样式
background-color: #2BB87C; background-color: #2BB87C;
line-height: 16px; line-height: 16px;
border-radius: 4px;"> border-radius: 4px;">
收入 收入
</span> </span>
<span v-if="rowData.Type==5" style="display: inline-block; <span v-if="rowData.Type==5" style="display: inline-block;
padding: 2px 8px; padding: 2px 8px;
...@@ -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){
}, },
...@@ -1175,7 +1219,7 @@ export default { ...@@ -1175,7 +1219,7 @@ export default {
} }
},err=>{}) },err=>{})
}, },
getPageList(){ // 获取列表数据 getPageList(){ // 获取列表数据
if(!this.msg.ClientID)this.msg.ClientID=0; if(!this.msg.ClientID)this.msg.ClientID=0;
if(!this.msg.ClientType)this.msg.ClientType=0; if(!this.msg.ClientType)this.msg.ClientType=0;
if(!this.msg.CurrencyId)this.msg.CurrencyId=0; if(!this.msg.CurrencyId)this.msg.CurrencyId=0;
...@@ -1403,7 +1447,7 @@ export default { ...@@ -1403,7 +1447,7 @@ export default {
} }
}, err => {}) }, err => {})
} }
}, },
Financial_post_GetBranchAccountList(){ //获取交易方式列表 Financial_post_GetBranchAccountList(){ //获取交易方式列表
this.apipost('Financial_post_GetBranchAccountList',{}, res => { this.apipost('Financial_post_GetBranchAccountList',{}, res => {
...@@ -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>
This diff is collapsed.
...@@ -1701,7 +1701,7 @@ ...@@ -1701,7 +1701,7 @@
</p> </p>
<p>{{ $t("restaurant.res_oderTime") }}{{ item.createDate }}</p> <p>{{ $t("restaurant.res_oderTime") }}{{ item.createDate }}</p>
<p v-if="item.tradeWay == 1">{{ item.platformOrder }}</p> <p v-if="item.tradeWay == 1">{{ item.platformOrder }}</p>
<p v-if="item.commissionMoney" style="color: red"> <p v-if="item.commissionMoney" style="color: red;cursor: pointer;">
<span style="float: left;">{{ $t("salesModule.Commission") }}</span> <span style="float: left;">{{ $t("salesModule.Commission") }}</span>
<commissionDialog :type="pagesTitle" :objNew="item"></commissionDialog>{{item.commissionCurrency}} <commissionDialog :type="pagesTitle" :objNew="item"></commissionDialog>{{item.commissionCurrency}}
<!-- {{ item.commissionMoney }} {{item.commissionCurrency}} --> <!-- {{ item.commissionMoney }} {{item.commissionCurrency}} -->
...@@ -4117,7 +4117,7 @@ ...@@ -4117,7 +4117,7 @@
} }
}); });
}, },
cancelSubmit() { cancelSubmit() {
this.isShowLayer = false; this.isShowLayer = false;
this.$refs["addMsg"].resetFields(); this.$refs["addMsg"].resetFields();
......
...@@ -829,11 +829,11 @@ ...@@ -829,11 +829,11 @@
</tr> </tr>
<template v-for="item in DataList.FinicePayList"> <template v-for="item in DataList.FinicePayList">
<!-- <tr v-if='item.OrderSource===4 || isExists(item.CostTypeList,'国际段机票')'> --> <!-- <tr v-if='item.OrderSource===4 || isExists(item.CostTypeList,'国际段机票')'> -->
<tr v-if="(isExists(item.CostTypeList,'国际段机票') <tr v-if="(isExists(item.CostTypeList,'国际段机票')
|| item.OrderSource===4 || item.OrderSource===4
|| isExists(item.CostTypeList,'机票退税') || isExists(item.CostTypeList,'机票退税')
|| isExists(item.CostTypeList,'机票罚金') || isExists(item.CostTypeList,'机票罚金')
|| isExists(item.CostTypeList,'机票税金')) || isExists(item.CostTypeList,'机票税金'))
|| isExists(item.CostTypeList,'国内联运段机票')"> || isExists(item.CostTypeList,'国内联运段机票')">
<td> <td>
<el-checkbox v-model="item.checked"></el-checkbox> <el-checkbox v-model="item.checked"></el-checkbox>
...@@ -1102,7 +1102,8 @@ ...@@ -1102,7 +1102,8 @@
</tr> </tr>
<template v-for="item in DataList.FinicePayList"> <template v-for="item in DataList.FinicePayList">
<tr <tr
v-if="isExists(item.CostTypeList,'保险费') || isExists(item.CostTypeList,'旅游责任险') || isExists(item.CostTypeList,'团队保险')"> v-if="isExists(item.CostTypeList,'保险费') || isExists(item.CostTypeList,'旅游责任险')
|| isExists(item.CostTypeList,'团队保险')">
<td> <td>
<el-checkbox v-model="item.checked"></el-checkbox> <el-checkbox v-model="item.checked"></el-checkbox>
<span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span> <span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
...@@ -1211,24 +1212,24 @@ ...@@ -1211,24 +1212,24 @@
<tr v-if="NotExists(item.CostTypeList,'领队奖励金') <tr v-if="NotExists(item.CostTypeList,'领队奖励金')
&&NotExists(item.CostTypeList,'机票折让费') &&NotExists(item.CostTypeList,'机票折让费')
&&NotExists(item.CostTypeList,'签证费') &&NotExists(item.CostTypeList,'签证费')
&&NotExists(item.CostTypeList,'签证佣金') &&NotExists(item.CostTypeList,'签证佣金')
&& NotExists(item.CostTypeList,'地接费(领取)') && NotExists(item.CostTypeList,'地接费(领取)')
&& NotExists(item.CostTypeList,'地接费(结算)') && NotExists(item.CostTypeList,'地接费(结算)')
&& NotExists(item.CostTypeList,'提成') && NotExists(item.CostTypeList,'提成')
&& NotExists(item.CostTypeList,'国内联运') && NotExists(item.CostTypeList,'国内联运')
&& NotExists(item.CostTypeList,'车资') && NotExists(item.CostTypeList,'车资')
&& NotExists(item.CostTypeList,'邀请函费用') && NotExists(item.CostTypeList,'邀请函费用')
&& NotExists(item.CostTypeList,'名单表费') && NotExists(item.CostTypeList,'名单表费')
&& NotExists(item.CostTypeList,'领队佣金') && NotExists(item.CostTypeList,'领队佣金')
&& NotExists(item.CostTypeList,'导游佣金') && NotExists(item.CostTypeList,'导游佣金')
&&item.OrderSource!==4 &&item.OrderSource!==4
&& NotExists(item.CostTypeList,'国际段机票') && NotExists(item.CostTypeList,'国际段机票')
&& NotExists(item.CostTypeList,'机票退税') && NotExists(item.CostTypeList,'机票退税')
&& NotExists(item.CostTypeList,'机票罚金') && NotExists(item.CostTypeList,'机票罚金')
&& NotExists(item.CostTypeList,'机票税金') && NotExists(item.CostTypeList,'机票税金')
&& item.OrderSource!==11 && item.OrderSource!==11
&& NotExists(item.CostTypeList,'赔偿') && NotExists(item.CostTypeList,'赔偿')
&& NotExists(item.CostTypeList,'保险费') && NotExists(item.CostTypeList,'保险费')
&& NotExists(item.CostTypeList,'旅游责任险') && NotExists(item.CostTypeList,'旅游责任险')
&& NotExists(item.CostTypeList,'团队保险')"> && NotExists(item.CostTypeList,'团队保险')">
<td> <td>
...@@ -2026,7 +2027,8 @@ ...@@ -2026,7 +2027,8 @@
}, },
zhaunBox: function () { zhaunBox: function () {
let flag = false let flag = false
this.DataList.FinicePayList.forEach(x => { // FinicePayList 未排除重复数据
this.DataList.newFinicePayList2.forEach(x => {
if (x.checked) { if (x.checked) {
flag = true flag = true
this.zhuanMsg.FrIds += x.FrID + ',' this.zhuanMsg.FrIds += x.FrID + ','
...@@ -2130,7 +2132,12 @@ ...@@ -2130,7 +2132,12 @@
data.FiniceReciveList.forEach(x => { data.FiniceReciveList.forEach(x => {
x.checked = false; x.checked = false;
}) })
let objData2 = function (obj) {
obj.forEach(x=>{
x.checked = false
})
}
objData2(data.newFinicePayList2)
this.DataList = data; this.DataList = data;
data.FinicePayList.forEach(item => { data.FinicePayList.forEach(item => {
if ((that.isExists(item.CostTypeList, '国际段机票') || if ((that.isExists(item.CostTypeList, '国际段机票') ||
...@@ -2256,7 +2263,7 @@ ...@@ -2256,7 +2263,7 @@
this.moneyAll.peichangsf += item.PayMoney; this.moneyAll.peichangsf += item.PayMoney;
} }
// 保险费 // 保险费
if (that.isExists(item.CostTypeList, '保险费') || that.isExists(item.CostTypeList, '旅游责任险')) { if (that.isExists(item.CostTypeList, '保险费') || that.isExists(item.CostTypeList, '旅游责任险') || that.isExists(item.CostTypeList, '团队保险')) {
this.moneyAll.baoxianyf += item.Money; this.moneyAll.baoxianyf += item.Money;
this.moneyAll.baoxiansf += item.PayMoney; this.moneyAll.baoxiansf += item.PayMoney;
} }
...@@ -2276,7 +2283,7 @@ ...@@ -2276,7 +2283,7 @@
.CostTypeList, '国际段机票') && that.NotExists(item.CostTypeList, '机票退税') && that.NotExists(item .CostTypeList, '国际段机票') && that.NotExists(item.CostTypeList, '机票退税') && that.NotExists(item
.CostTypeList, '机票罚金') && that.NotExists(item.CostTypeList, '机票税金') && item.OrderSource !== .CostTypeList, '机票罚金') && that.NotExists(item.CostTypeList, '机票税金') && item.OrderSource !==
11 && that.NotExists(item.CostTypeList, '赔偿') && that.NotExists(item.CostTypeList, '保险费') && 11 && that.NotExists(item.CostTypeList, '赔偿') && that.NotExists(item.CostTypeList, '保险费') &&
that.NotExists(item.CostTypeList, '旅游责任险') && that.NotExists(item.CostTypeList, '机票折让费')) { that.NotExists(item.CostTypeList, '旅游责任险')&& that.NotExists(item.CostTypeList, '团队保险') && that.NotExists(item.CostTypeList, '机票折让费')) {
this.moneyAll.otheryf += item.Money; this.moneyAll.otheryf += item.Money;
this.moneyAll.othersf += item.PayMoney; this.moneyAll.othersf += item.PayMoney;
} }
...@@ -2294,18 +2301,18 @@ ...@@ -2294,18 +2301,18 @@
}) })
// if(this.moneyAll.dijieys>0 || this.moneyAll.dijiess>0){ // if(this.moneyAll.dijieys>0 || this.moneyAll.dijiess>0){
// } // }
// if(this.moneyAll.zifeiys>0 || this.moneyAll.zifeiss>0){ // if(this.moneyAll.zifeiys>0 || this.moneyAll.zifeiss>0){
// this.moneyAll.otheryTotalyf+=this.moneyAll.zifeiys; // this.moneyAll.otheryTotalyf+=this.moneyAll.zifeiys;
// this.moneyAll.otheryTotalsf+=this.moneyAll.zifeiss; // this.moneyAll.otheryTotalsf+=this.moneyAll.zifeiss;
// } // }
// if(this.moneyAll.xiaofeiys>0 || this.moneyAll.xiaofeiss>0){ // if(this.moneyAll.xiaofeiys>0 || this.moneyAll.xiaofeiss>0){
// this.moneyAll.otheryTotalyf+=this.moneyAll.xiaofeiys; // this.moneyAll.otheryTotalyf+=this.moneyAll.xiaofeiys;
// this.moneyAll.otheryTotalsf+=this.moneyAll.xiaofeiss; // this.moneyAll.otheryTotalsf+=this.moneyAll.xiaofeiss;
// } if(this.moneyAll.yongjinys>0 || this.moneyAll.yongjinss>0){ // } if(this.moneyAll.yongjinys>0 || this.moneyAll.yongjinss>0){
// this.moneyAll.otheryTotalyf+=this.moneyAll.yongjinys; // this.moneyAll.otheryTotalyf+=this.moneyAll.yongjinys;
// this.moneyAll.otheryTotalsf+=this.moneyAll.yongjinss; // this.moneyAll.otheryTotalsf+=this.moneyAll.yongjinss;
// } // }
} }
}); });
}, },
......
...@@ -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