Commit 6aeeca2f authored by youjie's avatar youjie

no message

parent b98a9c87
<template>
<div>
<div v-for="(item,index) in OrderList">
<div v-if="pagesTitle=='申请'||pagesTitle=='审核'" v-for="(item,index) in OrderList">
<el-table
border
ref="multipleTable"
......@@ -320,6 +320,276 @@
</template>
</el-table>
</div>
<el-table
v-if="pagesTitle=='销售'||pagesTitle=='OP'"
border
ref="multipleTable"
:data="OrderList"
style="width: 100%"
:default-sort="{ prop: 'null', order: 'null' }"
:sort-by="[
'Money',
'Income',
'PreferTipAmount',
'PlatformTax',
'Refund',
'CostMoney',
'OrderProfit',
'DueInMoney'
]"
>
<el-table-column
width="200"
prop="CreateTimeStr"
label="订单Id"
fixed="left"
>
<template slot-scope="scope">
<div>
<p
class="cursor-pointer c059FF6 fz18 row-c"
@click="goDetails(scope.row)"
>
<el-tag style="margin-right: 5px;" size="mini">{{
scope.row.OrderTypeName
}}</el-tag>
<span>{{ scope.row.OrderId }}</span>
</p>
<p>{{ scope.row.CreateTimeStr }}</p>
</div>
</template>
</el-table-column>
<el-table-column
width="200"
prop="CreateTimeStr"
label="团号"
show-overflow-tooltip
fixed="left"
>
<template slot-scope="scope">
<div>
<p
class=" fz14"
:class="{ 'cursor-pointer c059FF6': scope.row.OrderType == 2 }"
@click="scope.row.OrderType == 2 ? goTuanDetails(scope.row) : ''"
>
{{ scope.row.TCNUM }}
</p>
<p>出发日期:{{ scope.row.StartDate }}</p>
<p v-if="scope.row.OrderType == 2 && scope.row.Status >= 0">
{{
scope.row.Status == 1
? "未结团"
: scope.row.Status == 2
? "已结团 "
: scope.row.Status == 5
? "待结团审核"
: ""
}}{{ scope.row.Status == 2 ? scope.row.OutGroupAuditDate : "" }}
</p>
</div>
</template>
</el-table-column>
<el-table-column label="客人" show-overflow-tooltip>
<template slot-scope="scope">
<span
:class="{ 'colorblue font-color-link': pagesTitle != '详情' }"
@click="pagesTitle != '详情' ? openNameDetails(scope.row) : ''"
>
{{ scope.row.GuestName }}
</span>
</template>
</el-table-column>
<el-table-column prop="SaleName" label="销售"> </el-table-column>
<el-table-column prop="LureEmpName" label="引流"> </el-table-column>
<el-table-column label="商品名称" show-overflow-tooltip>
<template slot-scope="scope">
<div
style="max-width: 100px;overflow: hidden;text-overflow: ellipsis"
>
{{ scope.row.Name }}
</div>
</template>
</el-table-column>
<el-table-column label="商品详情" show-overflow-tooltip>
<template slot-scope="scope">
<div
style="max-width: 100px;overflow: hidden;text-overflow: ellipsis"
>
{{ scope.row.Description }}
</div>
</template>
</el-table-column>
<el-table-column
sortable
prop="Money"
label="总金额"
min-width="100"
show-overflow-tooltip
>
<template slot-scope="scope">
{{ scope.row.Money }}&ensp;({{ scope.row.CurrencyName }})
</template>
</el-table-column>
<el-table-column sortable prop="Income" label="实收"> </el-table-column>
<el-table-column
sortable
prop="PlatformMoney"
label="平台在途金额"
min-width="130"
>
</el-table-column>
<el-table-column
sortable
prop="PreferTipAmount"
label="人头小费"
min-width="110"
>
</el-table-column>
<el-table-column
sortable
prop="PlatformTax"
label="手续费"
min-width="100"
>
</el-table-column>
<el-table-column sortable prop="Refund" label="退款"> </el-table-column>
<el-table-column sortable prop="CostMoney" label="成本">
</el-table-column>
<el-table-column sortable prop="DueInMoney" label="待收">
<template slot-scope="scope">
<span :class="{ red: scope.row.DueInMoney > 0 }">{{
scope.row.DueInMoney
}}</span>
</template>
</el-table-column>
<el-table-column
sortable
prop="OrderProfit"
label="预期利润"
min-width="110"
>
<template slot-scope="scope">
<span :class="{ red: scope.row.OrderProfit > 0 }">{{
scope.row.OrderProfit
}}</span>
</template>
</el-table-column>
<el-table-column sortable prop="DiscountsMoney" label="优惠">
</el-table-column>
<!--
<template v-if="pagesTitle == '审核'||pagesTitle == '申请'">
<el-table-column
prop="ApplyForMoney"
label="申请改价金额"
min-width="120"
show-overflow-tooltip
>
<template slot-scope="scope">
<span> {{ scope.row.ApplyForMoney }}</span>
</template>
</el-table-column>
<el-table-column
prop="ApplyForReason"
label="申请理由"
min-width="100"
show-overflow-tooltip
>
<template slot-scope="scope">
{{ scope.row.ApplyForReason }}
</template>
</el-table-column>
<el-table-column
v-if="pagesTitle=='审核'"
prop="ApplyForState"
label="改价状态"
show-overflow-tooltip
>
<template slot-scope="scope">
<span
>
<template v-if="scope.row.ApplyForState==1">
待主管审核
</template>
<template v-else-if="scope.row.ApplyForState==2">
主管审核通过
</template>
<template v-else-if="scope.row.ApplyForState==3">
审核通过
</template>
<template v-else-if="scope.row.ApplyForState==4">
拒绝
</template>
</span>
</template>
</el-table-column>
</template> -->
<!--
<el-table-column
v-if="pagesTitle == '审核'&&userInfo.EmployeeId==1"
prop="StateName"
label="审核人"
show-overflow-tooltip
min-width="150"
>
<template slot-scope="scope">
<span v-if="scope.row.ManagerExamineName">{{scope.row.ManagerExamineName }}</span>
<p v-if="scene.row.ManagerExamineTimeStr">{{scene.row.ManagerExamineTimeStr}}</p>
</template>
</el-table-column> -->
<el-table-column
v-if="pagesTitle != '审核'"
prop="StateName"
label="状态"
show-overflow-tooltip
>
<template slot-scope="scope">
<span>{{ scope.row.StateName }}</span>
</template>
</el-table-column>
<el-table-column label="操作" show-overflow-tooltip
fixed="right"
min-width="105" v-if="pagesTitle == '申请'||pagesTitle == '审核'">
<template slot-scope="scope">
<!-- <el-button size="mini" type="primary" @click="goDetails(scope.row)">查看</el-button> -->
<template v-if="pagesTitle == '申请'">
<el-button
v-if="scope.row.OrderChangePriceId == 0"
size="mini"
type="primary"
@click="ckChangePrice(scope.row)"
>申请改价</el-button
>
<el-button
v-else
size="mini"
type="primary"
@click="ckChangePrice(scope.row, 1)"
>修改改价</el-button
>
</template>
<template v-if="pagesTitle == '审核'">
<el-button
v-if="scope.row.ApplyForState == 1||(scope.row.ApplyForState == 2&&userInfo.EmployeeId==1)"
size="mini"
type="primary"
@click="ckChangePrice(scope.row, 2)"
>审核</el-button
>
<p
v-else
class=" fz14"
:class="{ 'cursor-pointer c059FF6': scope.row.OrderType > 0 }"
@click="ckChangePrice(scope.row, 3)"
>
查看详情
</p>
</template>
</template>
</el-table-column>
</el-table>
<!-- 申请弹窗 -->
<div class="combottomDiv OPremarkDiv" v-if="changePriceMsg.outerVisible">
......
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