shish 11 luni în urmă
părinte
comite
bb8534cbf4
1 a modificat fișierele cu 3 adăugiri și 35 ștergeri
  1. 3 35
      hdPad/src/pages/home/components/balanceChange.vue

+ 3 - 35
hdPad/src/pages/home/components/balanceChange.vue

@@ -1,38 +1,15 @@
 <template>
     <view class="balance-change">
         <view class="app-content">
-            <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)">
                             <view class="table-cell cell-date">{{ formatDate(item.addTime) }}</view>
                             <view class="table-cell cell-event">{{ formatText(item.event) }}</view>
-                            <view class="table-cell cell-staff">{{ formatText(item.staffName) }}</view>
                             <view class="table-cell cell-amount">{{ item.amount }}</view>
                             <view class="table-cell cell-balance">{{ parseFloat(item.balance) }}</view>
                         </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" 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" class="extra-item">售后单{{ formatText(item.shOrderSn) }}</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>
-                        </view>
                     </view>
                 </view>
             </block>
@@ -255,24 +232,15 @@ export default {
         white-space: nowrap;
         overflow: hidden;
         text-overflow: ellipsis;
-        
-        &.table-header-text {
-            font-size: 8upx;
-        }
-        
+       
         &.cell-date {
             text-align: center;
-            flex: 0.9;
-        }
-        
-        &.cell-staff {
-            text-align: center;
-            flex: 0.6;
+            flex: 1;
         }
         
         &.cell-event {
             text-align: left;
-            flex: 1.5;
+            flex: 2.2;
         }
         
         &.cell-amount {