Browse Source

国际化修改

1219
zhang 2 weeks ago
parent
commit
c7ac7bb838
  1. 32
      lms/nladmin-ui/src/views/wms/pdm/ivt/hotpointivt/Dialog.vue

32
lms/nladmin-ui/src/views/wms/pdm/ivt/hotpointivt/Dialog.vue

@ -1,6 +1,6 @@
<template> <template>
<el-dialog <el-dialog
title="回传MES" :title="$t('hotpointivt.title3')"
append-to-body append-to-body
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
:before-close="handleClose" :before-close="handleClose"
@ -9,21 +9,21 @@
@close="close" @close="close"
> >
<el-form ref="form" :model="form1" size="mini" label-width="110px"> <el-form ref="form" :model="form1" size="mini" label-width="110px">
<el-form-item label="母卷号" prop="container_name"> <el-form-item :label="$t('hotpointivt.placeholder.container_name')" prop="container_name">
<el-input v-model="form1.container_name" clearable size="mini"/> <el-input v-model="form1.container_name" clearable size="mini" />
</el-form-item> </el-form-item>
<el-form-item label="烘烤时间" prop="oven_time"> <el-form-item :label="$t('hotpointivt.dialog.oven_time')" prop="oven_time">
<el-input v-model="form1.oven_time" clearable size="mini"/> <el-input v-model="form1.oven_time" clearable size="mini" />
</el-form-item> </el-form-item>
<el-form-item label="烘烤温度" prop="temperature"> <el-form-item :label="$t('hotpointivt.placeholder.temperature')" prop="temperature">
<el-input v-model="form1.temperature" clearable size="mini"/> <el-input v-model="form1.temperature" clearable size="mini" />
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="text" @click="close">取消</el-button> <el-button type="text" @click="close">{{ $t('hotpointivt.dialog.cancel') }}</el-button>
<el-button type="primary" @click="confirm('1')">入箱回传</el-button> <el-button type="primary" @click="confirm('1')">{{ $t('hotpointivt.dialog.in_callback') }}</el-button>
<el-button type="primary" @click="confirm('2')">出箱回传</el-button> <el-button type="primary" @click="confirm('2')">{{ $t('hotpointivt.dialog.out_callback') }}</el-button>
</div> </div>
</el-dialog> </el-dialog>
</template> </template>
@ -45,6 +45,12 @@ export default {
type: Object type: Object
} }
}, },
data() {
return {
form1: {},
dialogVisible: false
}
},
watch: { watch: {
dialogShow: { dialogShow: {
handler(newValue, oldValue) { handler(newValue, oldValue) {
@ -53,12 +59,6 @@ export default {
} }
} }
}, },
data() {
return {
form1: {},
dialogVisible: false
}
},
methods: { methods: {
handleClose(done) { handleClose(done) {
this.$confirm('确认关闭?') this.$confirm('确认关闭?')

Loading…
Cancel
Save