Commit 865a1c38 authored by XieZhiXiong's avatar XieZhiXiong

fix: 格式化生产通知单时间

parent 414b106c
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
* @Author: XieZhiXiong * @Author: XieZhiXiong
* @Date: 2020-12-22 18:01:50 * @Date: 2020-12-22 18:01:50
* @LastEditors: XieZhiXiong * @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-22 18:01:51 * @LastEditTime: 2020-12-24 11:01:22
* @Description: 单据列表 弹窗表格列 * @Description: 单据列表 弹窗表格列
*/ */
import moment from 'moment';
import { import {
ORDER_TYPE2, ORDER_TYPE2,
PurchaseOrderInsideWorkStateTexts, PurchaseOrderInsideWorkStateTexts,
...@@ -109,6 +110,7 @@ export const machiningWarehousingColumns = [ ...@@ -109,6 +110,7 @@ export const machiningWarehousingColumns = [
title: '单据时间', title: '单据时间',
align: 'center', align: 'center',
dataIndex: 'createTime', dataIndex: 'createTime',
render: text => moment(text).format('YYYY-MM-DD HH:mm:ss'),
}, },
{ {
title: '申请单状态', title: '申请单状态',
...@@ -140,6 +142,7 @@ export const machiningDeliveryColumns = [ ...@@ -140,6 +142,7 @@ export const machiningDeliveryColumns = [
title: '单据时间', title: '单据时间',
align: 'center', align: 'center',
dataIndex: 'createTime', dataIndex: 'createTime',
render: text => moment(text).format('YYYY-MM-DD HH:mm:ss'),
}, },
{ {
title: '申请单状态', title: '申请单状态',
......
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