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
14796604
Commit
14796604
authored
Feb 02, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复根据单据编号查看详情的问题
parent
8b3fd9cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
addBills.tsx
src/pages/transaction/stockSellStorage/bills/addBills.tsx
+1
-0
index.tsx
...ion/stockSellStorage/bills/components/BillsForm/index.tsx
+3
-3
No files found.
src/pages/transaction/stockSellStorage/bills/addBills.tsx
View file @
14796604
...
...
@@ -16,6 +16,7 @@ const AddBills: React.FC = () => {
relevanceInvoices=
{
relevanceInvoices
}
relevanceInvoicesId=
{
relevanceInvoicesId
}
source=
{
+
source
as
(
1
|
2
)
}
isEdit
/>
);
};
...
...
src/pages/transaction/stockSellStorage/bills/components/BillsForm/index.tsx
View file @
14796604
...
...
@@ -1825,14 +1825,14 @@ const BillsForm: React.FC<BillsFormProps> = ({
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
description=
"返回"
/>
}
title=
{
!
id
?
!
id
&&
isEdit
?
'新建单据'
:
isEdit
?
'编辑单据'
:
'查看单据'
}
extra=
{
(
isEdit
||
!
id
)
(
isEdit
)
?
[
<
Button
key=
"1"
...
...
@@ -1859,7 +1859,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
RadioGroup
:
Radio
.
Group
,
ArrayTable
,
}
}
editable=
{
isEdit
||
!
id
}
editable=
{
isEdit
}
effects=
{
(
$
,
actions
)
=>
{
createEffects
(
$
,
actions
)
onFormInputChange$
().
subscribe
(()
=>
{
...
...
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