-
zhangwei
2026-04-07 b7ae3f69ae6706a692284d2f12835d213debfb1a
src/pages/wallet/index.vue
@@ -20,7 +20,7 @@
            <view class="tool_wrap">
               <view class="tool_title chuany-flex chuany-justify-between">
                  <view class="title">
                     <text>工资明细</text>
                     <text>报酬明细</text>
                  </view>
                  <view class="chuany-flex title_right" @click="toIncome">
                     <text class="c-m-r-10">全部</text>
@@ -77,6 +77,8 @@
         //       }
         //    }
         // });
      },
      onShow(){
         this.PostMyTiXianDetailListPage()
      },
      computed:{
@@ -84,13 +86,13 @@
         
         balance() {
            if (this.identity == 'worker') {
               if (this.userInfo.userWorker) {
                  return this.$common.moneySub(this.userInfo.userWorker.tiXianZonge, this.userInfo
                     .userWorker
                     .yiTiXianJine)
               } else {
                  return '0.00'
               }
               // if (this.userInfo.userWorker) {
               //    return this.$common.moneySub(this.userInfo.userWorker.tiXianZonge, this.userInfo
               //       .userWorker
               //       .yiTiXianJine)
               // } else {
                  return this.userInfo.userWorker.balance
               // }
            } else {
               if (this.userInfo.userCompany) {
                  return this.userInfo.userCompany.chongZhiYue ? this.userInfo.userCompany