From 37a412c042aa0d8c56a5e7005fa4db3117888e01 Mon Sep 17 00:00:00 2001 From: liuhanqing Date: Tue, 29 Jul 2025 15:21:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=A1=E7=A0=81=E4=BF=A1=E6=81=AF=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/lang/en.js | 54 +++++++ ruoyi-ui/src/lang/zh.js | 75 +++++++++ .../{BasCustomer => basCustomer}/index.vue | 0 .../bas/{BasProduct => basProduct}/index.vue | 0 .../{BasSupplier => basSupplier}/index.vue | 0 ruoyi-ui/src/views/bas/traycode/index.vue | 74 ++++----- .../src/views/bas/traycodeFormat/index.vue | 142 +++++++++--------- 7 files changed, 238 insertions(+), 107 deletions(-) rename ruoyi-ui/src/views/bas/{BasCustomer => basCustomer}/index.vue (100%) rename ruoyi-ui/src/views/bas/{BasProduct => basProduct}/index.vue (100%) rename ruoyi-ui/src/views/bas/{BasSupplier => basSupplier}/index.vue (100%) diff --git a/ruoyi-ui/src/lang/en.js b/ruoyi-ui/src/lang/en.js index 8dfb8b8..cef6004 100644 --- a/ruoyi-ui/src/lang/en.js +++ b/ruoyi-ui/src/lang/en.js @@ -1,5 +1,59 @@ // en.js export default { + traycode: { + title: 'Tray Code Management', + formatId: 'Barcode Type ID', + trayCode: 'Barcode', + search: 'Search', + reset: 'Reset', + add: 'Add', + edit: 'Edit', + delete: 'Delete', + export: 'Export', + batchPrint: 'Batch Print', + print: 'Print', + confirm: 'Confirm', + cancel: 'Cancel', + operation: 'Operation', + addTitle: 'Add Barcode Information', + editTitle: 'Edit Barcode Information', + addSuccess: 'Added successfully', + editSuccess: 'Modified successfully', + deleteConfirm: 'Are you sure to delete the barcode information with ID "{ids}"?', + deleteSuccess: 'Deleted successfully', + printControlError: 'Print control not installed or failed to start', + barcodePrint: 'Barcode Print', + printFailed: 'Print failed', + printError: 'Print failed: {error}', + selectPrintItems: 'Please select barcodes to print', + placeholder: { + formatId: 'Please enter barcode type ID', + trayCode: 'Please enter barcode' + } + }, + traycodeFormat: { + title: 'Barcode Generation Rules', + search: 'Search', + reset: 'Reset', + add: 'Add', + edit: 'Edit', + delete: 'Delete', + export: 'Export', + confirm: 'Confirm', + cancel: 'Cancel', + operation: 'Operation', + addTitle: 'Add Barcode Generation Rule', + editTitle: 'Edit Barcode Generation Rule', + addSuccess: 'Added successfully', + editSuccess: 'Modified successfully', + deleteConfirm: 'Are you sure to delete the barcode generation rule with ID "{ids}"?', + deleteSuccess: 'Deleted successfully', + placeholder: { + formatId: 'Please enter barcode type ID', + trayCode: 'Please enter barcode' + }, + createPrintData: 'Create Print Data', + }, viewsMain: { systemTitle: 'Fortucky Management System', title: 'Home', diff --git a/ruoyi-ui/src/lang/zh.js b/ruoyi-ui/src/lang/zh.js index 8d3c215..0191c08 100644 --- a/ruoyi-ui/src/lang/zh.js +++ b/ruoyi-ui/src/lang/zh.js @@ -5,6 +5,81 @@ import { status } from 'nprogress' // import { Dialog } from 'element-ui' export default { + traycode: { + title: '托盘码管理', + formatId: '条码类型id', + trayCode: '条码', + search: '搜索', + reset: '重置', + add: '新增', + edit: '修改', + delete: '删除', + export: '导出', + batchPrint: '批量打印', + print: '打印', + confirm: '确 定', + cancel: '取 消', + operation: '操作', + addTitle: '添加条码信息', + editTitle: '修改条码信息', + addSuccess: '新增成功', + editSuccess: '修改成功', + deleteConfirm: '是否确认删除条码信息编号为"{ids}"的数据项?', + deleteSuccess: '删除成功', + printControlError: '打印控件未安装或启动失败', + barcodePrint: '条码打印', + printFailed: '打印失败', + printError: '打印失败: {error}', + selectPrintItems: '请选择要打印的条码', + placeholder: { + formatId: '请输入条码类型id', + trayCode: '请输入条码' + } + }, + traycodeFormat: { + title: '条码生成规则', + search: '搜索', + reset: '重置', + add: '新增', + edit: '修改', + delete: '删除', + export: '导出', + print: '生成打印数据', + operation: '操作', + barcodeFormat: '条码前缀', + serialRule: '流水号', + serialExample: '条码样例', + remarks: '描述', + minNum: '最小流水号', + maxNum: '最大流水号', + spare1: '规格', + spare2: '备用字段2', + spare3: '备用字段3', + confirm: '确 定', + cancel: '取 消', + printTitle: '打印条码', + printCount: '打印数量', + addTitle: '添加条码生成规则', + editTitle: '修改条码生成规则', + addSuccess: '新增成功', + editSuccess: '修改成功', + deleteSuccess: '删除成功', + deleteConfirm: '是否确认删除条码生成规则编号为"{id}"的数据项?', + printCountError: '打印数量不能大于最大可打印数量', + placeholder: { + barcodeFormat: '请输入条码前缀', + serialRule: '请输入流水号', + serialExample: '请输入条码样例', + remarks: '请输入描述', + minNum: '请输入最小流水号', + maxNum: '请输入最大流水号', + spare1: '请输入规格', + spare2: '请输入备用字段2', + spare3: '请输入备用字段3', + printCount: '请输入打印数量' + }, + createPrintData: '生成打印数据', + }, login: { title: '福 莱 瑞 达 W M S 系 统', logIn: '登 录', diff --git a/ruoyi-ui/src/views/bas/BasCustomer/index.vue b/ruoyi-ui/src/views/bas/basCustomer/index.vue similarity index 100% rename from ruoyi-ui/src/views/bas/BasCustomer/index.vue rename to ruoyi-ui/src/views/bas/basCustomer/index.vue diff --git a/ruoyi-ui/src/views/bas/BasProduct/index.vue b/ruoyi-ui/src/views/bas/basProduct/index.vue similarity index 100% rename from ruoyi-ui/src/views/bas/BasProduct/index.vue rename to ruoyi-ui/src/views/bas/basProduct/index.vue diff --git a/ruoyi-ui/src/views/bas/BasSupplier/index.vue b/ruoyi-ui/src/views/bas/basSupplier/index.vue similarity index 100% rename from ruoyi-ui/src/views/bas/BasSupplier/index.vue rename to ruoyi-ui/src/views/bas/basSupplier/index.vue diff --git a/ruoyi-ui/src/views/bas/traycode/index.vue b/ruoyi-ui/src/views/bas/traycode/index.vue index 474803d..ddbc948 100644 --- a/ruoyi-ui/src/views/bas/traycode/index.vue +++ b/ruoyi-ui/src/views/bas/traycode/index.vue @@ -1,26 +1,26 @@