From 4bd0065f8a462e03a3c3ac5f4d850a3485e4a531 Mon Sep 17 00:00:00 2001 From: liutao <790864623@qq.com> Date: Mon, 13 Apr 2026 17:05:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E9=AA=8C=E6=A8=A1=E6=9D=BF=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/en.ts | 8 +- src/locales/zh-CN.ts | 8 +- .../in/components/StockInItemForm.vue | 2 +- src/views/erp/product/unit/index.vue | 4 +- .../mes/deviceledger/DeviceLedgerForm.vue | 4 +- src/views/mes/zjschema/ZjSchemaForm.vue | 301 ++++++++++++++++-- 6 files changed, 286 insertions(+), 41 deletions(-) diff --git a/src/locales/en.ts b/src/locales/en.ts index 5031015a..b5b1c14a 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -1274,7 +1274,9 @@ export default { dvId: 'Please select device', qrcodeLoadError: 'Failed to load QR code', qrcodeEmpty: 'No QR code', - validatorDeviceCodeRequired: 'Code can not be empty' + validatorDeviceCodeRequired: 'Code can not be empty', + gjTitle: 'Select key components', + bjTitle: 'Select spare parts', }, // Critical Component EquipmentKeyItems: { @@ -2753,7 +2755,9 @@ export default { validatorNameRequired: 'Name can not be empty', validatorTypeRequired: 'Type can not be empty', validatorSampleMethodRequired: 'Sampling method can not be empty', - validatorValRequired: 'Value can not be empty' + validatorValRequired: 'Value can not be empty', + atIntervals:'at intervals', + extraction:'extraction', }, ZjTask: { moduleName: 'Inspection Task', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index ca5fdaf0..17e8d759 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -1266,7 +1266,9 @@ export default { dvId: '请选择设备', qrcodeLoadError: '二维码加载失败', qrcodeEmpty: '暂无二维码', - validatorDeviceCodeRequired: '编码不能为空' + validatorDeviceCodeRequired: '编码不能为空', + gjTitle: '选择关键件', + bjTitle: '选择备件', }, // 设备关键件 EquipmentKeyItems: { @@ -2263,7 +2265,9 @@ export default { validatorNameRequired: '名称不能为空', validatorTypeRequired: '类型不能为空', validatorSampleMethodRequired: '抽检方式不能为空', - validatorValRequired: '值不能为空' + validatorValRequired: '值不能为空', + atIntervals:'每间隔', + extraction:'抽取', }, ZjTask: { moduleName: '检验任务', diff --git a/src/views/erp/component/in/components/StockInItemForm.vue b/src/views/erp/component/in/components/StockInItemForm.vue index a236694a..29f20352 100644 --- a/src/views/erp/component/in/components/StockInItemForm.vue +++ b/src/views/erp/component/in/components/StockInItemForm.vue @@ -247,7 +247,7 @@ const getSummaries = (param: SummaryMethodProps) => { const handleAdd = () => { const row = { id: undefined, - warehouseId: 11, + warehouseId: 10, productId: undefined, productUnitName: undefined, // 产品单位 productBarCode: undefined, // 产品条码 diff --git a/src/views/erp/product/unit/index.vue b/src/views/erp/product/unit/index.vue index 62fdc3b5..1cb4ef60 100644 --- a/src/views/erp/product/unit/index.vue +++ b/src/views/erp/product/unit/index.vue @@ -54,7 +54,7 @@ type="warning" plain @click="handleImport" - v-hasPermi="['system:user:import']" + v-hasPermi="['erp:product-unit:export']" > {{ t('FactoryModeling.ProductUnit.importButtonText') }} @@ -148,7 +148,7 @@ import download from '@/utils/download' import { ProductUnitApi, ProductUnitVO } from '@/api/erp/product/unit' import ProductUnitForm from './ProductUnitForm.vue' import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' - +import ProductUnitImportForm from './ProductUnitImportForm.vue' /** ERP 产品单位列表 */ defineOptions({ name: 'ErpProductUnit' }) diff --git a/src/views/mes/deviceledger/DeviceLedgerForm.vue b/src/views/mes/deviceledger/DeviceLedgerForm.vue index c18c6c4e..ee14b64a 100644 --- a/src/views/mes/deviceledger/DeviceLedgerForm.vue +++ b/src/views/mes/deviceledger/DeviceLedgerForm.vue @@ -232,7 +232,7 @@ - -
+ + + + + + + + + + + + + + + + + {{ t('common.query') }} + + + + {{ t('common.reset') }} + + + + + + + + + + + + + + + + + + + + + +