|
@@ -158,10 +158,12 @@
|
|
|
const handelDownload = async () => {
|
|
|
try {
|
|
|
setModalProps({ loading: true });
|
|
|
+ const values = getForm().getFieldsValue();
|
|
|
const postData = {
|
|
|
materialTaskId: taskDataInfo.value.id,
|
|
|
state: status.value,
|
|
|
};
|
|
|
+ Object.assign(postData, values);
|
|
|
const data = await postMaterialtaskDownloadFileExportQuery(postData);
|
|
|
downloadByData(
|
|
|
data.data,
|