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
黄庭坚
jinfa-platform
Commits
d2f58f38
Commit
d2f58f38
authored
Sep 27, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
转换类型
parent
235c459c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
index.tsx
...ges/transaction/stockSellStorage/bills/addBills/index.tsx
+6
-4
No files found.
src/pages/transaction/stockSellStorage/bills/addBills/index.tsx
View file @
d2f58f38
...
...
@@ -47,7 +47,7 @@ const AddBills: React.FC<{}> = (props: any) => {
pageStatus
,
preview
,
id
,
invoicesTypeId
,
// 单据类型
编码
invoicesTypeId
,
// 单据类型
ID
relevanceInvoices
,
// 对应单据
relevanceInvoicesId
,
// 单据id,可能是待新增销售发货单,待新增采购入库单跳转过来的
}
=
usePageStatus
();
...
...
@@ -186,7 +186,9 @@ const AddBills: React.FC<{}> = (props: any) => {
return
;
}
switch
(
invoicesTypeId
)
{
const
intInvoicesTypeId
=
+
invoicesTypeId
;
switch
(
intInvoicesTypeId
)
{
// 采购入库单
case
DOC_TYPE_PURCHASE_RECEIPT
:
{
setInfoLoading
(
true
);
...
...
@@ -216,7 +218,7 @@ const AddBills: React.FC<{}> = (props: any) => {
}
);
setBillInfo
({
invoicesTypeId
,
invoicesTypeId
:
intInvoicesTypeId
,
relevanceInvoices
:
+
relevanceInvoices
,
orderNo
:
relevanceInvoicesId
?
...
...
@@ -271,7 +273,7 @@ const AddBills: React.FC<{}> = (props: any) => {
}
);
setBillInfo
({
invoicesTypeId
,
invoicesTypeId
:
intInvoicesTypeId
,
relevanceInvoices
:
+
relevanceInvoices
,
orderNo
:
relevanceInvoicesId
?
...
...
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