Commit 4aa36959 authored by 前端-许佳敏's avatar 前端-许佳敏
parents 79fad5cf 32854e1f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: LeeJiancong * @Author: LeeJiancong
* @Date: 2020-07-22 09:54:50 * @Date: 2020-07-22 09:54:50
* @LastEditors: LeeJiancong * @LastEditors: LeeJiancong
* @LastEditTime: 2020-10-09 10:54:23 * @LastEditTime: 2020-10-12 18:13:49
*/ */
/** /**
* 正则表达式集合 * 正则表达式集合
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: LeeJiancong * @Author: LeeJiancong
* @Date: 2020-07-15 10:31:55 * @Date: 2020-07-15 10:31:55
* @LastEditors: LeeJiancong * @LastEditors: LeeJiancong
* @LastEditTime: 2020-09-17 17:22:21 * @LastEditTime: 2020-10-14 15:16:33
*/ */
import React, { Component, useState, useEffect } from 'react'; import React, { Component, useState, useEffect } from 'react';
import ReactDOM from 'react-dom' import ReactDOM from 'react-dom'
...@@ -108,7 +108,7 @@ const diaLogForm: React.FC<ListProps> = (props) => { ...@@ -108,7 +108,7 @@ const diaLogForm: React.FC<ListProps> = (props) => {
PublicApi.getManageAreaByPcodeAll({ pcode: '100000' }).then(res => { PublicApi.getManageAreaByPcodeAll({ pcode: '100000' }).then(res => {
let list = [] let list = []
res.data.forEach((item: any, index: number) => { res.data.forEach((item: any, index: number) => {
list.push({ label: item.name, value: Number(item.code) }) list.push({ label: item.name, value: item.code })
}) })
setProvinceList(list) setProvinceList(list)
}) })
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Date: 2020-07-28 11:25:30 * @Date: 2020-07-28 11:25:30
* @LastEditors: LeeJiancong * @LastEditors: LeeJiancong
* @Copyright: 1549414730@qq.com * @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' import React, { Component, useEffect, useRef, useState, ReactNode } from 'react'
...@@ -49,6 +49,7 @@ import { ...@@ -49,6 +49,7 @@ import {
import ReturnEle from '@/components/ReturnEle' import ReturnEle from '@/components/ReturnEle'
import style from '../components/index.less' import style from '../components/index.less'
import { history } from 'umi' import { history } from 'umi'
import moment from 'moment'
import { values, action } from 'mobx' import { values, action } from 'mobx'
import Search from '@/components/NiceForm/components/Search' import Search from '@/components/NiceForm/components/Search'
const actions = createFormActions() const actions = createFormActions()
...@@ -180,8 +181,7 @@ const Deatail: React.FC<{}> = () => { ...@@ -180,8 +181,7 @@ const Deatail: React.FC<{}> = () => {
align: 'center', align: 'center',
dataIndex: 'createTime', dataIndex: 'createTime',
key: 'createTime', key: 'createTime',
render: (text, redcord) => render: (text: any) => <>{moment(text).format('YYYY-MM-DD HH:mm:ss')}</>
<>{text}</>
} }
] ]
...@@ -201,32 +201,33 @@ const Deatail: React.FC<{}> = () => { ...@@ -201,32 +201,33 @@ const Deatail: React.FC<{}> = () => {
{ {
title: '对应订单号', title: '对应订单号',
align: 'center', align: 'center',
dataIndex: 'id2', dataIndex: 'invoicesNo',
key: 'id2', key: 'invoicesNo',
}, },
{ {
title: '单据摘要', title: '单据摘要',
align: 'center', align: 'center',
dataIndex: 'orderThe', dataIndex: 'invoicesAbstract',
key: 'orderThe' key: 'invoicesAbstract'
}, },
{ {
title: '对应仓库', title: '对应仓库',
align: 'center', align: 'center',
dataIndex: '', dataIndex: 'inventory',
key: '', key: 'inventory',
}, },
{ {
title: '单据类型', title: '单据类型',
align: 'center', align: 'center',
dataIndex: '', dataIndex: 'invoicesType',
key: '', key: 'invoicesType',
}, },
{ {
title: '单据时间', title: '单据时间',
align: 'center', align: 'center',
dataIndex: 'createTime', dataIndex: 'transactionTime',
key: 'createTime', 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