diff --git a/.env.development b/.env.development index fbcc74b..b8ccd8b 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ VITE_APP_NAME=后台管理(开发环境) -VITE_API_URL=http://127.0.0.1:9200/api +#VITE_API_URL=http://127.0.0.1:9200/api #VITE_SERVER_API_URL=http://127.0.0.1:8000/api diff --git a/src/views/glt/gltTicketOrder/index.vue b/src/views/glt/gltTicketOrder/index.vue index d726b38..81118a2 100644 --- a/src/views/glt/gltTicketOrder/index.vue +++ b/src/views/glt/gltTicketOrder/index.vue @@ -43,7 +43,7 @@ @@ -313,6 +313,10 @@ return value ? toDateString(value, 'yyyy-MM-dd HH:mm:ss') : '-'; }; + const formatDay = (value?: string) => { + return value ? toDateString(value, 'yyyy-MM-dd') : '-'; + }; + const getOrderStatus = (record: any) => { const { sendTime, arriveTime, signTime } = getOrderTimes(record); if (signTime) return { value: 3, label: '已签收', color: 'red' }; @@ -355,8 +359,7 @@ { title: '订水用户', dataIndex: 'nickname', - key: 'nickname', - width: 360 + key: 'nickname' }, // { // title: '送货地址', @@ -377,7 +380,8 @@ title: '送水数量(桶)', dataIndex: 'totalNum', key: 'totalNum', - align: 'center' + align: 'center', + width: 120 }, // { // title: '买家留言',