diff --git a/src/locales/en.ts b/src/locales/en.ts
index 165eec74..c7a96dca 100644
--- a/src/locales/en.ts
+++ b/src/locales/en.ts
@@ -3234,6 +3234,10 @@ export default {
designTitle: 'Template Design'
},
PrintConfig: {
+ moduleName: 'Printer Config',
+ currentHostName: 'Current Host Name',
+ unknownHostName: 'Not detected',
+ currentHostTip: 'This page only displays and manages printer configurations for the current host.',
hostName: 'Host Name',
systemPrinterName: 'Printer Name',
defaultStatus: 'Is Default',
@@ -3245,6 +3249,7 @@ export default {
placeholderHostName: 'Please input host name',
placeholderSystemPrinterName: 'Please input printer name',
placeholderRemark: 'Please input printer remark',
+ testPrint:'Test Print'
}
},
QualityManagement: {
diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts
index 2c370e30..4e384913 100644
--- a/src/locales/zh-CN.ts
+++ b/src/locales/zh-CN.ts
@@ -2725,6 +2725,10 @@ export default {
designTitle: '模板配置'
},
PrintConfig: {
+ moduleName: '打印机配置',
+ currentHostName: '当前主机名',
+ unknownHostName: '未获取到',
+ currentHostTip: '当前页面仅展示和管理当前主机的打印机配置。',
hostName: '主机名',
systemPrinterName: '打印机名称',
defaultStatus: '是否默认',
@@ -2742,7 +2746,8 @@ export default {
validatorNameRequired: '模板名称不能为空',
validatorTypeRequired: '模板类型不能为空',
design: '配置',
- designTitle: '模板配置'
+ designTitle: '模板配置',
+ testPrint:'测试打印'
}
},
QualityManagement: {
diff --git a/src/views/mes/printconfig/ConfigForm.vue b/src/views/mes/printconfig/ConfigForm.vue
index 7331b26f..67ee35ed 100644
--- a/src/views/mes/printconfig/ConfigForm.vue
+++ b/src/views/mes/printconfig/ConfigForm.vue
@@ -8,10 +8,24 @@
v-loading="formLoading"
>
-
+
-
+
+
+
+
@@ -24,6 +38,7 @@
+ {{ t('TemplateManagement.PrintConfig.testPrint') }}
{{ t('common.ok') }}
{{ t('common.cancel') }}
@@ -31,13 +46,18 @@
+
+