Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
44d8adbc
Commit
44d8adbc
authored
May 11, 2021
by
FE-安焕焕
👣
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'exportBug' into 'master'
Export bug See merge request
!7
parents
1d7099e8
f43599fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
index.jsx
src/pages/orderManage/pendingDeliveryOrder/index.jsx
+3
-0
No files found.
src/pages/orderManage/pendingDeliveryOrder/index.jsx
View file @
44d8adbc
...
@@ -3,6 +3,7 @@ import React, { useState, useEffect, useRef } from 'react';
...
@@ -3,6 +3,7 @@ import React, { useState, useEffect, useRef } from 'react';
import
{
PageHeaderWrapper
}
from
'
@ant-design/pro-layout
'
;
import
{
PageHeaderWrapper
}
from
'
@ant-design/pro-layout
'
;
import
ProTable
from
'
@ant-design/pro-table
'
;
import
ProTable
from
'
@ant-design/pro-table
'
;
import
{
FormInstance
}
from
'
antd/lib/form
'
;
import
{
FormInstance
}
from
'
antd/lib/form
'
;
import
moment
from
'
moment
'
;
import
LogisticsForm
from
'
./components/LogisticsForm
'
;
import
LogisticsForm
from
'
./components/LogisticsForm
'
;
import
style
from
'
./styles.less
'
;
import
style
from
'
./styles.less
'
;
import
PopoverDom
from
'
./components/PreviewImage
'
;
import
PopoverDom
from
'
./components/PreviewImage
'
;
...
@@ -298,6 +299,8 @@ const TableList = props => {
...
@@ -298,6 +299,8 @@ const TableList = props => {
onClick=
{
()
=>
{
onClick=
{
()
=>
{
if
(
ref
.
current
)
{
if
(
ref
.
current
)
{
const
obj
=
{
...
ref
.
current
.
getFieldsValue
(),
logisticsStatus
:
props
.
type
||
1
};
const
obj
=
{
...
ref
.
current
.
getFieldsValue
(),
logisticsStatus
:
props
.
type
||
1
};
obj
.
beginTime
=
obj
.
beginTime
&&
moment
(
obj
.
beginTime
).
format
(
'
YYYY-MM-DD
'
);
obj
.
endTime
=
obj
.
endTime
&&
moment
(
obj
.
endTime
).
format
(
'
YYYY-MM-DD
'
);
downOrder
(
obj
);
downOrder
(
obj
);
}
}
}
}
}
}
...
...
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