From 13b0bad30ef1df53492cbab1c1b99dfc02dee63f Mon Sep 17 00:00:00 2001 From: haoyahui <2032914783@qq.com> Date: 星期二, 21 十一月 2023 17:51:16 +0800 Subject: [PATCH] 台账管理,盘点任务开发 --- admin-web/src/views/stock/accessStock/outboundDetails/index.vue | 28 ++++++++++++++++++++-------- 1 files changed, 20 insertions(+), 8 deletions(-) diff --git a/admin-web/src/views/stock/accessStock/outboundDetails/index.vue b/admin-web/src/views/stock/accessStock/outboundDetails/index.vue index e94ddb1..2c0cf43 100644 --- a/admin-web/src/views/stock/accessStock/outboundDetails/index.vue +++ b/admin-web/src/views/stock/accessStock/outboundDetails/index.vue @@ -30,6 +30,7 @@ import myImport from '@/views/components/myImport'; import { goodsTemplate, goodsModel } from '@/api/baseSetting/finsystenant'; import { outputDtailList } from '@/api/stock/accessStock'; +import * as DateFormatter from '@/utils/DateFormatter'; export default { name: 'index', @@ -51,13 +52,16 @@ label: '绫诲瀷', placeholder: '璇烽�夋嫨', defaultValue: '', - options: [{ - label:'閲囪喘鍏ュ簱', - value:1 - },{ - label:'閫�杩樺叆搴�', - value:2 - }], + options: [ + { + label: '閲囪喘鍏ュ簱', + value: 1, + }, + { + label: '閫�杩樺叆搴�', + value: 2, + }, + ], }, { type: 'select', @@ -152,7 +156,15 @@ { title: '閲戦', field: 'totalPrice', align: 'left' }, { title: '鎵�灞炴満鏋�', field: 'agencyName', align: 'left' }, { title: '鍒涘缓浜�', field: 'createdName', align: 'left' }, - { title: '鎿嶄綔鏃堕棿', field: 'dealTime', align: 'left' }, + { + title: '鎿嶄綔鏃堕棿', + field: 'dealTime', + align: 'center', + width: 160, + formatter: (row) => { + return { value: DateFormatter.LongToDateTime(row.createTime) }; + }, + }, ], // 鎿嶄綔淇℃伅 operation: { -- Gitblit v1.9.1