From 2e6c78fb112e515050b717fd885f4bb4dc4603d5 Mon Sep 17 00:00:00 2001 From: hwj Date: Fri, 5 Jun 2026 09:50:50 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=A8=A1=E5=85=B7=E7=BB=84-?= =?UTF-8?q?=E8=AF=A6=E6=83=85-=E5=AE=89=E8=A3=85=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=93=8D=E4=BD=9C=E7=B1=BB=E5=9E=8B=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/en.ts | 2 ++ src/locales/zh-CN.ts | 2 ++ src/views/erp/mold/detail/brand.vue | 17 +++++++++++++++++ 3 files changed, 21 insertions(+) diff --git a/src/locales/en.ts b/src/locales/en.ts index 5d87b98b..6a48b50c 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -2578,6 +2578,8 @@ export default { mold: 'Mold', selectMold: 'Select Mold', remarkPlaceholder: 'Remark', + operateType: 'Operation Type', + selectOperateType: 'Please select operation type', moldName: 'Mold Name', deviceName: 'Device', creatorName: 'Operator', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index a9d5f36b..4b04675b 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -2084,6 +2084,8 @@ export default { mold: '模具', selectMold: '选择模具', remarkPlaceholder: '备注', + operateType: '操作类型', + selectOperateType: '请选择操作类型', moldName: '模具名称', deviceName: '设备', creatorName: '操作人', diff --git a/src/views/erp/mold/detail/brand.vue b/src/views/erp/mold/detail/brand.vue index 4c86028d..812d57a3 100644 --- a/src/views/erp/mold/detail/brand.vue +++ b/src/views/erp/mold/detail/brand.vue @@ -236,6 +236,13 @@ :value="item.id" /> + + + + + + @@ -248,6 +255,13 @@ + + + @@ -301,6 +315,7 @@ const installPageSize = ref(10) const installMoldId = ref() const installRemark = ref() const installDateRange = ref() +const installOperateType = ref() const repairActiveNames = ref([]) const inspectionDateRange = ref() const maintainDateRange = ref() @@ -565,6 +580,7 @@ const fetchInstallRecords = async () => { const params: any = { pageNo: installPageNo.value, pageSize: installPageSize.value, brandId: brandId.value } if (installMoldId.value) params.moldId = installMoldId.value if (installRemark.value) params.remark = installRemark.value + if (installOperateType.value) params.operateType = installOperateType.value if (installDateRange.value && installDateRange.value.length === 2) { params.createTime = [installDateRange.value[0], installDateRange.value[1]] } @@ -584,6 +600,7 @@ const handleQueryInstall = () => { const handleResetInstall = () => { installMoldId.value = undefined installRemark.value = undefined + installOperateType.value = undefined installDateRange.value = undefined installPageNo.value = 1 fetchInstallRecords()