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
f971d44d
Commit
f971d44d
authored
Oct 19, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into test
parents
a93d154b
6a859fc8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
9 deletions
+21
-9
templateForm.tsx
src/pages/logistics/list/components/templateForm.tsx
+18
-6
template.tsx
src/pages/logistics/list/template.tsx
+2
-2
index.tsx
...ages/transaction/enquiryOfferConfirm/components/index.tsx
+1
-1
No files found.
src/pages/logistics/list/components/templateForm.tsx
View file @
f971d44d
...
...
@@ -2,7 +2,7 @@
* @Author: LeeJiancong
* @Date: 2020-07-15 10:31:55
* @LastEditors: LeeJiancong
* @LastEditTime: 2020-10-1
4 15:16:33
* @LastEditTime: 2020-10-1
6 14:51:25
*/
import
React
,
{
Component
,
useState
,
useEffect
}
from
'react'
;
import
ReactDOM
from
'react-dom'
...
...
@@ -141,16 +141,28 @@ const diaLogForm: React.FC<ListProps> = (props) => {
const
FormSumbit
=
(
values
:
any
)
=>
{
let
id
=
history
.
location
.
query
.
id
let
value
=
{
...
values
}
if
(
value
.
designateList
.
length
===
1
&&
JSON
.
stringify
(
value
.
designateList
[
0
])
===
'{}'
){
delete
value
.
designateList
}
if
(
id
==
0
)
{
PublicApi
.
postLogisticsFreightTemplateAdd
(
value
).
then
(
res
=>
{
})
PublicApi
.
postLogisticsFreightTemplateAdd
(
value
).
then
(
res
=>
{
if
(
res
.
code
===
1000
){
setTimeout
(()
=>
{
history
.
goBack
()
},
1000
)
}
})
}
else
{
value
.
id
=
Number
(
id
)
PublicApi
.
postLogisticsFreightTemplateUpdate
(
value
).
then
(
res
=>
{
})
PublicApi
.
postLogisticsFreightTemplateUpdate
(
value
).
then
(
res
=>
{
if
(
res
.
code
===
1000
){
setTimeout
(()
=>
{
history
.
goBack
()
},
1000
)
}
})
}
setTimeout
(()
=>
{
history
.
goBack
()
},
1000
)
}
const
onSearch
=
()
=>
{
...
...
src/pages/logistics/list/template.tsx
View file @
f971d44d
EyePreview
/*
/*
* @Author: LeeJiancong
* @Date: 2020-07-14 15:07:34
* @LastEditors: LeeJiancong
* @LastEditTime: 2020-
08-19 11:03:37
* @LastEditTime: 2020-
10-16 14:29:56
*/
import
React
,
{
Component
,
ReactNode
,
useRef
,
useState
}
from
'react'
import
{
history
}
from
'umi'
...
...
src/pages/transaction/enquiryOfferConfirm/components/index.tsx
View file @
f971d44d
...
...
@@ -3,7 +3,7 @@
* @Date: 2020-08-24 11:39:11
* @LastEditors: LeeJiancong
* @Copyright: 1549414730@qq.com
* @LastEditTime: 2020-
09-28 14:35:22
* @LastEditTime: 2020-
10-15 15:11:34
*/
/**
* @description: 组件描述: 一级 二级 待提交报价单
...
...
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