shish 11 месяцев назад
Родитель
Сommit
a65dff60e9
1 измененных файлов с 13 добавлено и 13 удалено
  1. 13 13
      hdPad/src/pages/home/components/balanceChange.vue

+ 13 - 13
hdPad/src/pages/home/components/balanceChange.vue

@@ -1,16 +1,16 @@
 <template>
     <view class="balance-change">
         <view class="app-content">
-            <block v-if="!$util.isEmpty(list.data)">
-                <view class="table-header-container">
-                    <view class="table-header table-row">
-                        <view class="table-cell cell-date table-header-text">日期</view>
-                        <view class="table-cell cell-event table-header-text">事项</view>
-                        <view class="table-cell cell-staff table-header-text">操作</view>
-                        <view class="table-cell cell-amount table-header-text">变动</view>
-                        <view class="table-cell cell-balance table-header-text">余额</view>
-                    </view>
+            <view class="table-header-container">
+                <view class="table-header table-row">
+                    <view class="table-cell cell-date table-header-text">日期</view>
+                    <view class="table-cell cell-event table-header-text">事项</view>
+                    <view class="table-cell cell-staff table-header-text">操作</view>
+                    <view class="table-cell cell-amount table-header-text">变动</view>
+                    <view class="table-cell cell-balance table-header-text">余额</view>
                 </view>
+            </view>
+            <block v-if="!$util.isEmpty(list.data)">
                 <view class="balance-table">
                     <view v-for="(item, index) in list.data" :key="index" class="table-body">
                         <view class="table-row table-row-data" @click="goDetail(item)">
@@ -22,13 +22,13 @@
                         </view>
                         <view class="table-row table-row-extra" v-if="showExtraInfo(item)">
                             <view class="table-cell cell-extra" :colspan="5">
-                                <view v-if="Number(item.settleId)>0" @click.stop="goSettle(item)" class="extra-item">结账单 {{formatText(item.settleNo)}} {{item.settleAmount?parseFloat(item.settleAmount):0}}元</view>
+                                <view v-if="Number(item.settleId)>0" class="extra-item">结账单 {{formatText(item.settleNo)}} {{item.settleAmount?parseFloat(item.settleAmount):0}}元</view>
                                 
                                 <view v-if="Number(item.settleAmount)>0 && Number(item.becomeBalance)>0" class="extra-item">余额 {{item.becomeBalance}}元</view>
                                 
-                                <view v-if="Number(item.shOrderId)>0" @click.stop="goShPayOrder(item)" class="extra-item">售后单{{ formatText(item.shOrderSn) }}</view>
+                                <view v-if="Number(item.shOrderId)>0" class="extra-item">售后单{{ formatText(item.shOrderSn) }}</view>
 
-                                <view v-if="Number(item.refundOrderId)>0" @click.stop="goRefundOrder(item)" class="extra-item">订单 {{ formatText(item.refundOrderSn) }}</view>
+                                <view v-if="Number(item.refundOrderId)>0" class="extra-item">订单 {{ formatText(item.refundOrderSn) }}</view>
 
                                 <view v-if="!$util.isEmpty(item.remark)" class="extra-item">{{ formatText(item.remark) }}</view>
                             </view>
@@ -37,7 +37,7 @@
                 </view>
             </block>
             <block v-else>
-                <view class="empty-data">暂无数据</view>
+                <view class="balance-table">暂无数据</view>
             </block>
         </view>
     </view>