Commit 8715a97d authored by youjie's avatar youjie

单项产品计算毛利

parent 37b0c44f
...@@ -458,7 +458,7 @@ ...@@ -458,7 +458,7 @@
style="background:#EAEAEA" style="background:#EAEAEA"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.HotelMoeny.toFixed(2) }} <span class="fz15 fbold">{{ scope.row.HotelMoeny.toFixed(2) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -476,7 +476,7 @@ ...@@ -476,7 +476,7 @@
style="background:#EAEAEA" style="background:#EAEAEA"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ item.HandFittingFee ? item.HandFittingFee : "-" }} <span class="fz15 fbold">{{ item.HandFittingFee ? item.HandFittingFee : "-" }}</span>
</template> </template>
</el-table-column> </el-table-column>
<template slot="append" v-if="item.Remark||item.isMore"> <template slot="append" v-if="item.Remark||item.isMore">
...@@ -488,40 +488,45 @@ ...@@ -488,40 +488,45 @@
<el-table :data="item.list" style="width:100%" border v-if="item.OrderStatus!=3"> <el-table :data="item.list" style="width:100%" border v-if="item.OrderStatus!=3">
<el-table-column label="实收" min-width="100"> <el-table-column label="实收" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.Income ? scope.row.Income : "-" }}</span> <span class="fz15 fbold">{{ scope.row.Income ? scope.row.Income : "-" }}</span>
</template> </template>
</el-table-column> </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>{{ scope.row.CostMoney ? scope.row.CostMoney : "-" }}</span> <span class="fz15 fbold">{{ scope.row.CostMoney ? scope.row.CostMoney : "-" }}</span>
</template> </template>
</el-table-column> </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>{{ <span class="fz15 fbold">{{
scope.row.PlatformTax ? scope.row.PlatformTax : "-" scope.row.PlatformTax ? scope.row.PlatformTax : "-"
}}</span> }}</span>
</template> </template>
</el-table-column> </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>{{ 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 label="手配费应收" min-width="100"> <el-table-column label="手配费应收" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ <span class="fz15 fbold">{{
scope.row.HandFittingIncome ? scope.row.HandFittingIncome : "-" scope.row.HandFittingIncome ? scope.row.HandFittingIncome : "-"
}}</span> }}</span>
</template> </template>
</el-table-column> </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>{{ <span class="fz15 fbold">{{
scope.row.HandFittingTax ? scope.row.HandFittingTax : "-" scope.row.HandFittingTax ? scope.row.HandFittingTax : "-"
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="毛利" min-width="100">
<template slot-scope="scope">
<span class="fz15 fbold">{{ scope.row.Income-scope.row.CostMoney-scope.row.Refund>0?scope.row.Income-scope.row.CostMoney-scope.row.Refund:'-' }}</span>
</template>
</el-table-column>
</el-table> </el-table>
<div class="row justify-sb mt mb20" v-if="item.OrderStatus!=3"> <div class="row justify-sb mt mb20" v-if="item.OrderStatus!=3">
<div class="row pt20" style="margin-right: 10px;" v-if="item.GuestFileList.length > 0||((item.CustomerPayType==1 || item.CustomerPayType==3)&&pagesTitle)"> <div class="row pt20" style="margin-right: 10px;" v-if="item.GuestFileList.length > 0||((item.CustomerPayType==1 || item.CustomerPayType==3)&&pagesTitle)">
......
...@@ -535,7 +535,7 @@ ...@@ -535,7 +535,7 @@
style="background:#EAEAEA" style="background:#EAEAEA"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.Money.toFixed(2) }} <span class="fz15 fbold">{{ scope.row.Money.toFixed(2) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<template slot="append" v-if="item.Remark"> <template slot="append" v-if="item.Remark">
...@@ -546,19 +546,29 @@ ...@@ -546,19 +546,29 @@
<el-table :data="[item]" style="width:100%" border v-if="item.OrderStatus!=3"> <el-table :data="[item]" style="width:100%" border v-if="item.OrderStatus!=3">
<el-table-column label="实收" min-width="100"> <el-table-column label="实收" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.Income ? scope.row.Income : "-" }}</span> <span class="fz15 fbold">{{ scope.row.Income ? scope.row.Income : "-" }}</span>
</template>
</el-table-column>
<el-table-column label="成本" min-width="100">
<template slot-scope="scope">
<span class="fz15 fbold">{{ scope.row.CostMoney ? scope.row.CostMoney : "-" }}</span>
</template> </template>
</el-table-column> </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>{{ <span class="fz15 fbold">{{
scope.row.PlatformTax ? scope.row.PlatformTax : "-" scope.row.PlatformTax ? scope.row.PlatformTax : "-"
}}</span> }}</span>
</template> </template>
</el-table-column> </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>{{ scope.row.Refund ? scope.row.Refund : "-" }}</span> <span class="fz15 fbold">{{ scope.row.Refund ? scope.row.Refund : "-" }}</span>
</template>
</el-table-column>
<el-table-column label="毛利" min-width="100">
<template slot-scope="scope">
<span class="fz15 fbold">{{ scope.row.Income-scope.row.CostMoney-scope.row.Refund>0?scope.row.Income-scope.row.CostMoney-scope.row.Refund:'-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
...@@ -489,7 +489,7 @@ ...@@ -489,7 +489,7 @@
style="background:#EAEAEA" style="background:#EAEAEA"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ item.Money?item.Money.toFixed(2):0.00 }} <span class="fz15 fbold">{{ item.Money?item.Money.toFixed(2):0.00 }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -498,7 +498,7 @@ ...@@ -498,7 +498,7 @@
style="background:#EAEAEA" style="background:#EAEAEA"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ item.ShouPeiFee }} <span class="fz15 fbold">{{ item.ShouPeiFee }}</span>
</template> </template>
</el-table-column> </el-table-column>
<template slot="append" v-if="item.CreateRemark||item.Remark"> <template slot="append" v-if="item.CreateRemark||item.Remark">
...@@ -514,19 +514,29 @@ ...@@ -514,19 +514,29 @@
<el-table :data="[item]" style="width:100%" border v-if="item.OfferState!=3"> <el-table :data="[item]" style="width:100%" border v-if="item.OfferState!=3">
<el-table-column label="实收" min-width="100"> <el-table-column label="实收" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.Income ? scope.row.Income : "-" }}</span> <span class="fz15 fbold">{{ scope.row.Income ? scope.row.Income : "-" }}</span>
</template>
</el-table-column>
<el-table-column label="成本" min-width="100">
<template slot-scope="scope">
<span class="fz15 fbold">{{ scope.row.CostMoney ? scope.row.CostMoney : "-" }}</span>
</template> </template>
</el-table-column> </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>{{ <span class="fz15 fbold">{{
scope.row.PlatformTax ? scope.row.PlatformTax : "-" scope.row.PlatformTax ? scope.row.PlatformTax : "-"
}}</span> }}</span>
</template> </template>
</el-table-column> </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>{{ scope.row.Refund ? scope.row.Refund : "-" }}</span> <span class="fz15 fbold">{{ scope.row.Refund ? scope.row.Refund : "-" }}</span>
</template>
</el-table-column>
<el-table-column label="毛利" min-width="100">
<template slot-scope="scope">
<span class="fz15 fbold">{{ scope.row.Income-scope.row.CostMoney-scope.row.Refund>0?scope.row.Income-scope.row.CostMoney-scope.row.Refund:'-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
...@@ -576,7 +576,7 @@ ...@@ -576,7 +576,7 @@
</el-table-column> </el-table-column>
<el-table-column label="小计" min-width="70" style="background:#EAEAEA"> <el-table-column label="小计" min-width="70" style="background:#EAEAEA">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.Money.toFixed(2) }} <span class="fz15 fbold">{{ scope.row.Money.toFixed(2) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<template slot="append" v-if="item.Remark"> <template slot="append" v-if="item.Remark">
...@@ -588,24 +588,29 @@ ...@@ -588,24 +588,29 @@
<el-table :data="item.list" style="width:100%" border v-if="item.OrderStatus!=3"> <el-table :data="item.list" style="width:100%" border v-if="item.OrderStatus!=3">
<el-table-column label="实收" min-width="100"> <el-table-column label="实收" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.Income ? scope.row.Income : "-" }}</span> <span class="fz15 fbold">{{ scope.row.Income ? scope.row.Income : "-" }}</span>
</template> </template>
</el-table-column> </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>{{ scope.row.CostMoney ? scope.row.CostMoney : "-" }}</span> <span class="fz15 fbold">{{ scope.row.CostMoney ? scope.row.CostMoney : "-" }}</span>
</template> </template>
</el-table-column> </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>{{ <span class="fz15 fbold">{{
scope.row.PlatformTax ? scope.row.PlatformTax : "-" scope.row.PlatformTax ? scope.row.PlatformTax : "-"
}}</span> }}</span>
</template> </template>
</el-table-column> </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>{{ scope.row.Refund ? scope.row.Refund : "-" }}</span> <span class="fz15 fbold">{{ scope.row.Refund ? scope.row.Refund : "-" }}</span>
</template>
</el-table-column>
<el-table-column label="毛利" min-width="100">
<template slot-scope="scope">
<span class="fz15 fbold">{{ scope.row.Income-scope.row.CostMoney-scope.row.Refund>0?scope.row.Income-scope.row.CostMoney-scope.row.Refund:'-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
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