Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
98c63cbf
Commit
98c63cbf
authored
Jan 14, 2022
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: [19715]
parent
9d464925
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
invoiceDrawerInfo.tsx
...es/balance/components/InvoiceCreate/invoiceDrawerInfo.tsx
+12
-8
No files found.
src/pages/balance/components/InvoiceCreate/invoiceDrawerInfo.tsx
View file @
98c63cbf
...
...
@@ -40,7 +40,7 @@ const InvoiceDrawerInfo: React.FC<Iprops> = (props: Iprops) => {
}
const
renderFooter
=
()
=>
{
return
(
return
disabled
?
null
:
(
<
div
style=
{
{
textAlign
:
'right'
}
}
>
<
Button
onClick=
{
handleCancel
}
style=
{
{
marginRight
:
8
}
}
>
{
intl
.
formatMessage
({
id
:
'balance.components.invoiceCreate.invoiceDrawer.renderFooter.button.1'
})
}
...
...
@@ -73,7 +73,7 @@ const InvoiceDrawerInfo: React.FC<Iprops> = (props: Iprops) => {
<
Drawer
visible=
{
visible
}
width=
{
820
}
title=
{
intl
.
formatMessage
({
id
:
'balance.kaijufapiao'
})
}
title=
{
disabled
?
'查看发票'
:
intl
.
formatMessage
({
id
:
'balance.kaijufapiao'
})
}
onClose=
{
handleCancel
}
footer=
{
renderFooter
()
}
>
...
...
@@ -82,7 +82,7 @@ const InvoiceDrawerInfo: React.FC<Iprops> = (props: Iprops) => {
onSubmit=
{
handleSubmit
}
components=
{
{
ArrayCustom
:
ArrayList
,
Input
:
Input
,
DatePicker
,
InvoiceInfo
}
}
actions=
{
formActions
}
// editable={mode === 'edit'
}
editable=
{
disabled
}
>
{
invoiceInfoData
?.
map
((
_item
,
key
)
=>
{
...
...
@@ -105,15 +105,19 @@ const InvoiceDrawerInfo: React.FC<Iprops> = (props: Iprops) => {
header
:
(
<
div
className=
{
styles
.
header
}
>
<
div
className=
{
styles
[
'header-item'
]
}
>
{
intl
.
formatMessage
({
id
:
'balance.fapiaoguanli'
})
}
<
span
className=
{
styles
.
required
}
>
*
</
span
>
{
disabled
?
'原订单发票号码'
:
<>
{
intl
.
formatMessage
({
id
:
'balance.fapiaoguanli'
})
}
<
span
className=
{
styles
.
required
}
>
*
</
span
>
</>
}
</
div
>
<
div
className=
{
styles
[
'header-item'
]
}
>
{
intl
.
formatMessage
({
id
:
'balance.kaipiaoriqi'
})
}
<
span
className=
{
styles
.
required
}
>
*
</
span
>
{
disabled
?
'原订单开票日期'
:
<>
{
intl
.
formatMessage
({
id
:
'balance.kaipiaoriqi'
})
}
<
span
className=
{
styles
.
required
}
>
*
</
span
>
</>
}
</
div
>
<
div
className=
{
styles
[
'header-item'
]
}
>
{
intl
.
formatMessage
({
id
:
'balance.kaipiaojineyuan'
})
}
<
span
className=
{
styles
.
required
}
>
*
</
span
>
{
disabled
?
'原订单开票金额'
:
<>
{
intl
.
formatMessage
({
id
:
'balance.kaipiaojineyuan'
})
}
<
span
className=
{
styles
.
required
}
>
*
</
span
>
</>
}
</
div
>
<
div
className=
{
styles
[
'header-item'
]
}
>
{
intl
.
formatMessage
({
id
:
'balance.beizhu'
})
}
</
div
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment