Commit 8c9fa734 by caoyanzhi

调整取值

parent 820d3b2d
......@@ -58,7 +58,9 @@ export default {
avgGoodsCost: 0,
highCost: 0,
costCategoryCount: 0,
avgDiscount: 0
avgDiscount: 0,
highCostPaid: 0,
costFeePaid: 0
},
orderType: -1,
evaluateStatus: -1,
......@@ -421,6 +423,8 @@ export default {
highCost: temp.highCost,
costCategoryCount: temp.costCategoryCount,
avgDiscount: temp.avgDiscount,
highCostPaid: temp.highCostPaid,
costFeePaid: temp.costFeePaid
}
}else {
checkFalse(res.data.message);
......
......@@ -6,7 +6,7 @@
<div class="record-navitem">
<!-- 跑数据的时候取反了 -->
<p class="lheigth40">消费总额</p>
<p class="meduimtxt">{{ memberInfo.costFeeReceivable | fomatFloat }}</p>
<p class="meduimtxt">{{ memberInfo.costFeePaid | fomatFloat }}</p>
</div>
<div class="record-navitem">
<p class="lheigth40">消费总额(应收)</p>
......@@ -38,7 +38,7 @@
</div>
<div class="record-navitem">
<p class="lheigth40">最高单笔(应收)</p>
<p class="meduimtx">{{ memberInfo.highCost | fomatFloat }}</p>
<p class="meduimtxt">{{ memberInfo.highCost | fomatFloat }}</p>
</div>
<div class="record-navitem">
<p class="lheigth40">消费品类</p>
......@@ -287,6 +287,8 @@ export default { ...posmemberDetail }
$bgcolor=#fbfcfd
$bordercolor=#e3e5e9
$posbg=#f5f5f9
.min-container
min-width: 1500px
.record
padding 20px 25px
height 100%
......
......@@ -155,7 +155,7 @@
<el-table-column
:fixed="item === 'name'"
:width="item == 'name' ? '150' : ''"
v-if="item == 'name' || item == 'highCost' || item == 'highCostPaid' || item == 'grade' || item == 'status' || item == 'channel' || item == 'frozenStatus' || item == 'costFeePaid' || item == 'lastCostPaid'"
v-if="item == 'name' || item == 'grade' || item == 'status' || item == 'channel' || item == 'frozenStatus'"
:prop="item"
:label="item | formatField"
>
......@@ -259,6 +259,17 @@
:class="scope.row.channelWei == 0 ? 'vipicongray' : scope.row.channelWei == 1 ? 'vipicon' : ''"
></span>
</span>
<div v-else-if="item == 'frozenStatus'">
<span
class="dm-status--success"
v-if="scope.row.frozenStatus == 0"
>正常</span>
<span
class="dm-status--warning"
v-if="scope.row.frozenStatus == 1"
>冻结</span>
</div>
<div v-else-if="item == 'crateCardDateString'">
<div>{{ scope.row.crateCardDateString | formatTimeYMD }}</div>
<div>{{ scope.row.crateCardDateString | formatTimeHMS }}</div>
......@@ -325,28 +336,9 @@
<span v-else-if="item == 'cardNo'">
{{ scope.row.cardNo }}
</span>
<span v-else-if="item == 'costFeePaid'">
{{ scope.row.costFeePaid }}
</span>
<span v-else-if="item == 'lastCostPaid'">
{{ scope.row.lastCostPaid }}
</span>
<span v-else-if="item == 'highCost'">
{{ scope.row.highCost }}
</span>
<span v-else-if="item == 'highCostPaid'">
{{ scope.row.highCostPaid }}
</span>
<div v-else-if="item == 'frozenStatus'">
<span
class="dm-status--success"
v-if="scope.row.frozenStatus == 0"
>正常</span>
<span
class="dm-status--warning"
v-if="scope.row.frozenStatus == 1"
>冻结</span>
</div>
</template>
</el-table-column>
......@@ -524,15 +516,18 @@
<span v-else-if="item == 'costFee'">
{{ scope.row.costFee }}
</span>
<span v-else-if="item == 'lastCostReceivable'">
{{ scope.row.lastCostReceivable }}
<span v-else-if="item == 'costFeePaid'">
{{ scope.row.costFeePaid }}
</span>
<span v-else-if="item == 'lastCostPaid'">
{{ scope.row.lastCostPaid }}
</span>
<span v-else-if="item == 'highCost'">
{{ scope.row.highCostReceivable }}
{{ scope.row.highCost }}
</span>
<span v-else-if="item == 'highCostPaid'">
{{ scope.row.highCostPaid }}
</span>
<span v-else-if="item == 'highCostReceivable'">
{{ scope.row.highCostReceivable }}
</span>
<div v-else-if="item == 'frozenStatus'">
<span
class="dm-status--success"
......
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