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
49bd3c0f
Commit
49bd3c0f
authored
Dec 01, 2020
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改需求发布新增列表
parent
822b6219
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
82 additions
and
170 deletions
+82
-170
demandPosts.ts
config/routes/tranactionRoute/demandPosts.ts
+2
-16
addGoods.tsx
...tion/enquirySubmit/addDemandOrder/components/addGoods.tsx
+1
-3
index.tsx
src/pages/transaction/enquirySubmit/addDemandOrder/index.tsx
+79
-151
baseForm.tsx
src/pages/transaction/enquirySubmit/toAddSubmit/baseForm.tsx
+0
-0
detail.tsx
src/pages/transaction/enquirySubmit/toAddSubmit/detail.tsx
+0
-0
No files found.
config/routes/tranactionRoute/demandPosts.ts
View file @
49bd3c0f
...
...
@@ -23,16 +23,9 @@ export default [
},
// 待新建需求单 - 列表
{
path
:
'/memberCenter/tranactionAbility/enquirySubmit/
toAddSubmitList
'
,
path
:
'/memberCenter/tranactionAbility/enquirySubmit/
addDemandOrder
'
,
name
:
'toAddSubmitList'
,
component
:
'@/pages/transaction/enquirySubmit/toAddSubmit'
},
// 待新增需求单-新增
{
path
:
'/memberCenter/tranactionAbility/enquirySubmit/toAddSubmitList/add'
,
name
:
'addEnquiry'
,
component
:
'@/pages/transaction/enquirySubmit/toAddSubmit/detail'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/enquirySubmit/addDemandOrder'
},
// 待新增需求单-新增
{
...
...
@@ -48,13 +41,6 @@ export default [
component
:
'@/pages/transaction/enquirySubmit/addDemandOrder/addForm'
,
hideInMenu
:
true
,
},
// 待新增需求单-编辑
{
path
:
'/memberCenter/tranactionAbility/enquirySubmit/toAddSubmitList/edit'
,
name
:
'editEnquiry'
,
component
:
'@/pages/transaction/enquirySubmit/toAddSubmit/detail'
,
hideInMenu
:
true
,
},
// 待新建需求单 - 查看需求单号
{
path
:
'/memberCenter/tranactionAbility/enquirySubmit/toAddSubmitList/preview'
,
...
...
src/pages/transaction/enquirySubmit/addDemandOrder/components/addGoods.tsx
View file @
49bd3c0f
...
...
@@ -15,11 +15,10 @@ const layout: any = {
};
export
interface
faceSetData
{
set
?:
any
,
get
?:
Function
,
currentRef
:
any
}
const
AddGoods
:
React
.
FC
<
faceSetData
>
=
(
props
)
=>
{
const
{
set
,
get
,
currentRef
}
=
props
const
{
set
,
currentRef
}
=
props
const
[
form
]
=
Form
.
useForm
();
const
[
type
,
setType
]
=
useState
<
number
>
(
0
);
const
btnname
:
Array
<
string
>
=
[
'添加商品'
,
'选择货品'
,
'导入货品'
]
...
...
@@ -105,7 +104,6 @@ const AddGoods: React.FC<faceSetData> = (props) => {
settabledata
([...
newdata
]);
setidx
(
-
1
);
}
get
([...
tabledata
,
data
])
handleModal
(
type
);
}
/** 编辑商品 */
...
...
src/pages/transaction/enquirySubmit/
toAddSubmit
/index.tsx
→
src/pages/transaction/enquirySubmit/
addDemandOrder
/index.tsx
View file @
49bd3c0f
This diff is collapsed.
Click to expand it.
src/pages/transaction/enquirySubmit/toAddSubmit/baseForm.tsx
deleted
100644 → 0
View file @
822b6219
src/pages/transaction/enquirySubmit/toAddSubmit/detail.tsx
deleted
100644 → 0
View file @
822b6219
This diff is collapsed.
Click to expand it.
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