|
|
@@ -92,7 +92,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="qty"
|
|
|
- label="数量"
|
|
|
+ label="数量111"
|
|
|
fixed="right"
|
|
|
width="100">
|
|
|
<template slot-scope="scope">
|
|
|
@@ -120,6 +120,9 @@
|
|
|
<div v-else-if="scope.row.discountDifferenceAmount < 0 ">
|
|
|
<p><span :style="[setDownColor]">{{Math.round((scope.row.discountrate * 100) * 100)/100}}</span></p>
|
|
|
</div>
|
|
|
+ <div v-else>
|
|
|
+ <p><span >{{Math.round((scope.row.discountrate * 100) * 100)/100}}</span></p>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
@@ -143,6 +146,9 @@
|
|
|
<div v-else-if="(scope.row.discountDifferenceAmount < 0 )" >
|
|
|
<p><span :style="[setDownColor]">{{tool.formatAmount(scope.row.price,2)}}</span></p>
|
|
|
</div>
|
|
|
+ <div v-else>
|
|
|
+ <p><span >{{tool.formatAmount(scope.row.price,2)}}</span></p>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
@@ -160,7 +166,16 @@
|
|
|
fixed="right"
|
|
|
width="80">
|
|
|
<template slot-scope="scope">
|
|
|
- <span >{{scope.row.amount?tool.formatAmount(scope.row.amount,2):'--'}}</span>
|
|
|
+ <div v-if="(scope.row.discountDifferenceAmount > 0)">
|
|
|
+ <p><span :style="[setTopColor]">{{tool.formatAmount(scope.row.amount,2)}}</span></p>
|
|
|
+ </div>
|
|
|
+ <div v-else-if="(scope.row.discountDifferenceAmount < 0 )" >
|
|
|
+ <p><span :style="[setDownColor]">{{tool.formatAmount(scope.row.amount,2)}}</span></p>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <p><span >{{tool.formatAmount(scope.row.amount,2)}}</span></p>
|
|
|
+ </div>
|
|
|
+<!-- <span >{{scope.row.amount?tool.formatAmount(scope.row.amount,2):'--'}}</span>-->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
@@ -169,7 +184,7 @@
|
|
|
fixed="right"
|
|
|
width="100">
|
|
|
<template slot-scope="scope">
|
|
|
- <i class="el-icon-check" v-if="scope.row.specialoffer === 1" style="color: red;font-size: 20px"></i>
|
|
|
+ <i class="el-icon-check" v-if="scope.row.discountDifferenceAmount < 0" style="color: red;font-size: 20px"></i>
|
|
|
<p v-else>--</p>
|
|
|
</template>
|
|
|
</el-table-column>
|