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
a0e29074
Commit
a0e29074
authored
Apr 08, 2022
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 待新增投标批量提交审核添加状态判断
parent
e98beb1f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
10 deletions
+13
-10
purchase.ts
src/locales/en-US/purchase.ts
+1
-0
purchase.ts
src/locales/ko-KR/purchase.ts
+1
-0
purchase.ts
src/locales/zh-CN/purchase.ts
+1
-0
index.tsx
src/pages/procurement/tender/readyAddTender/index.tsx
+10
-10
No files found.
src/locales/en-US/purchase.ts
View file @
a0e29074
...
...
@@ -935,6 +935,7 @@ export default {
'table.purchase.qingxiangouxuandan'
:
'Please check the receipt first'
,
'table.purchase.piliangtijiaotou'
:
'Batch submission of bids'
,
'table.purchase.qingxianxuanzetou'
:
'Please choose a bid first'
,
'table.purchase.zhinengtijiaodaishenhe'
:
'Only tenders to be submitted for audit can be submitted'
,
'table.purchase.chongxintijiao'
:
'Resubmit'
,
'table.purchase.qingshangchuanzige'
:
'Please upload qualification documents'
,
'table.purchase.gaipingbiaomuban'
:
'The bid evaluation template has been used and cannot be deleted'
,
...
...
src/locales/ko-KR/purchase.ts
View file @
a0e29074
...
...
@@ -932,6 +932,7 @@ export default {
'table.purchase.qingxiangouxuandan'
:
'먼저 영수증을 선택해 주십시오'
,
'table.purchase.piliangtijiaotou'
:
'대량으로 입찰을 제출하다.'
,
'table.purchase.qingxianxuanzetou'
:
'먼저 입찰을 선택하세요'
,
'table.purchase.zhinengtijiaodaishenhe'
:
'심사입찰을 위한 입찰만 제출할수 있다'
,
'table.purchase.chongxintijiao'
:
'다시 제출'
,
'table.purchase.qingshangchuanzige'
:
'자격증 파일을 올려주세요.'
,
'table.purchase.gaipingbiaomuban'
:
'이 평가 템플릿은 이미 사용 중이므로 삭제할 수 없습니다.'
,
...
...
src/locales/zh-CN/purchase.ts
View file @
a0e29074
...
...
@@ -933,6 +933,7 @@ export default {
'table.purchase.qingxiangouxuandan'
:
'请先勾选单据'
,
'table.purchase.piliangtijiaotou'
:
'批量提交投标'
,
'table.purchase.qingxianxuanzetou'
:
'请先选择投标'
,
'table.purchase.zhinengtijiaodaishenhe'
:
'只能提交待提交审核投标的投标'
,
'table.purchase.chongxintijiao'
:
'重新提交'
,
'table.purchase.qingshangchuanzige'
:
'请上传资格证明文件'
,
'table.purchase.gaipingbiaomuban'
:
'该评标模板已经被使用,不能删除'
,
...
...
src/pages/procurement/tender/readyAddTender/index.tsx
View file @
a0e29074
...
...
@@ -33,18 +33,18 @@ const ReadyAddTender: React.FC<ReadyAddTenderProps> = () => {
const
{
columns
,
ref
,
rowSelection
,
rowSelectionCtl
}
=
useSelfTable
()
const
handleBitchPush
=
async
()
=>
{
// const canBitch = !rowSelectionCtl.selectRow.some(v => v.submitTenderInStatus !== TenderInsideWorkState.Not_Submitted_Check_Submit_Tender
)
const
canBitch
=
!
rowSelectionCtl
.
selectRow
.
some
(
v
=>
v
.
isSubmitCheck
===
false
)
if
(
!
rowSelectionCtl
.
selectRow
.
length
)
return
message
.
error
(
intl
.
formatMessage
({
id
:
'table.purchase.qingxianxuanzetou'
}))
// if (canBitch) {
const
{
code
}
=
await
run
({
idList
:
rowSelectionCtl
.
selectedRowKeys
})
if
(
code
===
1000
)
{
ref
.
current
.
reload
()
rowSelectionCtl
.
setSelectRow
([])
rowSelectionCtl
.
setSelectedRowKeys
([])
if
(
canBitch
)
{
const
{
code
}
=
await
run
({
idList
:
rowSelectionCtl
.
selectedRowKeys
})
if
(
code
===
1000
)
{
ref
.
current
.
reload
()
rowSelectionCtl
.
setSelectRow
([])
rowSelectionCtl
.
setSelectedRowKeys
([])
}
}
else
{
message
.
error
(
intl
.
formatMessage
({
id
:
'table.purchase.zhinengtijiaodaishenhe'
}))
}
// } else {
// message.error('只能提交待提交审核投标的投标')
// }
}
return
<
PageHeaderWrapper
>
...
...
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