上传文件添加pdf

This commit is contained in:
xixi 2024-09-11 16:50:20 +08:00
parent 19dcb55b2c
commit e02b8f0be2
3 changed files with 16 additions and 8 deletions

View File

@ -96,6 +96,10 @@ export default function CorrectionModal(props: any) {
}
// 提交表单
const onFinish = (values: any) => {
dispath({
type: 'newCorrection',
val: true
})
// console.log('Form values:', values);
// console.log(refunArray);

View File

@ -100,6 +100,10 @@ export default function RefunModal(props: any) {
// 提交表单
const onFinish = (values: any) => {
// console.log('Form values:', values);
dispath({
type: 'newRefun',
val: true
})
post<any>({
messageApi,
url: `/api/proj/refund/apply/save`,

View File

@ -1307,10 +1307,10 @@ export default function Index() {
<Button type="primary" onClick={() => {
setRefunModal(true)
refunInit()
dispath({
type: 'newRefun',
val: true
})
// dispath({
// type: 'newRefun',
// val: true
// })
}}
style={{ background: '#FF9F08' }}
>
@ -1374,10 +1374,10 @@ export default function Index() {
<Button type="primary" onClick={() => {
setCorrectionModal(true)
correctionInit()
dispath({
type: 'newCorrection',
val: true
})
// dispath({
// type: 'newCorrection',
// val: true
// })
}}
style={{ background: '#FF9F08' }}
>