巴林闲侠 2 years ago
parent
commit
b0a5f16146
  1. 4
      web/client/src/sections/workOrder/containers/initiated.jsx
  2. 2
      web/client/src/sections/workOrder/containers/receipt.jsx

4
web/client/src/sections/workOrder/containers/initiated.jsx

@ -93,7 +93,7 @@ const Rest = (props) => {
}, {
title: '提交时间',
dataIndex: 'submissionTime',
render: (text, record, index) => text && moment(text).format('YYYY-MM-DD HH:mm:ss') || '--'
render: (text, record, index) => text && moment(text).add(8, 'hours').format('YYYY-MM-DD HH:mm:ss') || '--'
}, {
title: '期望完成时间',
dataIndex: 'expectTime',
@ -187,7 +187,7 @@ const Rest = (props) => {
layout="horizontal"
style={{ position: "relative", width: "100%", flex: 1 }}
onSubmit={(values) => {
if (values?.applyTimes?.length) {
if (values?.applyTimes?.length) {
values.applyTimes = [moment(values?.applyTimes[0]).format('YYYY-MM-DD HH:mm:ss'), moment(values?.applyTimes[1]).endOf('day').format('YYYY-MM-DD HH:mm:ss')]
}
backlogData({ ...values, limit: 10, page: 0 })

2
web/client/src/sections/workOrder/containers/receipt.jsx

@ -103,7 +103,7 @@ const Rest = (props) => {
}, {
title: '提交时间',
dataIndex: 'submissionTime',
render: (text, record, index) => text && moment(text).format('YYYY-MM-DD HH:mm:ss') || '--'
render: (text, record, index) => text && moment(text).add(8, 'hours').format('YYYY-MM-DD HH:mm:ss') || '--'
}, {
title: '期望完成时间',
dataIndex: 'expectTime',

Loading…
Cancel
Save