zhengyiming
4 天以前 796736ab48f23e50e1f95a939e54b5eba9729d7a
apps/bMiniApp/src/subpackages/payrollManage/payrollManage/InnerPage.vue
@@ -22,7 +22,7 @@
    ></ProTabPane>
  </ProTabs>
  <InfiniteLoading
    scrollViewClassName="common-infinite-scroll-list"
    scrollViewClassName="common-infinite-scroll-list payroll-manage-list"
    v-bind="infiniteLoadingProps"
    :key="queryState.paymentStatus"
  >
@@ -30,7 +30,7 @@
      <IncomeDetailListItem
        :title="item.code"
        :funds="item.settlementAmount"
        :item="dayjs(item.settlementTime).format('YYYY-MM-DD HH:mm:ss')"
        :item="item.settlementTime ? dayjs(item.settlementTime).format('YYYY-MM-DD HH:mm:ss') : ''"
        @click="openPassword(item)"
      >
      </IncomeDetailListItem>
@@ -40,7 +40,8 @@
    v-model="form.password"
    v-model:visible="form.passwordVisible"
    @focus="form.showKeyboard = true"
    tips="请输入操作密码"
    @close="form.showKeyboard = false"
    tips="请输入6位操作密码"
    desc="明细需输入操作密码才能查看"
    :length="6"
    @complete="complete"
@@ -50,6 +51,7 @@
    v-model="form.password"
    v-model:visible="form.showKeyboard"
    @blur="form.showKeyboard = false"
    :custom-key="['']"
  >
  </nut-number-keyboard>
</template>
@@ -109,6 +111,7 @@
function openPassword(item: API.GetSettlementTasksQueryResultItem) {
  form.passwordVisible = true;
  form.showKeyboard = true;
  form.id = item.id;
}
@@ -128,6 +131,9 @@
    }
  } catch (error) {
    form.showKeyboard = false;
  } finally {
    form.password = '';
    form.showKeyboard = false;
  }
}
@@ -140,4 +146,17 @@
<style lang="scss">
@import '@/styles/common.scss';
.payrollManage-page-wrapper {
  .payroll-manage-list {
    .income-detail-list-item-inner {
      display: flex;
      flex-direction: column;
      background: #ffffff;
      border-radius: 12px;
      padding: 40px;
      margin-bottom: 24px;
    }
  }
}
</style>