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
陈智峰
jinfa-platform
Commits
75637bd2
Commit
75637bd2
authored
Sep 27, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
7a984fbe
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
config.ts
config/config.ts
+5
-0
index.tsx
...s/transaction/purchaseOrder/secondApprovedOrder/index.tsx
+8
-1
No files found.
config/config.ts
View file @
75637bd2
...
...
@@ -7,6 +7,11 @@ const OPEN_THEME_BUILD = process.env.NODE_ENV === 'production' ? true : false //
const
config
:
any
=
{
title
:
'瓴犀开放平台'
,
// 如需写入环境变量 需在config中先写入
define
:
{
"process.env.SITE_ID"
:
process
.
env
.
SITE_ID
,
"process.env.BACK_GATEWAY"
:
process
.
env
.
BACK_GATEWAY
},
// layout: {},
antd
:
{},
locale
:
{
...
...
src/pages/transaction/purchaseOrder/secondApprovedOrder/index.tsx
View file @
75637bd2
...
...
@@ -32,9 +32,16 @@ const FirstApprovedOrder:React.FC<FirstApprovedOrderProps> = (props) => {
const
[
rowSelection
,
rowSelectionCtl
]
=
useRowSelectionTable
({
customKey
:
'id'
})
const
handleSubmitBatch
=
async
()
=>
{
await
PublicApi
.
postOrderProcurementOrderReviewedAllTwo
({
const
{
code
}
=
await
PublicApi
.
postOrderProcurementOrderReviewedAllTwo
({
ids
:
rowSelectionCtl
.
selectedRowKeys
})
if
(
code
===
1000
)
{
// 清空选中的值
ref
.
current
.
reload
()
rowSelectionCtl
.
setSelectRow
([])
rowSelectionCtl
.
setSelectedRowKeys
([])
}
}
return
<
PageHeaderWrapper
>
<
Card
>
...
...
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