修复导出下载功能

This commit is contained in:
syruan 2025-12-17 17:05:25 +08:00
parent 5af866ce72
commit a6035fc746
2 changed files with 3 additions and 3 deletions

View File

@ -6,8 +6,8 @@ let objData;
let finalFormData = new FormData();
function setParams(obj) {
objParam = JSON.parse(obj);
$('#titleName').html(objParam.proName);;
$('#code').html(objParam.code);;
$('#titleName').html(objParam.proName);
$('#code').html(objParam.code);
layui.use(['form', 'layer', 'laydate', 'upload', 'table'], function () {
form = layui.form;
layer = layui.layer;

View File

@ -292,7 +292,7 @@ function exportExcel() {
'status': $('#status').val(),
'proId': objParam.proId
}
let url = dataUrl + "backstage/purchase/exportDetails";
let url = dataUrl + "backstage/dispatchCar/export2";
exportExcelUtil(url, '需求计划详情', JSON.stringify(params));
}