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
linweijiong
jinfa-platform
Commits
24a3f573
Commit
24a3f573
authored
Aug 25, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 完善代码
parent
d3657e68
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
13 deletions
+20
-13
index.tsx
...pplication/returnPrSubmit/components/ReturnForm/index.tsx
+7
-7
index.ts
...tion/returnPrSubmit/components/ReturnForm/schema/index.ts
+5
-5
editReturn.tsx
...erService/returnApplication/returnPrSubmit/editReturn.tsx
+8
-1
No files found.
src/pages/afterService/returnApplication/returnPrSubmit/components/ReturnForm/index.tsx
View file @
24a3f573
...
...
@@ -455,18 +455,18 @@ const ReturnForm: React.FC<BillsFormProps> = ({
);
setDetailInfo
({
applyTime
:
moment
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
applyTime
:
moment
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
supplierMember
:
vendorMemberName
?
vendorMemberName
?
[
{
name
:
vendorMemberName
,
memberId
:
vendorMemberId
,
roleId
:
vendorRoleId
,
},
name
:
vendorMemberName
,
memberId
:
vendorMemberId
,
roleId
:
vendorRoleId
,
},
]
:
[]
,
,
orderNo
,
orderType
:
+
outerOrderType
,
});
...
...
src/pages/afterService/returnApplication/returnPrSubmit/components/ReturnForm/schema/index.ts
View file @
24a3f573
...
...
@@ -295,11 +295,6 @@ export const addSchema = (orderType: number): ISchema => {
title
:
'单位'
,
'x-component'
:
'Text'
,
},
purchaseCount
:
{
type
:
'string'
,
title
:
'采购数量'
,
'x-component'
:
'Text'
,
},
})
:
({
orderNo
:
{
...
...
@@ -339,6 +334,11 @@ export const addSchema = (orderType: number): ISchema => {
},
})
),
purchaseCount
:
{
type
:
'string'
,
title
:
'采购数量'
,
'x-component'
:
'Text'
,
},
purchasePrice
:
{
type
:
'string'
,
title
:
'采购单价'
,
...
...
src/pages/afterService/returnApplication/returnPrSubmit/editReturn.tsx
View file @
24a3f573
/*
* @Author: XieZhiXiong
* @Date: 2021-01-06 11:36:34
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-25 10:55:26
* @Description:
*/
import
React
from
'react'
;
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
import
ReturnForm
from
'./components/ReturnForm'
;
const
EditReturn
:
React
.
FC
=
()
=>
{
const
{
id
,
creditId
}
=
usePageStatus
();
const
{
id
}
=
usePageStatus
();
return
(
<
ReturnForm
id=
{
id
}
isEdit
/>
...
...
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