Commit 32854e1f authored by LeeJiancong's avatar LeeJiancong

'新建物流单的发货单字段修改'

parent db324e9d
......@@ -3,7 +3,7 @@
* @Date: 2020-07-28 11:25:30
* @LastEditors: LeeJiancong
* @Copyright: 1549414730@qq.com
* @LastEditTime: 2020-09-29 11:47:41
* @LastEditTime: 2020-10-14 16:23:57
*/
import React, { Component, useEffect, useRef, useState, ReactNode } from 'react'
......@@ -49,6 +49,7 @@ import {
import ReturnEle from '@/components/ReturnEle'
import style from '../components/index.less'
import { history } from 'umi'
import moment from 'moment'
import { values, action } from 'mobx'
import Search from '@/components/NiceForm/components/Search'
const actions = createFormActions()
......@@ -180,8 +181,7 @@ const Deatail: React.FC<{}> = () => {
align: 'center',
dataIndex: 'createTime',
key: 'createTime',
render: (text, redcord) =>
<>{text}</>
render: (text: any) => <>{moment(text).format('YYYY-MM-DD HH:mm:ss')}</>
}
]
......@@ -201,32 +201,33 @@ const Deatail: React.FC<{}> = () => {
{
title: '对应订单号',
align: 'center',
dataIndex: 'id2',
key: 'id2',
dataIndex: 'invoicesNo',
key: 'invoicesNo',
},
{
title: '单据摘要',
align: 'center',
dataIndex: 'orderThe',
key: 'orderThe'
dataIndex: 'invoicesAbstract',
key: 'invoicesAbstract'
},
{
title: '对应仓库',
align: 'center',
dataIndex: '',
key: '',
dataIndex: 'inventory',
key: 'inventory',
},
{
title: '单据类型',
align: 'center',
dataIndex: '',
key: '',
dataIndex: 'invoicesType',
key: 'invoicesType',
},
{
title: '单据时间',
align: 'center',
dataIndex: 'createTime',
key: 'createTime',
dataIndex: 'transactionTime',
key: 'transactionTime',
render: (text: any) => <>{moment(text).format('YYYY-MM-DD HH:mm:ss')}</>
}
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment