Browse Source

拒付流水页面,新增 自定义模版导出功能

xz^2
su 2 weeks ago
parent
commit
03a1cd3e85

+ 20
- 0
src/views/optionalSystem/settlementManagement/refusalOfPaymentSlip/index.vue View File

start-placeholder="开始日期" end-placeholder="结束日期" format="YYYY-MM-DD" @change="refundDateHandle2" start-placeholder="开始日期" end-placeholder="结束日期" format="YYYY-MM-DD" @change="refundDateHandle2"
:clearable="false" /> :clearable="false" />
</template> </template>
<template #searchCustomButton>
<el-button type="warning" icon="Download" @click="download2" :disabled="disableds" class="btn">
导出拒付流水账单
</el-button>
</template>
<!-- <template #searchCustomButton> <!-- <template #searchCustomButton>
<el-date-picker style="margin-left: 50px;" v-model="searchForm.accountDates" placeholder="请选择收入、成本月份" <el-date-picker style="margin-left: 50px;" v-model="searchForm.accountDates" placeholder="请选择收入、成本月份"
type="month" format="YYYY年MM月" value-format="YYYY-MM" :clearable="false" /> type="month" format="YYYY年MM月" value-format="YYYY-MM" :clearable="false" />
field.value.paging.currentPage = val field.value.paging.currentPage = val
getList() getList()
} }



function download2() {
const params = handleParams()
if(params.plateNum && params.plateColor){
params.vehicleId = params.plateNum +"_"+params.plateColor
}
disableds.value = true;
optionExportFn("IF01001202509041381", params, "拒付流水导出(自定义模版)", () => {
disableds.value = false;
});
}


// 导出 // 导出
function downloadHandle() { function downloadHandle() {
const params = handleParams() const params = handleParams()

Loading…
Cancel
Save