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
46df50eb
Commit
46df50eb
authored
Jul 29, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 对接新交易/采购流程配置
parent
c8d80a89
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
13 additions
and
12 deletions
+13
-12
index.tsx
...yCheckedConfirmFirst/components/remarkBidReport/index.tsx
+1
-1
index.tsx
...CheckedConfirmSecond/components/remarkBidReport/index.tsx
+1
-1
index.tsx
...Bids/readyConfirmBid/components/remarkBidReport/index.tsx
+1
-1
index.tsx
...ForBids/readyPassBid/components/remarkBidReport/index.tsx
+1
-1
index.tsx
src/pages/procurement/components/remarkBidReport/index.tsx
+1
-1
index.tsx
src/pages/transaction/components/orderDeleveRecord/index.tsx
+1
-0
index.tsx
src/pages/transaction/components/orderSaleRecord/index.tsx
+1
-1
RuleSetting.tsx
...ages/transaction/purchaseRules/components/RuleSetting.tsx
+1
-1
index.tsx
...saction/purchaseRules/components/selectProcesss/index.tsx
+4
-4
index.tsx
src/pages/transaction/purchaseRules/index.tsx
+1
-1
No files found.
src/pages/procurement/callForBids/readyCheckedConfirmFirst/components/remarkBidReport/index.tsx
View file @
46df50eb
...
@@ -44,7 +44,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
...
@@ -44,7 +44,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
tempObject
.
memberName
=
item
.
memberName
tempObject
.
memberName
=
item
.
memberName
for
(
let
j
=
0
;
j
<
item
.
evaluationTenderList
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
item
.
evaluationTenderList
.
length
;
j
++
)
{
let
_item
=
item
[
'evaluationTenderList'
][
j
]
let
_item
=
item
[
'evaluationTenderList'
][
j
]
tempObject
.
expertExtractRecordId
=
_item
[
'expertExtractRecord'
][
'id
'
]
tempObject
.
expertExtractRecordId
=
_item
.
expertExtractRecord
?.
id
||
_item
[
'sort
'
]
tempObject
.
score
=
_item
[
'score'
]
tempObject
.
score
=
_item
[
'score'
]
tempObject
.
sort
=
_item
[
'sort'
]
tempObject
.
sort
=
_item
[
'sort'
]
tempObject
.
standard
=
_item
[
'standard'
]
tempObject
.
standard
=
_item
[
'standard'
]
...
...
src/pages/procurement/callForBids/readyCheckedConfirmSecond/components/remarkBidReport/index.tsx
View file @
46df50eb
...
@@ -44,7 +44,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
...
@@ -44,7 +44,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
tempObject
.
memberName
=
item
.
memberName
tempObject
.
memberName
=
item
.
memberName
for
(
let
j
=
0
;
j
<
item
.
evaluationTenderList
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
item
.
evaluationTenderList
.
length
;
j
++
)
{
let
_item
=
item
[
'evaluationTenderList'
][
j
]
let
_item
=
item
[
'evaluationTenderList'
][
j
]
tempObject
.
expertExtractRecordId
=
_item
[
'expertExtractRecord'
][
'id
'
]
tempObject
.
expertExtractRecordId
=
_item
.
expertExtractRecord
?.
id
||
_item
[
'sort
'
]
tempObject
.
score
=
_item
[
'score'
]
tempObject
.
score
=
_item
[
'score'
]
tempObject
.
sort
=
_item
[
'sort'
]
tempObject
.
sort
=
_item
[
'sort'
]
tempObject
.
standard
=
_item
[
'standard'
]
tempObject
.
standard
=
_item
[
'standard'
]
...
...
src/pages/procurement/callForBids/readyConfirmBid/components/remarkBidReport/index.tsx
View file @
46df50eb
...
@@ -44,7 +44,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
...
@@ -44,7 +44,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
tempObject
.
memberName
=
item
.
memberName
tempObject
.
memberName
=
item
.
memberName
for
(
let
j
=
0
;
j
<
item
.
evaluationTenderList
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
item
.
evaluationTenderList
.
length
;
j
++
)
{
let
_item
=
item
[
'evaluationTenderList'
][
j
]
let
_item
=
item
[
'evaluationTenderList'
][
j
]
tempObject
.
expertExtractRecordId
=
_item
[
'expertExtractRecord'
][
'id
'
]
tempObject
.
expertExtractRecordId
=
_item
.
expertExtractRecord
?.
id
||
_item
[
'sort
'
]
tempObject
.
score
=
_item
[
'score'
]
tempObject
.
score
=
_item
[
'score'
]
tempObject
.
sort
=
_item
[
'sort'
]
tempObject
.
sort
=
_item
[
'sort'
]
tempObject
.
standard
=
_item
[
'standard'
]
tempObject
.
standard
=
_item
[
'standard'
]
...
...
src/pages/procurement/callForBids/readyPassBid/components/remarkBidReport/index.tsx
View file @
46df50eb
...
@@ -44,7 +44,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
...
@@ -44,7 +44,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
tempObject
.
memberName
=
item
.
memberName
tempObject
.
memberName
=
item
.
memberName
for
(
let
j
=
0
;
j
<
item
.
evaluationTenderList
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
item
.
evaluationTenderList
.
length
;
j
++
)
{
let
_item
=
item
[
'evaluationTenderList'
][
j
]
let
_item
=
item
[
'evaluationTenderList'
][
j
]
tempObject
.
expertExtractRecordId
=
_item
[
'expertExtractRecord'
][
'id
'
]
tempObject
.
expertExtractRecordId
=
_item
.
expertExtractRecord
?.
id
||
_item
[
'sort
'
]
tempObject
.
score
=
_item
[
'score'
]
tempObject
.
score
=
_item
[
'score'
]
tempObject
.
sort
=
_item
[
'sort'
]
tempObject
.
sort
=
_item
[
'sort'
]
tempObject
.
standard
=
_item
[
'standard'
]
tempObject
.
standard
=
_item
[
'standard'
]
...
...
src/pages/procurement/components/remarkBidReport/index.tsx
View file @
46df50eb
...
@@ -46,7 +46,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
...
@@ -46,7 +46,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
if
(
item
.
evaluationTenderList
)
if
(
item
.
evaluationTenderList
)
for
(
let
j
=
0
;
j
<
item
.
evaluationTenderList
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
item
.
evaluationTenderList
.
length
;
j
++
)
{
let
_item
=
item
[
'evaluationTenderList'
][
j
]
let
_item
=
item
[
'evaluationTenderList'
][
j
]
tempObject
.
expertExtractRecordId
=
_item
[
'expertExtractRecord'
][
'id
'
]
tempObject
.
expertExtractRecordId
=
_item
.
expertExtractRecord
?.
id
||
_item
[
'sort
'
]
tempObject
.
score
=
_item
[
'score'
]
tempObject
.
score
=
_item
[
'score'
]
tempObject
.
sort
=
_item
[
'sort'
]
tempObject
.
sort
=
_item
[
'sort'
]
tempObject
.
standard
=
_item
[
'standard'
]
tempObject
.
standard
=
_item
[
'standard'
]
...
...
src/pages/transaction/components/orderDeleveRecord/index.tsx
View file @
46df50eb
...
@@ -186,6 +186,7 @@ const OrderDeleveRecord:React.FC<OrderDeleveRecordProps> = (props) => {
...
@@ -186,6 +186,7 @@ const OrderDeleveRecord:React.FC<OrderDeleveRecordProps> = (props) => {
dataIndex
:
'createTime'
,
dataIndex
:
'createTime'
,
align
:
'center'
,
align
:
'center'
,
key
:
'createTime'
,
key
:
'createTime'
,
render
:
text
=>
formatTimeString
(
text
,
'YYYY-MM-DD'
)
},
},
{
{
title
:
'物流单号'
,
title
:
'物流单号'
,
...
...
src/pages/transaction/components/orderSaleRecord/index.tsx
View file @
46df50eb
...
@@ -191,7 +191,7 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => {
...
@@ -191,7 +191,7 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => {
dataIndex
:
'createTime'
,
dataIndex
:
'createTime'
,
align
:
'center'
,
align
:
'center'
,
key
:
'createTime'
,
key
:
'createTime'
,
// render: text => formatTimeString(text
)
render
:
text
=>
formatTimeString
(
text
,
'YYYY-MM-DD'
)
},
},
{
{
title
:
'物流单号'
,
title
:
'物流单号'
,
...
...
src/pages/transaction/purchaseRules/components/RuleSetting.tsx
View file @
46df50eb
...
@@ -286,7 +286,7 @@ const RuleSetting:React.FC<RuleSettingProps> = (props) => {
...
@@ -286,7 +286,7 @@ const RuleSetting:React.FC<RuleSettingProps> = (props) => {
if
(
!
data
.
allContracts
)
{
if
(
!
data
.
allContracts
)
{
const
res
=
await
getBindingContracts
({
id
:
id
.
toString
(),
current
:
'1'
,
pageSize
:
'1000'
,
digest
:
''
})
const
res
=
await
getBindingContracts
({
id
:
id
.
toString
(),
current
:
'1'
,
pageSize
:
'1000'
,
digest
:
''
})
addSchemaAction
.
setFieldState
(
'contracts'
,
state
=>
{
addSchemaAction
.
setFieldState
(
'contracts'
,
state
=>
{
state
.
value
=
processFields
(
res
.
data
,
false
)
state
.
value
=
res
.
data
})
})
setProductsLength
(
res
.
totalCount
)
setProductsLength
(
res
.
totalCount
)
}
}
...
...
src/pages/transaction/purchaseRules/components/selectProcesss/index.tsx
View file @
46df50eb
import
React
,
{
useState
,
useRef
,
useEffect
}
from
'react'
import
React
,
{
useState
,
useRef
,
useEffect
}
from
'react'
import
styled
from
'styled-components'
import
styled
from
'styled-components'
import
{
ISchemaF
ormProps
,
ISchemaFieldProps
,
ISchemaFieldComponentProps
,
createFormAction
s
,
useFieldState
}
from
'@formily/antd'
import
{
ISchemaF
ieldComponentProp
s
,
useFieldState
}
from
'@formily/antd'
import
{
Button
,
Space
,
Row
,
Col
,
Tag
}
from
'antd'
import
{
Row
,
Col
,
Tag
}
from
'antd'
import
{
PlusOutlined
,
DeleteColumnOutlined
,
EditOutlined
,
DeleteOutlined
,
CaretUpOutlined
,
CaretDownOutlined
,
Eye
Outlined
}
from
'@ant-design/icons'
import
{
CaretUpOutlined
,
CaretDown
Outlined
}
from
'@ant-design/icons'
import
cx
from
'classnames'
import
cx
from
'classnames'
import
{
PublicApi
}
from
'@/services/api'
import
{
PublicApi
}
from
'@/services/api'
...
@@ -62,7 +62,7 @@ const SelectProcesss = (props: ISchemaFieldComponentProps) => {
...
@@ -62,7 +62,7 @@ const SelectProcesss = (props: ISchemaFieldComponentProps) => {
const
{
value
,
mutators
,
editable
}
=
props
const
{
value
,
mutators
,
editable
}
=
props
useEffect
(()
=>
{
useEffect
(()
=>
{
PublicApi
.
getOrder
Trad
eProcessBaseList
().
then
(
res
=>
{
PublicApi
.
getOrder
Purchas
eProcessBaseList
().
then
(
res
=>
{
setFieldState
({
setFieldState
({
dataSource
:
res
.
data
,
dataSource
:
res
.
data
,
showMore
showMore
...
...
src/pages/transaction/purchaseRules/index.tsx
View file @
46df50eb
...
@@ -69,7 +69,7 @@ const PurchaseRules: React.FC<{}> = () => {
...
@@ -69,7 +69,7 @@ const PurchaseRules: React.FC<{}> = () => {
>
>
<
Button
<
Button
type=
"link"
type=
"link"
style=
{
record
.
status
?
{
color
:
'#00B37A'
}
:
{
color
:
'red'
}
}
>
{
record
.
stat
e
?
<>
有效
<
PlayCircleOutlined
/></>
:
<>
无效
<
PauseCircleOutlined
/></>
}
</
Button
>
style=
{
record
.
status
?
{
color
:
'#00B37A'
}
:
{
color
:
'red'
}
}
>
{
record
.
stat
us
?
<>
有效
<
PlayCircleOutlined
/></>
:
<>
无效
<
PauseCircleOutlined
/></>
}
</
Button
>
</
Popconfirm
>
</
Popconfirm
>
)
)
return
component
return
component
...
...
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