Commit 40d434d2 authored by 沈良进's avatar 沈良进
parents 07eee204 217ebd26
...@@ -202,8 +202,6 @@ ...@@ -202,8 +202,6 @@
data() { data() {
return { return {
dataObj:{}, dataObj:{},
objNew:{},
outerVisible:false,
Month: moment().format("YYYY-MM"), Month: moment().format("YYYY-MM"),
msg: { msg: {
pageIndex: 1, pageIndex: 1,
...@@ -478,13 +476,6 @@ ...@@ -478,13 +476,6 @@
JSON.stringify(data); JSON.stringify(data);
window.open(href); window.open(href);
}, },
GenerateScale(item){
// if(!item.WageReId){
// return
// }
this.objNew = item
this.outerVisible = true
},
GetCommissionPeroidsList() { //期数下拉 GetCommissionPeroidsList() { //期数下拉
this.apipost( this.apipost(
"sellcommission_GetTYSaleCommissionPeriodsList",{},res => { "sellcommission_GetTYSaleCommissionPeriodsList",{},res => {
......
...@@ -509,6 +509,11 @@ ...@@ -509,6 +509,11 @@
<span class="fz15 fbold">{{ scope.row.Refund ? scope.row.Refund : "-" }}</span> <span class="fz15 fbold">{{ scope.row.Refund ? scope.row.Refund : "-" }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column v-if="item.SellCommission&&item.SellCommission>0" label="提成" style="background:#EAEAEA">
<template slot-scope="scope">
<commissionDialog :objNew="item"></commissionDialog>
</template>
</el-table-column>
<!-- <el-table-column label="手配费应收" min-width="100"> <!-- <el-table-column label="手配费应收" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="fz15 fbold">{{ <span class="fz15 fbold">{{
...@@ -902,8 +907,9 @@ ...@@ -902,8 +907,9 @@
import offset from '../../public/offset.vue'; import offset from '../../public/offset.vue';
import more from '../../public/more.vue'; import more from '../../public/more.vue';
import correlationOP from './correlationOP.vue'; import correlationOP from './correlationOP.vue';
import commissionDialog from "../../FinancialModule/TradeCommission/commissionDialog"
export default { export default {
components: { offset, more, correlationOP }, components: { offset, more, correlationOP,commissionDialog },
props: ["OrderList","pagesTitle"], props: ["OrderList","pagesTitle"],
data() { data() {
return { return {
......
...@@ -1715,7 +1715,9 @@ ...@@ -1715,7 +1715,9 @@
<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">
{{ $t("salesModule.Commission") }}{{ item.commissionMoney }} {{item.commissionCurrency}} <span style="float: left;">{{ $t("salesModule.Commission") }}</span>
<commissionDialog :objNew="item"></commissionDialog>
<!-- {{ item.commissionMoney }} {{item.commissionCurrency}} -->
</p> </p>
<p v-else-if="item.latestCommissionMoney" style="color: red"> <p v-else-if="item.latestCommissionMoney" style="color: red">
{{ $t("salesModule.Commission") }}{{ {{ $t("salesModule.Commission") }}{{
...@@ -2425,6 +2427,7 @@ ...@@ -2425,6 +2427,7 @@
import payURL1 from "../commonPage/payURL1.vue"; import payURL1 from "../commonPage/payURL1.vue";
import tripDownLoadCommon from "../commonPage/TripDownLoadCommon.vue"; import tripDownLoadCommon from "../commonPage/TripDownLoadCommon.vue";
import updateSalesMan from "../commonPage/updateSalesMan.vue"; import updateSalesMan from "../commonPage/updateSalesMan.vue";
import commissionDialog from "../FinancialModule/TradeCommission/commissionDialog"
export default { export default {
data() { data() {
...@@ -2741,6 +2744,7 @@ ...@@ -2741,6 +2744,7 @@
payurlItem1: payURL1, payurlItem1: payURL1,
tripDownLoadCommon: tripDownLoadCommon, tripDownLoadCommon: tripDownLoadCommon,
updateSalesMan: updateSalesMan, updateSalesMan: updateSalesMan,
commissionDialog
}, },
filters: { filters: {
priceFormat(value) { priceFormat(value) {
......
...@@ -1482,7 +1482,10 @@ ...@@ -1482,7 +1482,10 @@
<p style="min-width: 180px;">{{$t('hotel.hotel_StartTeam')}}:{{item.startDate}}</p> <p style="min-width: 180px;">{{$t('hotel.hotel_StartTeam')}}:{{item.startDate}}</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">{{$t('salesModule.Commission')}}:{{item.commissionMoney}} <p v-if='item.commissionMoney' style="color:red">
<span style="float: left;">{{$t('salesModule.Commission')}}:</span>
<commissionDialog :objNew="item"></commissionDialog>
<!-- {{item.commissionMoney}} -->
</p> </p>
<p v-else-if="item.latestCommissionMoney" style="color:red"> <p v-else-if="item.latestCommissionMoney" style="color:red">
{{$t('salesModule.Commission')}}:{{item.latestCommissionMoney}}</p> {{$t('salesModule.Commission')}}:{{item.latestCommissionMoney}}</p>
...@@ -1855,6 +1858,7 @@ ...@@ -1855,6 +1858,7 @@
import payURL1 from '../commonPage/payURL1.vue' import payURL1 from '../commonPage/payURL1.vue'
import tripDownLoadCommon from '../commonPage/TripDownLoadCommon.vue' import tripDownLoadCommon from '../commonPage/TripDownLoadCommon.vue'
import updateSalesMan from '../commonPage/updateSalesMan.vue' import updateSalesMan from '../commonPage/updateSalesMan.vue'
import commissionDialog from "../FinancialModule/TradeCommission/commissionDialog"
export default { export default {
data() { data() {
...@@ -2229,7 +2233,8 @@ ...@@ -2229,7 +2233,8 @@
payurlItem: payURL, payurlItem: payURL,
payurlItem1: payURL1, payurlItem1: payURL1,
tripDownLoadCommon: tripDownLoadCommon, tripDownLoadCommon: tripDownLoadCommon,
updateSalesMan: updateSalesMan updateSalesMan: updateSalesMan,
commissionDialog
}, },
filters: { filters: {
priceFormat(value) { priceFormat(value) {
......
...@@ -556,9 +556,10 @@ ...@@ -556,9 +556,10 @@
<template slot-scope="scope"> <template slot-scope="scope">
<template> <template>
<p class="CreateByName-text" v-if="scope.row.DepartTime">出发:<span>{{scope.row.DepartTime}}</span></p> <p class="CreateByName-text" v-if="scope.row.DepartTime">出发:<span>{{scope.row.DepartTime}}</span></p>
<p class="CreateByName-text" v-if="scope.row.OrderStatus == 5">完结:<span>{{scope.row.FinishTime}}</span></p> <p class="CreateByName-text" v-else-if="scope.row.OrderStatus == 5">完结:<span>{{scope.row.FinishTime}}</span></p>
<p class="CreateByName-text" v-if="scope.row.OrderStatus == 6">完结:<span >{{scope.row.LossFinishTime}}</span></p> <p class="CreateByName-text" v-else-if="scope.row.OrderStatus == 6">完结:<span >{{scope.row.LossFinishTime}}</span></p>
<p class="CreateByName-text Commission cp" v-if="scope.row.Commission" @click="commissionDetails(scope.row)">提成:<span>{{scope.row.Commission}}</span></p> <p class="CreateByName-text Commission cp" v-else-if="scope.row.Commission" @click="commissionDetails(scope.row)">提成:<span>{{scope.row.Commission}}</span></p>
<template v-else>-</template>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
...@@ -602,6 +603,11 @@ ...@@ -602,6 +603,11 @@
<span :class="{'cF1416C':scope.row.DueinMoney>0}">{{ scope.row.DueinMoney }}</span> <span :class="{'cF1416C':scope.row.DueinMoney>0}">{{ scope.row.DueinMoney }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column v-if="item.commissionMoney&&item.commissionMoney>0" label="提成" style="background:#EAEAEA">
<template slot-scope="scope">
<commissionDialog :objNew="scope.row"></commissionDialog>
</template>
</el-table-column>
<el-table-column label="出票状态" style="background:#EAEAEA"> <el-table-column label="出票状态" style="background:#EAEAEA">
<template slot-scope="scope"> <template slot-scope="scope">
<span @click="scope.row.TicketStatusName!='无需机票'?modifyStatus(scope.row):''" <span @click="scope.row.TicketStatusName!='无需机票'?modifyStatus(scope.row):''"
...@@ -865,8 +871,9 @@ ...@@ -865,8 +871,9 @@
</template> </template>
<script> <script>
import offset from '../../public/offset.vue'; import offset from '../../public/offset.vue';
import commissionDialog from "../../FinancialModule/TradeCommission/commissionDialog"
export default { export default {
components: { offset }, components: { offset,commissionDialog },
props: ["OrderList","pagesTitle"], props: ["OrderList","pagesTitle"],
data() { data() {
return { return {
......
...@@ -576,6 +576,11 @@ ...@@ -576,6 +576,11 @@
<span class="fz15 fbold">{{ scope.row.Income-scope.row.CostMoney-scope.row.Refund>0?(scope.row.Income-scope.row.CostMoney-scope.row.Refund).toFixed(2):'-' }}</span> <span class="fz15 fbold">{{ scope.row.Income-scope.row.CostMoney-scope.row.Refund>0?(scope.row.Income-scope.row.CostMoney-scope.row.Refund).toFixed(2):'-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column v-if="item.SellCommission&&item.SellCommission>0" label="提成" style="background:#EAEAEA">
<template slot-scope="scope">
<commissionDialog :objNew="item"></commissionDialog>
</template>
</el-table-column>
</el-table> </el-table>
<div class="row justify-sb mt mb20"> <div class="row justify-sb mt mb20">
<div class="column px15 bgf5 radius5 flex-g pa relative"> <div class="column px15 bgf5 radius5 flex-g pa relative">
...@@ -836,8 +841,9 @@ ...@@ -836,8 +841,9 @@
<script> <script>
import offset from '../../../public/offset.vue'; import offset from '../../../public/offset.vue';
import correlationOP from '../../../Hotel/reservation/correlationOP.vue'; import correlationOP from '../../../Hotel/reservation/correlationOP.vue';
import commissionDialog from "../../../FinancialModule/TradeCommission/commissionDialog"
export default { export default {
components: { offset,correlationOP }, components: { offset,correlationOP,commissionDialog },
props: ["OrderList","pagesTitle"], props: ["OrderList","pagesTitle"],
data() { data() {
return { return {
......
...@@ -616,6 +616,11 @@ ...@@ -616,6 +616,11 @@
<span class="fz15 fbold">{{ scope.row.Income-scope.row.CostMoney-scope.row.Refund>0?(scope.row.Income-scope.row.CostMoney-scope.row.Refund).toFixed(2):'-' }}</span> <span class="fz15 fbold">{{ scope.row.Income-scope.row.CostMoney-scope.row.Refund>0?(scope.row.Income-scope.row.CostMoney-scope.row.Refund).toFixed(2):'-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column v-if="item.SellCommission&&item.SellCommission>0" label="提成" style="background:#EAEAEA">
<template slot-scope="scope">
<commissionDialog :objNew="item"></commissionDialog>
</template>
</el-table-column>
</el-table> </el-table>
<div class="row justify-sb mt mb20"> <div class="row justify-sb mt mb20">
...@@ -987,9 +992,10 @@ ...@@ -987,9 +992,10 @@
<script> <script>
import offset from '../../public/offset.vue'; import offset from '../../public/offset.vue';
import correlationOP from '../../Hotel/reservation/correlationOP.vue'; import correlationOP from '../../Hotel/reservation/correlationOP.vue';
import commissionDialog from "../../FinancialModule/TradeCommission/commissionDialog"
export default { export default {
components: { components: {
offset,correlationOP offset,correlationOP,commissionDialog
}, },
props: ["OrderList", "pagesTitle"], props: ["OrderList", "pagesTitle"],
data() { data() {
......
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