From 044c32c15ee9ccac6f3b60eb6745025e2f4480f2 Mon Sep 17 00:00:00 2001 From: 严智鑫 <test> Date: 星期三, 11 十二月 2024 16:59:54 +0800 Subject: [PATCH] 报工回传+库位显示 --- UI-Project/src/views/SilkScreen/SilkScreen.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/UI-Project/src/views/SilkScreen/SilkScreen.vue b/UI-Project/src/views/SilkScreen/SilkScreen.vue index e86836f..8797e77 100644 --- a/UI-Project/src/views/SilkScreen/SilkScreen.vue +++ b/UI-Project/src/views/SilkScreen/SilkScreen.vue @@ -6,6 +6,7 @@ import { useI18n } from 'vue-i18n' import { WebSocketHost ,host} from '@/utils/constants' import { initializeWebSocket, closeWebSocket } from '@/utils/WebSocketService'; +import {gridDateFormatter} from '@/stores/tool'; let language = ref(localStorage.getItem('lang') || 'zh') const { t } = useI18n() @@ -197,7 +198,7 @@ {{findMachine['state']=='寮�宸�'?$t('functionState.start'):$t('functionState.stop')}}</el-button> <el-button type="primary" id="ButtonTopLine" @click="topLine">{{$t('functionState.topLine')}}</el-button> </div> - <div id="main-body" style="height:240px; min-height:240px;"> + <div id="main-body" style=" min-height:240px;"> <!-- 琛ㄦ牸鍐呭 --> <el-table :data="loadData" stripe style="height:680px" :header-cell-style="{ background: '#F2F3F5 ', color: '#1D2129', textAlign: 'center' }" @@ -214,6 +215,7 @@ <el-table-column prop="silkScreenX" :label="$t('glassInfo.silkScreenX')"/> <el-table-column prop="silkScreenY" :label="$t('glassInfo.silkScreenY')"/> <el-table-column prop="workState" :label="$t('glassInfo.workState')"/> + <el-table-column prop="operationRecordTime" :formatter="gridDateFormatter" :label="$t('glassInfo.operationRecordTime')" width="180"/> <el-table-column fixed="right" :label="$t('productStock.operate')" align="center" width="270"> <template #default="scope"> <el-button size="mini" link type="primary" plain @click="workStatus(scope.row, '閲嶅彂')" >{{$t('functionState.anew')}}</el-button> -- Gitblit v1.8.0