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
8d70d5c8
Commit
8d70d5c8
authored
May 11, 2021
by
alwayOnlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
7c3e76c6
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
82 additions
and
100 deletions
+82
-100
index.tsx
src/pages/contract/coordination/details/index.tsx
+32
-8
index.tsx
src/pages/contract/coordination/pageToBeExamineOne/index.tsx
+3
-3
index.tsx
src/pages/contract/coordination/pageToBeExamineTwo/index.tsx
+3
-3
index.tsx
...ges/contract/coordination/pageToBeSubmitExamine/index.tsx
+1
-1
index.tsx
src/pages/contract/coordination/sign/index.tsx
+2
-2
index.tsx
src/pages/contract/funds/addbill/index.tsx
+2
-39
examine.tsx
src/pages/contract/funds/components/examine.tsx
+1
-6
FormList.tsx
src/pages/contract/manage/add/components/FormList.tsx
+2
-2
contractText.tsx
src/pages/contract/manage/add/components/contractText.tsx
+9
-5
FormList.tsx
src/pages/contract/manage/editing/components/FormList.tsx
+1
-1
contractText.tsx
...pages/contract/manage/editing/components/contractText.tsx
+9
-4
information.tsx
src/pages/contract/manage/editing/components/information.tsx
+1
-13
index.tsx
src/pages/contract/manage/examine/index.tsx
+2
-2
index.tsx
src/pages/contract/manage/levelexamine/index.tsx
+2
-2
index.ts
src/pages/contract/manage/schema/index.ts
+10
-7
index.tsx
src/pages/contract/manage/secondaryexamine/index.tsx
+2
-2
No files found.
src/pages/contract/coordination/details/index.tsx
View file @
8d70d5c8
...
...
@@ -23,7 +23,7 @@ const activeAnchorClassName = 'ant-anchor-link-active'
const
Details
=
(
props
:
any
)
=>
{
const
[
form
]
=
Form
.
useForm
();
const
[
Visible
,
setIsModalVisible
]
=
useState
<
boolean
>
(
false
)
const
[
isPass
,
setIsAllMember
]
=
useState
()
const
[
isPass
,
setIsAllMember
]
=
useState
(
1
)
const
[
Drawervisible
,
setDrawervisible
]
=
useState
<
boolean
>
(
false
)
/* 合同id */
const
{
location
:
{
query
:
{
contractId
,
type
}
}
}
=
props
;
...
...
@@ -140,7 +140,18 @@ const Details = (props: any) => {
}
const
columnsTab
=
(
Numberamount
,
Totalamount
)
=>
{
const
columns
:
any
=
[
{
title
:
'物料编号/名称'
,
dataIndex
:
'materielNo'
,
align
:
'center'
,
},
{
title
:
'物料编号/名称'
,
dataIndex
:
'materielNo'
,
align
:
'center'
,
render
:
(
text
,
item
,
index
)
=>
{
return
(
<
div
>
<
div
>
{
text
}
</
div
>
<
div
>
{
item
.
materielName
}
</
div
>
</
div
>
)
}
},
{
title
:
'规格型号'
,
dataIndex
:
'type'
,
align
:
'center'
,
},
{
title
:
'品类'
,
dataIndex
:
'category'
,
align
:
'center'
,
},
{
title
:
'品牌'
,
dataIndex
:
'brand'
,
align
:
'center'
,
},
...
...
@@ -246,10 +257,10 @@ const Details = (props: any) => {
</
div
>
<
div
className=
{
style
.
text
}
>
<
p
>
商品编号:
{
record
.
associatedMaterielNo
}
</
p
>
<
p
>
商品名称:
{
record
.
associated
MaterielName
}
</
p
>
<
p
>
商品名称:
{
record
.
associated
Goods
}
</
p
>
</
div
>
<
div
className=
{
style
.
text
}
>
<
p
>
规格型号:
{
record
.
associated
Goods
}
</
p
>
<
p
>
规格型号:
{
record
.
associated
Type
}
</
p
>
<
p
>
品类:
{
record
.
associatedCategory
}
</
p
>
</
div
>
<
div
className=
{
style
.
text
}
>
...
...
@@ -337,7 +348,7 @@ const Details = (props: any) => {
associatedBrand
}
console
.
log
(
params
,
10086
,
res_data
)
cons
t
msg
=
message
.
loading
({
le
t
msg
=
message
.
loading
({
content
:
'正在操作'
,
duration
:
0
,
});
...
...
@@ -365,7 +376,20 @@ const Details = (props: any) => {
/* 提交表单 */
const
submitExamine
=
()
=>
{
setIsModalVisible
(
!
Visible
)
// let flag = ListData.find((item: any)
let
flag
=
false
;
ListData
.
every
((
item
=>
{
if
(
item
.
associatedDataId
&&
item
.
associatedMaterielNo
)
{
flag
=
true
;
}
}))
if
(
!
flag
)
{
message
.
info
(
'请先关联报价商品'
);
}
else
{
setIsModalVisible
(
!
Visible
)
}
}
const
handleIsAllMemberChange
=
(
v
:
any
)
=>
{
setIsAllMember
(
v
.
target
.
value
)
...
...
@@ -373,7 +397,7 @@ const Details = (props: any) => {
/* 审核 */
const
onFinish
=
(
values
:
any
)
=>
{
values
.
contractId
=
contractId
;
cons
t
msg
=
message
.
loading
({
le
t
msg
=
message
.
loading
({
content
:
'正在操作'
,
duration
:
0
,
});
...
...
@@ -733,7 +757,7 @@ const Details = (props: any) => {
<
Form
.
Item
label=
{
isPass
?
'审核通过原因'
:
'审不核通过原因'
}
rules=
{
[{
required
:
true
,
message
:
'请选择作废日期'
}]
}
>
</
Form
.
Item
>
<
Form
.
Item
label=
''
name=
"opinion"
rules=
{
[{
required
:
true
,
message
:
'审核
通过意见'
}]
}
>
<
Form
.
Item
label=
''
name=
"opinion"
rules=
{
[{
required
:
isPass
?
false
:
true
,
message
:
'审核不
通过意见'
}]
}
>
<
TextArea
placeholder=
"在此输入你的原因,最多60个汉字"
maxLength=
{
120
}
/>
</
Form
.
Item
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'flex-end'
}
}
>
...
...
src/pages/contract/coordination/pageToBeExamineOne/index.tsx
View file @
8d70d5c8
...
...
@@ -21,7 +21,7 @@ import { history } from 'umi';
const
pageToBeExamineOne
=
()
=>
{
const
ref
=
useRef
<
any
>
({});
const
[
form
]
=
Form
.
useForm
();
const
[
isPass
,
setIsAllMember
]
=
useState
()
const
[
isPass
,
setIsAllMember
]
=
useState
(
1
)
const
[
Visible
,
setIsModalVisible
]
=
useState
<
boolean
>
(
false
)
const
[
id
,
setid
]
=
useState
(
""
)
//表头
...
...
@@ -35,7 +35,7 @@ const pageToBeExamineOne = () => {
render
:
(
text
,
record
)
=>
<
div
>
<
EyePreview
type=
"button"
url=
{
`/memberCenter/contract/coordination/pageToBeExamineOne/details?contractId=${record.id}`
}
>
{
text
}
</
EyePreview
>
...
...
@@ -229,7 +229,7 @@ const pageToBeExamineOne = () => {
<
Form
.
Item
label=
{
isPass
?
'审核通过原因'
:
'审不核通过原因'
}
rules=
{
[{
required
:
true
,
message
:
'请选择作废日期'
}]
}
>
</
Form
.
Item
>
<
Form
.
Item
label=
''
name=
"opinion"
>
<
Form
.
Item
label=
''
name=
"opinion"
rules=
{
[{
required
:
isPass
?
false
:
true
,
message
:
'审核不通过意见'
}]
}
>
<
TextArea
placeholder=
"在此输入你的原因,最多60个汉字"
maxLength=
{
120
}
/>
</
Form
.
Item
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'flex-end'
}
}
>
...
...
src/pages/contract/coordination/pageToBeExamineTwo/index.tsx
View file @
8d70d5c8
...
...
@@ -20,7 +20,7 @@ const { TextArea } = Input;
const
pageToBeExamineTwo
=
()
=>
{
const
ref
=
useRef
<
any
>
({});
const
[
form
]
=
Form
.
useForm
();
const
[
isPass
,
setIsAllMember
]
=
useState
()
const
[
isPass
,
setIsAllMember
]
=
useState
(
1
)
const
[
Visible
,
setIsModalVisible
]
=
useState
<
boolean
>
(
false
)
const
[
id
,
setid
]
=
useState
(
""
)
const
getdate
=
(
time
)
=>
{
...
...
@@ -34,7 +34,7 @@ const pageToBeExamineTwo = () => {
render
:
(
text
,
record
)
=>
<
div
>
<
EyePreview
type=
"button"
url=
{
`/memberCenter/contract/coordination/pageToBeExamineTwo/details?contractId=${record.id}`
}
>
{
text
}
</
EyePreview
>
...
...
@@ -227,7 +227,7 @@ const pageToBeExamineTwo = () => {
<
Form
.
Item
label=
{
isPass
?
'审核通过原因'
:
'审不核通过原因'
}
rules=
{
[{
required
:
true
,
message
:
'请选择作废日期'
}]
}
>
</
Form
.
Item
>
<
Form
.
Item
label=
''
name=
"opinion"
>
<
Form
.
Item
label=
''
name=
"opinion"
rules=
{
[{
required
:
isPass
?
false
:
true
,
message
:
'审核不通过意见'
}]
}
>
<
TextArea
placeholder=
"在此输入你的原因,最多60个汉字"
maxLength=
{
120
}
/>
</
Form
.
Item
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'flex-end'
}
}
>
...
...
src/pages/contract/coordination/pageToBeSubmitExamine/index.tsx
View file @
8d70d5c8
...
...
@@ -227,7 +227,7 @@ const pageToBeSubmitExamine = () => {
<
Form
.
Item
label=
{
isPass
?
'审核通过原因'
:
'审不核通过原因'
}
rules=
{
[{
required
:
true
,
message
:
'请输入原因'
}]
}
>
</
Form
.
Item
>
<
Form
.
Item
label=
''
name=
"opinion"
>
<
Form
.
Item
label=
''
name=
"opinion"
rules=
{
[{
required
:
isPass
?
false
:
true
,
message
:
'审核不通过意见'
}]
}
>
<
TextArea
placeholder=
"在此输入你的原因,最多60个汉字"
maxLength=
{
120
}
/>
</
Form
.
Item
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'flex-end'
}
}
>
...
...
src/pages/contract/coordination/sign/index.tsx
View file @
8d70d5c8
...
...
@@ -31,7 +31,7 @@ const Sign = () => {
render
:
(
text
,
record
)
=>
<
div
>
<
EyePreview
url=
{
`/memberCenter/contract/coordination/
pageToBeSubmitExamine
/details?contractId=${record.id}`
}
url=
{
`/memberCenter/contract/coordination/
Sign
/details?contractId=${record.id}`
}
>
{
text
}
</
EyePreview
>
...
...
@@ -105,7 +105,7 @@ const Sign = () => {
render
:
(
text
,
record
)
=>
{
return
(
<
div
>
<
span
style=
{
{
color
:
'#00B37A'
,
cursor
:
'pointer'
}
}
onClick=
{
()
=>
history
.
push
(
`/memberCenter/contract/coordination/
pageToBeSubmitExamine
/details?contractId=${record.id}&type=Sign`
)
}
>
签订合同
</
span
>
<
span
style=
{
{
color
:
'#00B37A'
,
cursor
:
'pointer'
}
}
onClick=
{
()
=>
history
.
push
(
`/memberCenter/contract/coordination/
Sign
/details?contractId=${record.id}&type=Sign`
)
}
>
签订合同
</
span
>
</
div
>
)
}
...
...
src/pages/contract/funds/addbill/index.tsx
View file @
8d70d5c8
...
...
@@ -89,7 +89,7 @@ const Addbilldetails: React.FC<{}> = () => {
return
(
<>
{
record
.
status
==
1
&&
<
span
style=
{
{
color
:
'#00B37A'
,
marginRight
:
20
,
cursor
:
'pointer'
,
}
}
onClick=
{
()
=>
isModal
(
record
)
}
>
提交
请款单
</
span
>
record
.
status
==
1
&&
<
span
style=
{
{
color
:
'#00B37A'
,
marginRight
:
20
,
cursor
:
'pointer'
,
}
}
onClick=
{
()
=>
isModal
(
record
)
}
>
提交
</
span
>
}
{
record
.
status
!=
3
||
record
.
status
!=
5
&&
<
span
style=
{
{
color
:
'#00B37A'
,
marginRight
:
20
,
cursor
:
'pointer'
,
}
}
>
修改
</
span
>
...
...
@@ -176,44 +176,7 @@ const Addbilldetails: React.FC<{}> = () => {
return
(
<
PageHeaderWrapper
>
<
Card
>
{
/* <StandardTable
tableProps={{
rowKey: 'id',
}}
columns={columns}
currentRef={ref}
rowSelection={rowSelection}
fetchTableData={(params: any) => fetchData(params)}
formilyLayouts={{
justify: 'space-between'
}}
formilyProps={{
ctx: {
inline: false,
schema: addSchemaBli,
effects: ($, actions) => {
useStateFilterSearchLinkageEffect(
$,
actions,
'applyNo',
FORM_FILTER_PATH,
);
useAsyncSelect(
"status",
fetchOptions(PublicApi.getContractApplyAmountGetStatusList)
)
},
components: {
DateRangePickerUnix,
Submit,
SearchSelect
}
}
}}
formilyChilds={{
children: Actions
}}
/> */
}
<
StandardTable
tableProps=
{
{
rowKey
:
'id'
,
...
...
src/pages/contract/funds/components/examine.tsx
View file @
8d70d5c8
...
...
@@ -4,12 +4,8 @@ import { Button, Input, Form, Select, Radio, message, Modal } from 'antd'
const
{
Search
,
TextArea
}
=
Input
import
{
StandardTable
}
from
'god'
;
import
{
PublicApi
}
from
'@/services/api'
;
const
{
Option
}
=
Select
;
const
Examine
=
(
props
:
any
)
=>
{
const
{
ExamineFlag
,
getfetchData
,
applyId
,
type
}
=
props
;
const
[
Visible
,
setIsModalVisible
]
=
useState
<
boolean
>
(
false
)
const
[
isPass
,
setIsAllMember
]
=
useState
()
const
[
form
]
=
Form
.
useForm
();
/***
...
...
@@ -55,7 +51,6 @@ const Examine = (props: any) => {
/* 回调 */
const
fetchData
=
(
val
)
=>
{
console
.
log
(
22222
);
if
(
val
==
'onCancel'
)
{
getfetchData
({
ExamineFlag
:
false
,
...
...
@@ -84,7 +79,7 @@ const Examine = (props: any) => {
</
Form
.
Item
>
<
Form
.
Item
label=
{
isPass
?
'审核通过原因'
:
'审不核通过原因'
}
rules=
{
[{
required
:
true
,
message
:
'请选择作废日期'
}]
}
>
</
Form
.
Item
>
<
Form
.
Item
label=
''
name=
"opinion"
rules=
{
[{
required
:
tru
e
,
message
:
'审核通过意见'
}]
}
>
<
Form
.
Item
label=
''
name=
"opinion"
rules=
{
[{
required
:
isPass
?
true
:
fals
e
,
message
:
'审核通过意见'
}]
}
>
<
TextArea
placeholder=
"在此输入你的原因,最多60个汉字"
maxLength=
{
120
}
/>
</
Form
.
Item
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'flex-end'
}
}
>
...
...
src/pages/contract/manage/add/components/FormList.tsx
View file @
8d70d5c8
...
...
@@ -72,7 +72,7 @@ const FormList = (props: any) => {
>
<
Select
style=
{
{
width
:
80
}
}
defaultValue=
{
text
?
text
.
toString
()
:
''
}
defaultValue=
{
text
===
0
||
text
===
1
?
text
.
toString
()
:
''
}
onChange=
{
(
e
)
=>
setInput
(
e
,
'isHasTax'
,
index
)
}
>
<
Option
value=
"0"
key=
{
0
}
>
否
</
Option
>
...
...
@@ -165,7 +165,7 @@ const FormList = (props: any) => {
/* 确定 */
const
handleOk
=
()
=>
{
console
.
log
(
selectRow
,
'显示'
);
console
.
log
(
selectRow
);
let
dataArr
=
[];
selectRow
.
map
((
item
:
any
)
=>
{
dataArr
.
push
(
item
);
...
...
src/pages/contract/manage/add/components/contractText.tsx
View file @
8d70d5c8
...
...
@@ -31,16 +31,20 @@ const ContractText = (props: any) => {
}
PublicApi
.
getContractContractTemplatePage
(
data
).
then
(
res
=>
{
console
.
log
(
res
);
let
list
=
res
.
data
.
data
.
map
((
item
:
any
)
=>
{
if
(
item
.
state
!=
0
)
{
return
{
let
list
=
[];
res
.
data
.
data
.
find
((
item
:
any
)
=>
{
item
.
version
!=
null
?
item
.
version
:
''
;
console
.
log
(
item
.
version
)
if
(
item
.
state
==
1
)
{
console
.
log
(
item
,)
list
.
push
({
label
:
item
.
name
+
item
.
version
,
value
:
item
.
id
,
id
:
item
.
id
,
}
}
)
}
})
console
.
log
(
list
);
// console.log(list, res.data.data
);
setTemplatePage
(
list
)
})
...
...
src/pages/contract/manage/editing/components/FormList.tsx
View file @
8d70d5c8
...
...
@@ -63,7 +63,7 @@ const FormList = (props: any) => {
>
<
Select
style=
{
{
width
:
80
}
}
defaultValue=
{
text
?
text
.
toString
()
:
''
}
defaultValue=
{
text
===
0
||
text
===
1
?
text
.
toString
()
:
''
}
onChange=
{
(
e
)
=>
setInput
(
e
,
'isHasTax'
,
index
)
}
>
<
Option
value=
"0"
key=
{
0
}
>
否
</
Option
>
...
...
src/pages/contract/manage/editing/components/contractText.tsx
View file @
8d70d5c8
...
...
@@ -31,15 +31,20 @@ const ContractText = (props: any) => {
}
PublicApi
.
getContractContractTemplatePage
(
data
).
then
(
res
=>
{
console
.
log
(
res
);
let
list
=
res
.
data
.
data
.
map
((
item
:
any
)
=>
{
if
(
item
.
state
!=
0
)
{
return
{
let
list
=
[];
res
.
data
.
data
.
find
((
item
:
any
)
=>
{
item
.
version
!=
null
?
item
.
version
:
''
;
console
.
log
(
item
.
version
)
if
(
item
.
state
==
1
)
{
console
.
log
(
item
,)
list
.
push
({
label
:
item
.
name
+
item
.
version
,
value
:
item
.
id
,
id
:
item
.
id
,
}
}
)
}
})
// console.log(list, res.data.data);
setTemplatePage
(
list
)
})
...
...
src/pages/contract/manage/editing/components/information.tsx
View file @
8d70d5c8
...
...
@@ -64,19 +64,7 @@ const Information = (props: any) => {
}
})
// useEffect(() => {
// if (oldContractId) {
// let data = { oldContractNo: basic.contractNo }
// console.log(data, 123131, basic)
// PublicApi.getContractManageGetContractNo(data).then(res => {
// console.log(res.data)
// if (res.code === 1000) {
// basic.contractNo = res.data
// attrValueForm.setFieldsValue(basic)
// }
// })
// }
// }, [oldContractId])
/* 时间选中 */
const
onChange
=
(
value
:
any
)
=>
{
console
.
log
(
value
)
...
...
src/pages/contract/manage/examine/index.tsx
View file @
8d70d5c8
...
...
@@ -21,7 +21,7 @@ const Examine = () => {
const
[
selectedRowKeys
,
setSelectedRowKeys
]
=
useState
<
Array
<
string
>>
([])
const
[
selectRow
,
setSelectRow
]
=
useState
<
any
[]
>
([])
// 模态框选择的行数据
const
[
Visible
,
setIsModalVisible
]
=
useState
<
boolean
>
(
false
)
const
[
isPass
,
setIsAllMember
]
=
useState
()
const
[
isPass
,
setIsAllMember
]
=
useState
(
1
)
const
[
form
]
=
Form
.
useForm
();
const
[
id
,
setid
]
=
useState
(
""
)
const
getdate
=
(
time
)
=>
{
...
...
@@ -242,7 +242,7 @@ const Examine = () => {
<
Form
.
Item
label=
{
isPass
?
'审核通过原因'
:
'审不核通过原因'
}
rules=
{
[{
required
:
true
,
message
:
'请选择作废日期'
}]
}
>
</
Form
.
Item
>
<
Form
.
Item
label=
''
name=
"opinion"
>
<
Form
.
Item
label=
''
name=
"opinion"
rules=
{
[{
required
:
isPass
?
false
:
true
,
message
:
'审核不通过意见'
}]
}
>
<
TextArea
placeholder=
"在此输入你的原因,最多60个汉字"
maxLength=
{
120
}
/>
</
Form
.
Item
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'flex-end'
}
}
>
...
...
src/pages/contract/manage/levelexamine/index.tsx
View file @
8d70d5c8
...
...
@@ -26,7 +26,7 @@ const Levelexamine = () => {
const
[
Visible
,
setIsModalVisible
]
=
useState
<
boolean
>
(
false
)
const
[
id
,
setid
]
=
useState
(
""
)
const
[
selectRow
,
setSelectRow
]
=
useState
<
any
[]
>
([])
// 模态框选择的行数据
const
[
isPass
,
setIsAllMember
]
=
useState
()
const
[
isPass
,
setIsAllMember
]
=
useState
(
1
)
const
[
form
]
=
Form
.
useForm
();
//表头
const
columns
:
ColumnType
<
any
>
[]
=
[{
...
...
@@ -241,7 +241,7 @@ const Levelexamine = () => {
<
Form
.
Item
label=
{
isPass
?
'审核通过原因'
:
'审不核通过原因'
}
rules=
{
[{
required
:
true
,
message
:
'请选择作废日期'
}]
}
>
</
Form
.
Item
>
<
Form
.
Item
label=
''
name=
"opinion"
>
<
Form
.
Item
label=
''
name=
"opinion"
rules=
{
[{
required
:
isPass
?
false
:
true
,
message
:
'审核不通过意见'
}]
}
>
<
TextArea
placeholder=
"在此输入你的原因,最多60个汉字"
maxLength=
{
120
}
/>
</
Form
.
Item
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'flex-end'
}
}
>
...
...
src/pages/contract/manage/schema/index.ts
View file @
8d70d5c8
...
...
@@ -347,15 +347,18 @@ export const QueryListSchema: ISchema = {
enum
:
[
{
label
:
'所有状态'
,
value
:
0
},
{
label
:
'待提交乙方签订合同'
,
value
:
1
},
{
label
:
'
待
乙方签订合同'
,
value
:
2
},
{
label
:
'
已提交
乙方签订合同'
,
value
:
2
},
{
label
:
'待提交审核合同'
,
value
:
3
},
{
label
:
'
待审核合同(一级)
'
,
value
:
4
},
{
label
:
'待审核合同(
二
级)'
,
value
:
5
},
{
label
:
'
合同审核不通过(一
级)'
,
value
:
6
},
{
label
:
'合同审核通过(二级
)
'
,
value
:
7
},
{
label
:
'
合同审核不通过
'
,
value
:
4
},
{
label
:
'待审核合同(
一
级)'
,
value
:
5
},
{
label
:
'
待审核合同(二
级)'
,
value
:
6
},
{
label
:
'合同审核通过(二级'
,
value
:
7
},
{
label
:
'合同审核不通过(二级)'
,
value
:
8
},
{
label
:
'同意签订合同'
,
value
:
9
},
{
label
:
'不同意签订合同'
,
value
:
10
},
{
label
:
'合同审核不通过(二级)'
,
value
:
9
},
{
label
:
'同意签订合同'
,
value
:
10
},
{
label
:
'不同意签订合同'
,
value
:
11
},
{
label
:
'已作废'
,
value
:
12
},
{
label
:
'已停用'
,
value
:
13
},
],
},
submit
:
{
...
...
src/pages/contract/manage/secondaryexamine/index.tsx
View file @
8d70d5c8
...
...
@@ -21,7 +21,7 @@ const Secondaryexamine = () => {
const
[
Visible
,
setIsModalVisible
]
=
useState
<
boolean
>
(
false
)
const
[
id
,
setid
]
=
useState
(
""
)
const
[
selectRow
,
setSelectRow
]
=
useState
<
any
[]
>
([])
// 模态框选择的行数据
const
[
isPass
,
setIsAllMember
]
=
useState
()
const
[
isPass
,
setIsAllMember
]
=
useState
(
1
)
const
[
form
]
=
Form
.
useForm
();
//表头
const
columns
:
ColumnType
<
any
>
[]
=
[{
...
...
@@ -242,7 +242,7 @@ const Secondaryexamine = () => {
<
Radio
value=
{
0
}
>
不通过
</
Radio
>
</
Radio
.
Group
>
</
Form
.
Item
>
<
Form
.
Item
label=
{
isPass
?
'审核通过原因'
:
'审不核通过原因'
}
rules=
{
[{
required
:
true
,
message
:
'请选择作废日期
'
}]
}
>
<
Form
.
Item
label=
{
isPass
?
'审核通过原因'
:
'审不核通过原因'
}
rules=
{
[{
required
:
isPass
?
false
:
true
,
message
:
'审核不通过意见
'
}]
}
>
</
Form
.
Item
>
<
Form
.
Item
label=
''
name=
"opinion"
>
...
...
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