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
98bca932
Commit
98bca932
authored
Sep 17, 2020
by
LeeJiancong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改文案,新增报价一二级页面'
parent
13f89887
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
49 additions
and
14 deletions
+49
-14
tranactionRoute.ts
config/routes/tranactionRoute.ts
+15
-2
menu.ts
src/locales/zh-CN/menu.ts
+6
-4
index.tsx
src/pages/transaction/enquiryOffer/components/index.tsx
+4
-4
index.tsx
src/pages/transaction/enquiryOffer/enquiryOne/index.tsx
+9
-0
index.tsx
src/pages/transaction/enquiryOffer/enquiryTwo/index.tsx
+9
-0
detail.tsx
src/pages/transaction/enquiryOffer/toAddSubmit/detail.tsx
+2
-2
index.tsx
src/pages/transaction/enquirySubmit/enquiryOne/index.tsx
+2
-1
index.tsx
src/pages/transaction/enquirySubmit/enquiryTwo/index.tsx
+2
-1
No files found.
config/routes/tranactionRoute.ts
View file @
98bca932
...
...
@@ -3,7 +3,7 @@
* @Date: 2020-07-31 19:56:22
* @LastEditors: LeeJiancong
* @Copyright: 1549414730@qq.com
* @LastEditTime: 2020-09-1
5 17:18:01
* @LastEditTime: 2020-09-1
7 10:58:52
*/
const
TranactionRoute
=
{
...
...
@@ -141,13 +141,26 @@ const TranactionRoute = {
name
:
'toAddSubmitList'
,
component
:
'@/pages/transaction/enquiryOffer/toAddSubmit'
},
//新增
//新增
编辑详情
{
path
:
'/memberCenter/tranactionAbility/enquiryOffer/addEnquiry'
,
name
:
'addEnquiry'
,
component
:
'@/pages/transaction/enquiryOffer/toAddSubmit/detail'
,
hideInMenu
:
true
,
},
//报价一级
{
path
:
'/memberCenter/tranactionAbility/enquiryOffer/enquiryOne'
,
name
:
'enquiryOne'
,
component
:
'@/pages/transaction/enquiryOffer/enquiryOne'
},
//报价二级
{
path
:
'/memberCenter/tranactionAbility/enquiryOffer/enquiryTwo'
,
name
:
'enquiryTwo'
,
component
:
'@/pages/transaction/enquiryOffer/enquiryTwo'
},
]
},
...
...
src/locales/zh-CN/menu.ts
View file @
98bca932
/*
* @Author: LeeJiancong
* @Date: 2020-07-13 14:08:50
* @LastEditors:
XieZhiXi
ong
* @LastEditTime: 2020-09-1
5 11:48:29
* @LastEditors:
LeeJianc
ong
* @LastEditTime: 2020-09-1
7 11:01:06
*/
export
default
{
...
...
@@ -130,8 +130,8 @@ export default {
'menu.tranactionAbility.enquirySubmit.toAddSubmitList'
:
'待新增需求单'
,
'menu.tranactionAbility.enquirySubmit.addEnquiry'
:
'新增需求单'
,
'menu.tranactionAbility.enquirySubmit.viewEnquiryDetail'
:
'需求单详情'
,
'menu.tranactionAbility.enquirySubmit.enquiryOne'
:
'待审核
报价
单(一级)'
,
'menu.tranactionAbility.enquirySubmit.enquiryTwo'
:
'待审核
报价
单(二级)'
,
'menu.tranactionAbility.enquirySubmit.enquiryOne'
:
'待审核
需求
单(一级)'
,
'menu.tranactionAbility.enquirySubmit.enquiryTwo'
:
'待审核
需求
单(二级)'
,
'menu.tranactionAbility.enquirySubmit.toSubmit'
:
'待提交需求单'
,
'menu.tranactionAbility.purchaseOrder'
:
'采购订单'
,
'menu.tranactionAbility.purchaseOrder.purchaseOrderSearch'
:
'订单查询'
,
...
...
@@ -144,6 +144,8 @@ export default {
'menu.tranactionAbility.enquiryOffer.toAddSubmitList'
:
'待新增报价单'
,
'menu.tranactionAbility.enquiryOffer.addEnquiry'
:
'新增报价'
,
'menu.tranactionAbility.enquiryOffer.viewEnquiryDetail'
:
'报价单详情'
,
'menu.tranactionAbility.enquiryOffer.enquiryOne'
:
'待审核报价单(一级)'
,
'menu.tranactionAbility.enquiryOffer.enquiryTwo'
:
'待审核报价单(二级)'
,
...
...
src/pages/transaction/enquiryOffer/components/index.tsx
View file @
98bca932
...
...
@@ -3,7 +3,7 @@
* @Date: 2020-08-24 11:39:11
* @LastEditors: LeeJiancong
* @Copyright: 1549414730@qq.com
* @LastEditTime: 2020-09-1
6 16:28
:24
* @LastEditTime: 2020-09-1
7 11:05
:24
*/
/**
* @description: 组件描述: 一级 二级 待提交报价单
...
...
@@ -43,7 +43,7 @@ import { createFormActions, FormEffectHooks } from '@formily/antd';
import
{
PageStatus
}
from
'@/hooks/usePageStatus'
import
{
useStateFilterSearchLinkageEffect
}
from
'@/formSchema/effects/useFilterSearch'
;
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
;
import
{
enquiery
Schema
}
from
'../schema'
;
import
{
commonEnquieryOffer
Schema
}
from
'../schema'
;
import
{
PublicApi
}
from
'@/services/api'
;
import
{
values
,
action
}
from
'mobx'
;
/**
...
...
@@ -313,12 +313,12 @@ const List:React.FC<listParams> = (props) => {
actions=
{
formActions
}
onSubmit=
{
values
=>
handleSumbit
(
values
)
}
effects=
{
(
$
,
actions
)
=>
{
useStateFilterSearchLinkageEffect
(
$
,
actions
,
'
requisitionForm
No'
,
FORM_FILTER_PATH
)
useStateFilterSearchLinkageEffect
(
$
,
actions
,
'
quotation
No'
,
FORM_FILTER_PATH
)
}
}
expressionScope=
{
{
controllerBtns
}
}
schema=
{
enquiery
Schema
}
schema=
{
commonEnquieryOffer
Schema
}
>
</
NiceForm
>
...
...
src/pages/transaction/enquiryOffer/enquiryOne/index.tsx
0 → 100644
View file @
98bca932
import
React
,
{
Component
}
from
'react'
import
OrderList
from
"../components/index"
const
List
=
()
=>
{
return
(
<
OrderList
des=
'待审核报价单(一级)'
type=
{
1
}
/>
)
}
export
default
List
\ No newline at end of file
src/pages/transaction/enquiryOffer/enquiryTwo/index.tsx
0 → 100644
View file @
98bca932
import
React
,
{
Component
}
from
'react'
import
OrderList
from
"../components/index"
const
List
=
()
=>
{
return
(
<
OrderList
des=
'待审核报价单(二级)'
type=
{
2
}
/>
)
}
export
default
List
\ No newline at end of file
src/pages/transaction/enquiryOffer/toAddSubmit/detail.tsx
View file @
98bca932
...
...
@@ -3,7 +3,7 @@
* @Date: 2020-08-24 11:39:29
* @LastEditors: LeeJiancong
* @Copyright: 1549414730@qq.com
* @LastEditTime: 2020-09-1
6 18:15:58
* @LastEditTime: 2020-09-1
7 10:27:52
*/
import
React
,
{
Component
,
useState
,
useEffect
,
useRef
}
from
'react'
import
ReactDOM
from
'react-dom'
...
...
@@ -519,7 +519,7 @@ const Detail: React.FC<{}> = () => {
//选择需求单操作
const
selectBtn
=
(
<
Button
style=
{
{
backgroundColor
:
'#6B778C'
,
borderColor
:
'#6B778C'
,
color
:
'white'
}
}
onClick=
{
()
=>
inquiryRef
.
current
.
setVisible
(
true
)
}
>
<
Button
disabled=
{
id
?
true
:
false
}
style=
{
{
backgroundColor
:
'#6B778C'
,
borderColor
:
'#6B778C'
,
color
:
'white'
}
}
onClick=
{
()
=>
inquiryRef
.
current
.
setVisible
(
true
)
}
>
<
LinkOutlined
/>
选择
</
Button
>
)
...
...
src/pages/transaction/enquirySubmit/enquiryOne/index.tsx
View file @
98bca932
...
...
@@ -2,7 +2,7 @@ import React, { Component } from 'react'
import
OrderList
from
"../components/index"
const
List
=
()
=>
{
return
(
<
OrderList
des=
'待审核
报价
单(一级)'
type=
{
1
}
/>
<
OrderList
des=
'待审核
需求
单(一级)'
type=
{
1
}
/>
)
}
export
default
List
\ No newline at end of file
src/pages/transaction/enquirySubmit/enquiryTwo/index.tsx
View file @
98bca932
...
...
@@ -2,7 +2,7 @@ import React, { Component } from 'react'
import
OrderList
from
"../components/index"
const
List
=
()
=>
{
return
(
<
OrderList
des=
'待审核
报价
单(二级)'
type=
{
2
}
/>
<
OrderList
des=
'待审核
需求
单(二级)'
type=
{
2
}
/>
)
}
export
default
List
\ No newline at end of file
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