shish hace 2 años
padre
commit
7602491805
Se han modificado 1 ficheros con 7 adiciones y 4 borrados
  1. 7 4
      ghsApp/src/pagesOrder/refundAllList.vue

+ 7 - 4
ghsApp/src/pagesOrder/refundAllList.vue

@@ -1,10 +1,11 @@
 <template>
   <view class="app-content">
-      <view style="padding:20upx 0 25upx 40upx;font-size:27upx;">
+      <view style="padding:20upx 0 25upx 20upx;font-size:26upx;">
         <text @click="changeStatus()">{{ status == -1 ? '选类型' : status == 0 ? '处理中' : status == 1 ? '已通过' : status == 2 ? '已驳回' : '已取消' }}</text>
-        <text style="margin-left:40upx;" @click="changeClass()">选分类</text>
-        <text style="margin-left:40upx;" @click="changeCause()">{{ cause == -1 ? '选择原因' : cause == 0 ? '质量问题' : '多开错开' }}</text>
-        <text style="margin-left:40upx;">总金额:¥{{ totalAmount }}</text>
+        <text style="margin-left:20upx;" @click="changeClass()">选分类</text>
+        <text style="margin-left:20upx;" @click="changeCause()">{{ cause == -1 ? '选择原因' : cause == 0 ? '质量问题' : '多开错开' }}</text>
+        <text style="margin-left:20upx;">总金额 ¥{{ totalAmount }}</text>
+        <text style="margin-left:20upx;">总成本 ¥{{ totalCost }}</text>
       </view>
       <view style="margin-left:50upx;margin-bottom:26upx;"><DateSelect class="bar" top="0" @selectDateFn="selectDateFn" /></view>
 			<block v-if="!$util.isEmpty(list.data)">
@@ -60,6 +61,7 @@ export default {
       status:-1,
       cause:-1,
       totalAmount:0,
+      totalCost:0,
       searchTime:'',
       startTime:'',
       endTime:''
@@ -188,6 +190,7 @@ export default {
       }).then((res) => {
         this.completes(res)
         this.totalAmount = res.data.totalAmount ? parseFloat(res.data.totalAmount) : 0
+        this.totalCost = res.data.totalCost ? parseFloat(res.data.totalCost) : 0
         if (this.$util.isEmpty(res.data)){
           return false
         }