From 2dbeda9bdd8b8733f692d6ebcec0279cca72eb2a Mon Sep 17 00:00:00 2001 From: liuxy Date: Fri, 20 Dec 2024 16:20:23 +0800 Subject: [PATCH] =?UTF-8?q?rev=EF=BC=9A=E5=85=A5=E5=BA=93=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 --- wms_pro/qd/src/i18n/langs/chinese.js | 4 +- wms_pro/qd/src/i18n/langs/english.js | 4 +- wms_pro/qd/src/i18n/langs/espana.js | 4 +- wms_pro/qd/src/i18n/langs/in/en.js | 118 +++++++++++++++++ wms_pro/qd/src/i18n/langs/in/es.js | 118 +++++++++++++++++ wms_pro/qd/src/i18n/langs/in/zh.js | 118 +++++++++++++++++ .../views/wms/stor_manage/in/AddDialog.vue | 67 +++++----- .../views/wms/stor_manage/in/TaskDialog.vue | 119 ++++++++---------- .../views/wms/stor_manage/in/ViewDialog.vue | 82 ++++++------ .../qd/src/views/wms/stor_manage/in/index.vue | 50 ++++---- 10 files changed, 514 insertions(+), 170 deletions(-) create mode 100644 wms_pro/qd/src/i18n/langs/in/en.js create mode 100644 wms_pro/qd/src/i18n/langs/in/es.js create mode 100644 wms_pro/qd/src/i18n/langs/in/zh.js diff --git a/wms_pro/qd/src/i18n/langs/chinese.js b/wms_pro/qd/src/i18n/langs/chinese.js index 4b7b6520..cebd1a3c 100644 --- a/wms_pro/qd/src/i18n/langs/chinese.js +++ b/wms_pro/qd/src/i18n/langs/chinese.js @@ -42,6 +42,7 @@ import dict from './dict/zh' import angle from './angle/zh' import regional from './regional/zh' import stage from './stage/zh' +import inManage from './in/zh' export default { ...zhLocale, @@ -87,6 +88,7 @@ export default { ...dict, ...angle, ...regional, - ...stage + ...stage, + ...inManage } diff --git a/wms_pro/qd/src/i18n/langs/english.js b/wms_pro/qd/src/i18n/langs/english.js index c9e5adb9..6660e2cc 100644 --- a/wms_pro/qd/src/i18n/langs/english.js +++ b/wms_pro/qd/src/i18n/langs/english.js @@ -42,6 +42,7 @@ import dict from './dict/en' import angle from './angle/en' import regional from './regional/en' import stage from './stage/en' +import inManage from './in/en' export default { ...enLocale, @@ -87,6 +88,7 @@ export default { ...dict, ...angle, ...regional, - ...stage + ...stage, + ...inManage } diff --git a/wms_pro/qd/src/i18n/langs/espana.js b/wms_pro/qd/src/i18n/langs/espana.js index 3b90b9d4..be06e72a 100644 --- a/wms_pro/qd/src/i18n/langs/espana.js +++ b/wms_pro/qd/src/i18n/langs/espana.js @@ -42,6 +42,7 @@ import dict from './dict/vi' import angle from './angle/in' import regional from './regional/in' import stage from './stage/in' +import inManage from './in/es' export default { ...viLocale, @@ -88,5 +89,6 @@ export default { ...dict, ...angle, ...regional, - ...stage + ...stage, + ...inManage } diff --git a/wms_pro/qd/src/i18n/langs/in/en.js b/wms_pro/qd/src/i18n/langs/in/en.js new file mode 100644 index 00000000..99a7b953 --- /dev/null +++ b/wms_pro/qd/src/i18n/langs/in/en.js @@ -0,0 +1,118 @@ +export default { + 'inManage': { + 'title': 'Warehouse management', + 'query': { + 'code': 'Document number', + 'source_form_code': 'Source tracking number', + 'bill_type': 'Document type', + 'createTime': 'Document date', + 'start_date': 'Start Time', + 'end_date': 'End Time', + 'status': 'Document Status' + }, + 'button': { + 'div': 'allocation', + 'work_send': 'Assignment distribution', + 'confirm': 'Mandatory Confirmation', + 'addMater': 'Add materials', + 'addCode': 'Add document', + 'divVehicle': 'Allocation of vehicles', + 'cancelDiv': 'Unassign', + 'addRow': 'Add a new line' + }, + 'table': { + 'code': 'Document number', + 'bill_type': 'Business type', + 'status': 'state', + 'source_form_type': 'Source order type', + 'source_form_code': 'Source single encoding', + 'source_form_id': 'Source ID', + 'source_form_date': 'Source order time', + 'create_name': 'founder', + 'create_time': 'Creation time', + 'remark': 'notes' + }, + 'dialog': { + 'save': 'save', + 'close': 'close', + 'code': 'Document number', + 'systemCreate': 'System generated', + 'bill_type': 'Business type', + 'status': 'Document Status', + 'create': 'generate', + 'source_form_type': 'Source order type', + 'source_form_code': 'Source single encoding', + 'source_form_id': 'Source ID', + 'source_form_date': 'Source order time', + 'remark': 'notes', + 'table': { + 'index': 'Serial Number', + 'material_code': 'Material code', + 'material_name': 'Material name', + 'material_spec': 'Material specification', + 'pcsn': 'Material Batch', + 'qty': 'Material Batch', + 'unit_id': 'Unit', + 'stor_code': 'Warehouse', + 'source_form_type': 'Source order type', + 'source_form_code': 'Source single encoding', + 'source_form_id': 'Source ID', + 'remark': 'notes' + } + }, + 'divDialog': { + 'code': 'Document number', + 'bill_type': 'Business type', + 'status': 'Document Status', + 'source_form_type': 'Source order type', + 'source_form_id': 'Source ID', + 'source_form_date': 'Source order time', + 'remark': 'notes', + 'inDiv': 'Inventory allocation', + 'indtl': 'Inventory details', + 'taskdtl': 'Homework Details', + 'material_code': 'Material code', + 'material_spec': 'Material specification', + 'material_name': 'Material name', + 'pcsn': 'Batch', + 'qty': 'Planned quantity', + 'unit_id': 'Unit', + 'stor_code': 'Warehouse', + 'vehicle_qty': 'Quantity of materials', + 'vehicle_code': 'Vehicle code', + 'tableOne': { + 'material_code': 'Material code', + 'material_name': 'Material name', + 'material_spec': 'Material specification', + 'pcsn': 'Batch', + 'qty': 'Planned quantity', + 'unit_id': 'Unit', + 'stor_code': 'Warehouse', + 'vehicle_qty': 'Quantity of materials', + 'vehicle_code': 'Vehicle code' + }, + 'tableTwo': { + 'vehicle_code': 'Tray number', + 'qty': 'Number', + 'struct_code': 'Location of the vehicle', + 'point_code1': 'Task starting position', + 'point_code2': 'Task Objective Location', + 'task_code': 'Task number', + 'status': 'Status' + }, + 'vehicleDiv': { + 'divVehicle': 'Vehicle allocation' + } + }, + 'viewDialog': { + 'inView': 'Inventory details', + 'vehicle_qty': 'Quantity of vehicle materials', + 'struct_code': 'Allocate space', + 'frozen_qty': 'Assigned amount' + }, + 'msg': { + 'delete_msg': 'Are you sure to delete? If there are subordinate nodes, they will be deleted together. This operation cannot be undone!' + } + } +} + diff --git a/wms_pro/qd/src/i18n/langs/in/es.js b/wms_pro/qd/src/i18n/langs/in/es.js new file mode 100644 index 00000000..76b6fc11 --- /dev/null +++ b/wms_pro/qd/src/i18n/langs/in/es.js @@ -0,0 +1,118 @@ +export default { + 'inManage': { + 'title': 'Gestión del almacenamiento', + 'query': { + 'code': 'Número de documento', + 'source_form_code': 'Número de la lista de fuentes', + 'bill_type': 'Tipo de documento', + 'createTime': 'Fecha del documento', + 'start_date': 'Hora de inicio', + 'end_date': 'Fin del tiempo', + 'status': 'Estado del documento' + }, + 'button': { + 'div': 'Distribución', + 'work_send': 'Emisión de tareas', + 'confirm': 'Confirmación obligatoria', + 'addMater': 'Añadir material', + 'addCode': 'Añadir documento', + 'divVehicle': 'Vehículos de distribución', + 'cancelDiv': 'Cancelación de la asignación', + 'addRow': 'Nueva línea' + }, + 'table': { + 'code': 'Número de documento', + 'bill_type': 'Tipo de negocio', + 'status': 'Estado', + 'source_form_type': 'Tipo único de fuente', + 'source_form_code': 'Código único de origen', + 'source_form_id': 'ID de la lista de fuentes', + 'source_form_date': 'Tiempo único de origen', + 'create_name': 'Creador', + 'create_time': 'Tiempo de creación', + 'remark': 'Nota' + }, + 'dialog': { + 'save': 'Guardar', + 'close': 'Cierre', + 'code': 'Número de documento', + 'systemCreate': 'Generación del sistema', + 'bill_type': 'Tipo de negocio', + 'status': 'Estado del documento', + 'create': 'Generar', + 'source_form_type': 'Tipo único de fuente', + 'source_form_code': 'Código único de origen', + 'source_form_id': 'ID de la lista de fuentes', + 'source_form_date': 'Tiempo único de origen', + 'remark': 'Nota', + 'table': { + 'index': 'Número de serie', + 'material_code': 'Codificación de materiales', + 'material_name': 'Nombre del material', + 'material_spec': 'Especificaciones de materiales', + 'pcsn': 'Lotes de materiales', + 'qty': 'Número de planes', + 'unit_id': 'Unidades', + 'stor_code': 'Almacén', + 'source_form_type': 'Tipo único de fuente', + 'source_form_code': 'Código único de origen', + 'source_form_id': 'ID de la lista de fuentes', + 'remark': 'Nota' + } + }, + 'divDialog': { + 'code': 'Número de documento', + 'bill_type': 'Tipo de negocio', + 'status': 'Estado del documento', + 'source_form_type': 'Tipo único de fuente', + 'source_form_id': 'ID de la lista de fuentes', + 'source_form_date': 'Tiempo único de origen', + 'remark': 'Nota', + 'inDiv': 'Distribución de almacenamiento', + 'indtl': 'Detalles de almacenamiento', + 'taskdtl': 'Detalles de la operación', + 'material_code': 'Codificación de materiales', + 'material_spec': 'Especificaciones de materiales', + 'material_name': 'Nombre del material', + 'pcsn': 'Lote', + 'qty': 'Número de planes', + 'unit_id': 'Unidades', + 'stor_code': 'Almacén', + 'vehicle_qty': 'Cantidad de materiales', + 'vehicle_code': 'Codificación del vehículo', + 'tableOne': { + 'material_code': 'Codificación de materiales', + 'material_name': 'Nombre del material', + 'material_spec': 'Especificaciones de materiales', + 'pcsn': 'Lote', + 'qty': 'Número de planes', + 'unit_id': 'Unidades', + 'stor_code': 'Almacén', + 'vehicle_qty': 'Cantidad de materiales', + 'vehicle_code': 'Codificación del vehículo' + }, + 'tableTwo': { + 'vehicle_code': 'Número de bandeja', + 'qty': 'Cantidad', + 'struct_code': 'Posición del vehículo', + 'point_code1': 'Posición de inicio de la tarea', + 'point_code2': 'Ubicación del destino de la Misión', + 'task_code': 'Número de misión', + 'status': 'Estado de la tarea' + }, + 'vehicleDiv': { + 'divVehicle': 'Distribución de vehículos' + } + }, + 'viewDialog': { + 'inView': 'Detalles del almacenamiento', + 'vehicle_qty': 'Cantidad de materiales transportados', + 'struct_code': 'Asignación de posiciones', + 'frozen_qty': 'Cantidad asignada' + }, + 'msg': { + 'delete_msg': '¡Está seguro de que se eliminará, si hay nodos inferiores, se eliminará juntos, ¡ esta operación no se puede cancelar!' + } + } +} + diff --git a/wms_pro/qd/src/i18n/langs/in/zh.js b/wms_pro/qd/src/i18n/langs/in/zh.js new file mode 100644 index 00000000..b30c7fc3 --- /dev/null +++ b/wms_pro/qd/src/i18n/langs/in/zh.js @@ -0,0 +1,118 @@ +export default { + 'inManage': { + 'title': '入库管理', + 'query': { + 'code': '单据号', + 'source_form_code': '源单号', + 'bill_type': '单据类型', + 'createTime': '单据日期', + 'start_date': '开始时间', + 'end_date': '结束时间', + 'status': '单据状态' + }, + 'button': { + 'div': '分配', + 'work_send': '作业下发', + 'confirm': '强制确认', + 'addMater': '添加物料', + 'addCode': '添加单据', + 'divVehicle': '分配载具', + 'cancelDiv': '取消分配', + 'addRow': '新增一行' + }, + 'table': { + 'code': '单据号', + 'bill_type': '业务类型', + 'status': '状态', + 'source_form_type': '源单类型', + 'source_form_code': '源单编码', + 'source_form_id': '源单id', + 'source_form_date': '源单时间', + 'create_name': '创建人', + 'create_time': '创建时间', + 'remark': '备注' + }, + 'dialog': { + 'save': '保存', + 'close': '关闭', + 'code': '单据号', + 'systemCreate': '系统生成', + 'bill_type': '业务类型', + 'status': '单据状态', + 'create': '生成', + 'source_form_type': '源单类型', + 'source_form_code': '源单编码', + 'source_form_id': '源单id', + 'source_form_date': '源单时间', + 'remark': '备注', + 'table': { + 'index': '序号', + 'material_code': '物料编码', + 'material_name': '物料名称', + 'material_spec': '物料规格', + 'pcsn': '物料批次', + 'qty': '计划数量', + 'unit_id': '单位', + 'stor_code': '仓库', + 'source_form_type': '源单类型', + 'source_form_code': '源单编码', + 'source_form_id': '源单id', + 'remark': '备注' + } + }, + 'divDialog': { + 'code': '单据号', + 'bill_type': '业务类型', + 'status': '单据状态', + 'source_form_type': '源单类型', + 'source_form_id': '源单id', + 'source_form_date': '源单时间', + 'remark': '备注', + 'inDiv': '入库分配', + 'indtl': '入库明细', + 'taskdtl': '作业明细', + 'material_code': '物料编码', + 'material_spec': '物料规格', + 'material_name': '物料名称', + 'pcsn': '批次', + 'qty': '计划数量', + 'unit_id': '单位', + 'stor_code': '仓库', + 'vehicle_qty': '物料数量', + 'vehicle_code': '载具编码', + 'tableOne': { + 'material_code': '物料编码', + 'material_name': '物料名称', + 'material_spec': '物料规格', + 'pcsn': '批次', + 'qty': '计划数量', + 'unit_id': '单位', + 'stor_code': '仓库', + 'vehicle_qty': '物料数量', + 'vehicle_code': '载具编码' + }, + 'tableTwo': { + 'vehicle_code': '托盘号', + 'qty': '数量', + 'struct_code': '载具所在仓位', + 'point_code1': '任务起始位置', + 'point_code2': '任务目的位置', + 'task_code': '任务号', + 'status': '任务状态' + }, + 'vehicleDiv': { + 'divVehicle': '载具分配' + } + }, + 'viewDialog': { + 'inView': '入库详情', + 'vehicle_qty': '载具物料数量', + 'struct_code': '分配仓位', + 'frozen_qty': '分配数量' + }, + 'msg': { + 'delete_msg': '确定删除吗,如果存在下级节点则一并删除,此操作不能撤销!' + } + } +} + diff --git a/wms_pro/qd/src/views/wms/stor_manage/in/AddDialog.vue b/wms_pro/qd/src/views/wms/stor_manage/in/AddDialog.vue index 87366407..9dee860f 100644 --- a/wms_pro/qd/src/views/wms/stor_manage/in/AddDialog.vue +++ b/wms_pro/qd/src/views/wms/stor_manage/in/AddDialog.vue @@ -15,24 +15,22 @@ - 保存 - 关闭 + {{$t('inManage.dialog.save')}} + {{$t('inManage.dialog.close')}} - - - + + + - + - - + + - + - + - + - + - - + @@ -81,7 +78,7 @@ size="mini" @click="insertEvent()" > - 添加物料 + {{$t('inManage.button.addMater')}} - 添加单据 + {{$t('inManage.button.addCode')}} @@ -104,24 +101,23 @@ border :header-cell-style="{background:'#f5f7fa',color:'#606266'}" > - - - - - + + + + + - + - + - + - - + - +