zhengyiming
5 天以前 223cd226f064fb549c8529e6c091be07d38cb394
apps/bMiniApp/src/subpackages/payrollManage/payrollManageDetail/InnerPage.vue
@@ -60,10 +60,16 @@
          :isReal="item.isReal"
          :totalWorkHours="item.totalWorkHours"
          :settlementAmount="item.settlementAmount"
        />
        >
          <template #actions v-if="form.auditStatus === EnumTaskSettlementAuditStatus.Wait">
            <div class="payroll-manage-detail-card-actions">
              <nut-button type="primary" plain @click="goPayrollChange(item)">修改</nut-button>
            </div>
          </template>
        </PayrollManageDetailCard>
      </template>
    </InfiniteLoading>
    <PageFooter v-if="form.">
    <PageFooter v-if="form.auditStatus === EnumTaskSettlementAuditStatus.Wait">
      <PageFooterBtn type="primary" @click="auditTaskSettlement(EnumTaskSettlementAuditStatus.Pass)"
        >审核通过</PageFooterBtn
      >
@@ -183,6 +189,17 @@
    }
  } catch (error) {}
}
function goPayrollChange(item: API.GetSettlementTaskUsersQueryResultItem) {
  Taro.navigateTo({
    url: `${RouterPath.payrollChange}?orderRosterId=${item.id}&settleId=${id}&operatorToken=${operatorToken}`,
    events: {
      update: function () {
        refetch();
      },
    },
  });
}
</script>
<style lang="scss">
@@ -218,5 +235,11 @@
      }
    }
  }
  .payroll-manage-detail-card-actions {
    --nut-button-default-height: 24px;
    text-align: right;
  }
}
</style>