From 7491f7cdaf9a0010dcf3a625757435bf9c8aebe1 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Wed, 21 Jan 2026 17:04:22 +0800 Subject: [PATCH] slitting en id --- locale/en-1.json | 17 ++++++++++++++++- locale/id-1.json | 17 ++++++++++++++++- locale/zh-Hans-1.json | 18 +++++++++++++++++- pages/SecondPhase/slitting/CacheClean.vue | 9 +++++---- pages/SecondPhase/slitting/CacheCut.vue | 3 +-- pages/SecondPhase/slitting/CallShaft.vue | 14 +++++++------- pages/SecondPhase/slitting/EmptyAxisReturn.vue | 5 ++--- pages/SecondPhase/slitting/TestNumInput.vue | 2 +- pages/SecondPhase/slitting/UpperShaftCut.vue | 3 +-- 9 files changed, 66 insertions(+), 22 deletions(-) diff --git a/locale/en-1.json b/locale/en-1.json index fc0251b..c570568 100644 --- a/locale/en-1.json +++ b/locale/en-1.json @@ -26,6 +26,8 @@ "button.emptydiskrecycle": "Empty disk recycle", "button.upperfullroll": "Upper Full roll", "button.weigh-check": "Weigh check", + "button.close": "Close", + "button.urgent": "Urgent", "filter.bill-code": "Bill code", "filter.warehouse": "Warehouse", "filter.woodenbox": "Woodenbox", @@ -85,8 +87,21 @@ "grid.areaname": "Area name", "grid.signnum": "Allocated quantity", "grid.woodenboxcode": "Woodenbox code", + "grid.prepare-set-shaft": "Prepare to set the shaft", + "grid.delivery-in-progress": "Delivery in progress", + "grid.delivery-completed": "Delivery completed", + "grid.completed": "Completed", + "toast.confirm-whether-clear-pointdata": "Confirm whether to clear the point data?", + "toast.confirm-bind-sub-roll": "Are you sure to bind the sub volume?", + "toast.confirm-bind-inflation-axis": "Confirm if the inflation axis is bound?", + "toast.confirm-create-AGV-task-to-inner-room": "Confirm whether to create an AGV task to be sent to inner packaging room?", + "toast.confirm-call-truss-inflation-axis": "Are you sure to call the inflation axis on the truss?", "select.uppershaft": "Upper shaft", "select.lowershaft": "Lower shaft", "select.leftroll": "Left roll", - "select.rightroll": "Right roll" + "select.rightroll": "Right roll", + "select.3c4d": "3-inch 4th generation", + "select.3c5d": "3-inch 5th generation", + "select.6c4d": "6-inch 4th generation", + "select.6c5d": "6-inch 5th generation" } \ No newline at end of file diff --git a/locale/id-1.json b/locale/id-1.json index 6f487d5..3a20e1e 100644 --- a/locale/id-1.json +++ b/locale/id-1.json @@ -26,6 +26,8 @@ "button.emptydiskrecycle": "Daur Ulang Disk Kosong", "button.upperfullroll": "Penuh", "button.weigh-check": "Verifikasi bobot", + "button.close": "Tutup", + "button.urgent": "Cepat!", "filter.bill-code": "Kode dokumen", "filter.warehouse": "gudang", "filter.woodenbox": "Kotak kayu", @@ -83,8 +85,21 @@ "grid.areaname": "Nama daerah", "grid.signnum": "Jumlah yang dialokasikan", "grid.woodenboxcode": "Kode Kardus Kayu", + "grid.prepare-set-shaft": "Persiapkan poros", + "grid.delivery-in-progress": "Pengiriman", + "grid.delivery-completed": "Pengiriman selesai", + "grid.completed": "Selesai", + "toast.confirm-whether-clear-pointdata": "Memastikan apakah data titik telah dihapus?", + "toast.confirm-bind-sub-roll": "Memastikan apakah subvolume diikat?", + "toast.confirm-bind-inflation-axis": "Memastikan apakah Anda mengikat poros inflasi?", + "toast.confirm-create-AGV-task-to-inner-room": "Memastikan apakah membuat tugas AGV yang dikirim ke dalam paket?", + "toast.confirm-call-truss-inflation-axis": "Kau yakin panggilan pada poros inflator?", "select.uppershaft": "Poros Atas", "select.lowershaft": "Poros bawah", "select.leftroll": "Gulung Kiri", - "select.rightroll": "Gulung kanan" + "select.rightroll": "Gulung kanan", + "select.3c4d": "3 inci 4 generasi", + "select.3c5d": "3 inci 5 generasi", + "select.6c4d": "6 inci 4 generasi", + "select.6c5d": "6 inci 5 generasi" } \ No newline at end of file diff --git a/locale/zh-Hans-1.json b/locale/zh-Hans-1.json index 7703997..ffce2e1 100644 --- a/locale/zh-Hans-1.json +++ b/locale/zh-Hans-1.json @@ -26,6 +26,8 @@ "button.emptydiskrecycle": "空盘回收", "button.upperfullroll": "上满卷", "button.weigh-check": "称重校验", + "button.close": "关闭", + "button.urgent": "加急", "filter.bill-code": "单据编码", "filter.warehouse": "仓库", "filter.woodenbox": "木箱", @@ -86,8 +88,22 @@ "grid.areaname": "区域名称", "grid.signnum": "已分配数量", "grid.woodenboxcode": "木箱码", + "grid.prepare-set-shaft": "准备套轴", + "grid.delivery-in-progress": "正在配送", + "grid.delivery-completed": "配送完成", + "grid.completed": "已完成", + "toast.confirm-whether-clear-pointdata": "确认是否清除点位数据?", + "toast.confirm-bind-sub-roll": "确认是否绑定子卷?", + "toast.confirm-bind-inflation-axis": "确认是否绑定气胀轴?", + "toast.confirm-create-AGV-task-to-inner-room": "确认是否创建送到内包间AGV任务?", + "toast.confirm-call-truss-inflation-axis": "确定呼叫桁架上气胀轴?", "select.uppershaft": "上轴", "select.lowershaft": "下轴", "select.leftroll": "左卷", - "select.rightroll": "右卷" + "select.rightroll": "右卷", + "select.3c4d": "3寸4代", + "select.3c5d": "3寸5代", + "select.6c4d": "6寸4代", + "select.6c5d": "6寸5代" + } \ No newline at end of file diff --git a/pages/SecondPhase/slitting/CacheClean.vue b/pages/SecondPhase/slitting/CacheClean.vue index 866ee9c..50029dd 100644 --- a/pages/SecondPhase/slitting/CacheClean.vue +++ b/pages/SecondPhase/slitting/CacheClean.vue @@ -29,7 +29,8 @@ - + + @@ -69,7 +70,7 @@ if (!this.val1) { return } - this.content = '确认是否清除点位数据?' + this.content = this.$t('toast.confirm-whether-clear-pointdata') this.type = 1 this.$refs.alertDialog.open() }, @@ -88,7 +89,7 @@ if (!this.val1 || !this.val2) { return } - this.content = '确认是否绑定子卷?' + this.content = this.$t('toast.confirm-bind-sub-roll') this.type = 2 this.$refs.alertDialog.open() }, @@ -107,7 +108,7 @@ if (!this.val1 || !this.val2) { return } - this.content = '确认是否绑定气胀轴?' + this.content = this.$t('toast.confirm-bind-inflation-axis') this.type = 3 this.$refs.alertDialog.open() }, diff --git a/pages/SecondPhase/slitting/CacheCut.vue b/pages/SecondPhase/slitting/CacheCut.vue index 6c8dfb8..808dd1f 100644 --- a/pages/SecondPhase/slitting/CacheCut.vue +++ b/pages/SecondPhase/slitting/CacheCut.vue @@ -115,8 +115,7 @@ } if (type === 1) { uni.showModal({ - title: '提示', - content: '确认是否创建送到内包间AGV任务?', + content: this.$t('toast.confirm-create-AGV-task-to-inner-room'), confirmColor: '#ff6a00', success: (res) => { if (res.confirm) { diff --git a/pages/SecondPhase/slitting/CallShaft.vue b/pages/SecondPhase/slitting/CallShaft.vue index 10ee507..150a19a 100644 --- a/pages/SecondPhase/slitting/CallShaft.vue +++ b/pages/SecondPhase/slitting/CallShaft.vue @@ -51,7 +51,7 @@ {{$t('grid.number')}} {{$t('filter.device')}} {{$t('grid.place')}} - tube + {{$t('filter.tubecode')}} {{$t('grid.status')}} {{$t('grid.calltime')}} {{$t('grid.operate')}} @@ -61,13 +61,13 @@ {{Number(i) + 1}} {{e.resource_name}} - {{['上轴', '下轴'][Number(e.up_or_down) - 1]}} + {{[$t('select.uppershaft'), $t('select.lowershaft')][Number(e.up_or_down) - 1]}} {{e.tube}} {{getStatusText(e.status)}} {{e.start_time}} - + @@ -267,11 +267,11 @@ }, getStatusText(status) { const statusMap = { - '01': '准备套轴', - '02': '正在配送', - '03': '配送完成' + '01': this.$t('grid.prepare-set-shaft'), + '02': this.$t('grid.delivery-in-progress'), + '03': this.$t('grid.delivery-completed') } - return statusMap[status] || '已完成' + return statusMap[status] || this.$t('grid.completed') }, async _showManualView () { let res = await showManualView() diff --git a/pages/SecondPhase/slitting/EmptyAxisReturn.vue b/pages/SecondPhase/slitting/EmptyAxisReturn.vue index 56133f3..c77585f 100644 --- a/pages/SecondPhase/slitting/EmptyAxisReturn.vue +++ b/pages/SecondPhase/slitting/EmptyAxisReturn.vue @@ -61,7 +61,7 @@ options2: [], index2: '', obj: {a_point: '-', b_point: '-', status: '-'}, - options1: [{text: '3寸4代', value: '3-4'}, {text: '3寸5代', value: '3-5'}, {text: '6寸4代', value: '6-4'}, {text: '6寸5代', value: '6-5'}], + options1: [{text: this.$t('select.3c4d'), value: '3-4'}, {text: this.$t('select.3c5d'), value: '3-5'}, {text: this.$t('select.6c4d'), value: '6-4'}, {text: this.$t('select.6c5d'), value: '6-5'}], size1: '', size2: '', disabled: false @@ -134,8 +134,7 @@ return } uni.showModal({ - title: '提示', - content: '确认是否创建送到内包间AGV任务?', + content: this.$t('toast.confirm-create-AGV-task-to-inner-room'), confirmColor: '#ff6a00', success: (res) => { if (res.confirm) { diff --git a/pages/SecondPhase/slitting/TestNumInput.vue b/pages/SecondPhase/slitting/TestNumInput.vue index 50d5229..2cc4c39 100644 --- a/pages/SecondPhase/slitting/TestNumInput.vue +++ b/pages/SecondPhase/slitting/TestNumInput.vue @@ -6,7 +6,7 @@ :max="999.999" input-class="filter_input" /> - 当前值: {{ numberValue }} + {{ numberValue }} diff --git a/pages/SecondPhase/slitting/UpperShaftCut.vue b/pages/SecondPhase/slitting/UpperShaftCut.vue index 7bef450..1c8fad2 100644 --- a/pages/SecondPhase/slitting/UpperShaftCut.vue +++ b/pages/SecondPhase/slitting/UpperShaftCut.vue @@ -117,8 +117,7 @@ return } uni.showModal({ - title: '提示', - content: '确定呼叫桁架上气胀轴?', + content: this.$t('toast.confirm-call-truss-inflation-axis'), confirmColor: '#ff6a00', success: (res) => { if (res.confirm) {