fix: 修改落下的带毫秒数的组件

This commit is contained in:
Xu Zhimeng 2023-12-29 15:48:44 +08:00
parent b6501459c7
commit 6f50e793f6

View File

@ -19,7 +19,12 @@
<script> <script>
import { cloneDeep } from 'lodash' import { cloneDeep } from 'lodash'
import CustomTimeInput from '@/components/CustomTimeInput/index.vue'
export default { export default {
components: {
CustomTimeInput,
},
computed: { computed: {
columns() { columns() {
return [ return [
@ -63,14 +68,14 @@ export default {
}, },
{ {
label: 'Stable Xe meas. start time [HH:MM:SS.S]', label: 'Stable Xe meas. start time [HH:MM:SS.S]',
type: 'a-time-picker', type: 'CustomTimeInput',
dataIndex: 'stableXeMeasStartTime', dataIndex: 'stableXeMeasStartTime',
attrs: { attrs: {
format: 'HH:mm:ss', format: 'HH:mm:ss',
valueFormat: 'HH:mm:ss', valueFormat: 'HH:mm:ss',
}, },
on: { on: {
change: (mont, date) => { change: (date) => {
this.detail.receiptTime = date this.detail.receiptTime = date
this.handleValChange(date) this.handleValChange(date)
}, },