Преглед изворни кода

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

xz^2
su пре 2 недеља
родитељ
комит
03a1cd3e85

+ 20
- 0
src/views/optionalSystem/settlementManagement/refusalOfPaymentSlip/index.vue Прегледај датотеку

@@ -30,6 +30,11 @@
start-placeholder="开始日期" end-placeholder="结束日期" format="YYYY-MM-DD" @change="refundDateHandle2"
:clearable="false" />
</template>
<template #searchCustomButton>
<el-button type="warning" icon="Download" @click="download2" :disabled="disableds" class="btn">
导出拒付流水账单
</el-button>
</template>
<!-- <template #searchCustomButton>
<el-date-picker style="margin-left: 50px;" v-model="searchForm.accountDates" placeholder="请选择收入、成本月份"
type="month" format="YYYY年MM月" value-format="YYYY-MM" :clearable="false" />
@@ -317,6 +322,21 @@ function handleCurrentChange(val: number) {
field.value.paging.currentPage = val
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() {
const params = handleParams()

Loading…
Откажи
Сачувај