chenrui 4 anos atrás
pai
commit
d0d4b54cd4

+ 2 - 2
src/views/FinancialManagement/PaySettlementRecords.vue

@@ -29,7 +29,7 @@
     </div>
     <!-- 合计 -->
     <a-alert type="info" showIcon style="margin-bottom:15px">
-      <div class="ftext" slot="message">共<span>{{ orderTotal }}</span>单,实收<span>¥{{ amount || 0 }}</span>元</div>
+      <div class="ftext" slot="message">共<span>{{ orderTotal || 0 }}</span>单,实收<span>¥{{ amountTotal || 0 }}</span>元</div>
     </a-alert>
     <!-- 列表 -->
     <div>
@@ -209,7 +209,7 @@ export default {
       settlementRecordsListTotal(params).then(res => {
         if (res.status == 200) {
           if (res.data) {
-            this.orderTotal = res.data.orderNum || 0
+            this.orderTotal = res.data.cnt || 0
             this.amountTotal = res.data.amount || 0
           } else {
             this.orderTotal = 0

+ 2 - 2
src/views/Service/PurchasedServiceList.vue

@@ -70,7 +70,7 @@
     </div>
     <!-- 合计 -->
     <a-alert type="info" showIcon style="margin-bottom:15px">
-      <div class="ftext" slot="message">共<span>{{ orderTotal || 0 }}</span>单,收款金额<span>¥{{ payedAmount || 0 }}</span>元</div>
+      <div class="ftext" slot="message">共<span>{{ orderTotal || 0 }}</span>单,收款金额<span>¥{{ totalAmounts || 0 }}</span>元</div>
     </a-alert>
     <div class="card-container">
       <s-table
@@ -301,7 +301,7 @@ export default {
         if (res.status == 200) {
           if (res.data) {
             this.orderTotal = res.data.cnt || 0
-            this.totalAmounts = res.data.totalAmounts || 0
+            this.totalAmounts = res.data.payedAmount || 0
           } else {
             this.orderTotal = 0
             this.totalAmounts = 0

+ 3 - 3
src/views/SetmealSales/PurchasedSetmeal.vue

@@ -74,8 +74,8 @@
     <!-- 合计 -->
     <div class="total">
       <a-icon type="info-circle" class="iconImg" />
-      <strong>总计:</strong><span v-model="orderTotal">{{ orderTotal || 0 }} 单</span>
-      <strong style="margin-left: 15px;">收款金额:</strong><span v-model="payedAmount">{{ payedAmount || 0 }} 元</span>
+      <strong>总计:</strong><span>{{ orderTotal || 0 }} 单</span>
+      <strong style="margin-left: 15px;">收款金额:</strong><span>{{ totalAmounts || 0 }} 元</span>
     </div>
     <!-- 列表 -->
     <s-table
@@ -216,7 +216,7 @@ export default {
         if (res.status == 200) {
           if (res.data) {
             this.orderTotal = res.data.cnt || 0
-            this.totalAmounts = res.data.totalAmounts || 0
+            this.totalAmounts = res.data.payedAmount || 0
           } else {
             this.orderTotal = 0
             this.totalAmounts = 0