diff --git a/src/locales/en.ts b/src/locales/en.ts
index bd8c3048..b9aab6af 100644
--- a/src/locales/en.ts
+++ b/src/locales/en.ts
@@ -2730,6 +2730,7 @@
tabInspection: 'Inspection Records',
tabRepair: 'Repair Records',
tabMaintain: 'Maintenance Records',
+ pressureNetRecord: 'Pressure Net Record',
tabInstall: 'Installation Records',
tabDrawings: 'Drawings',
tabOperationManual: 'Operation Manual',
@@ -2781,6 +2782,10 @@
createTime: 'Operation Time',
noInstallRecords: 'No installation records',
noRecords: 'No data',
+ moldBrandName: 'Mold Group Name',
+ subMoldName: 'Sub Mold Name',
+ pressureNetTime: 'Pressure Net Time',
+ placeholderPressureNetTime: 'Please select pressure net time',
pending: 'Pending',
pass: 'Pass',
fail: 'Fail',
diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts
index e8509e43..67d887ec 100644
--- a/src/locales/zh-CN.ts
+++ b/src/locales/zh-CN.ts
@@ -2209,6 +2209,7 @@
tabInspection: '点检记录',
tabRepair: '维修记录',
tabMaintain: '保养记录',
+ pressureNetRecord: '压网记录',
tabInstall: '安装记录',
tabDrawings: '图纸',
tabOperationManual: '操作手册',
@@ -2265,6 +2266,10 @@
createTime: '操作时间',
noInstallRecords: '暂无安装记录',
noRecords: '暂无数据',
+ moldBrandName: '模具组名称',
+ subMoldName: '子模具名称',
+ pressureNetTime: '压网时间',
+ placeholderPressureNetTime: '请选择压网时间',
// 检测结果
pending: '待检测',
pass: '通过',
diff --git a/src/views/erp/mold/detail/brand.vue b/src/views/erp/mold/detail/brand.vue
index 5c3510c4..d5a08226 100644
--- a/src/views/erp/mold/detail/brand.vue
+++ b/src/views/erp/mold/detail/brand.vue
@@ -252,6 +252,22 @@
class="device-ledger-history-item-label">{{ t('MoldManagement.MoldBrandDetail.maintainTime') }}{{
String(formatHistoryTime(item.taskTime)).split(' ')[0] }}
+
{{ t('MoldManagement.MoldBrandDetail.images') }}
+
+
+
+ -
+
{{ t('MoldManagement.MoldBrandDetail.remark') }}{{ item.remark ?? '-' }}
@@ -263,6 +279,44 @@
+
+
+
+
+
+
+
+ {{ t('MoldManagement.MoldBrandDetail.query') }}
+ {{ t('MoldManagement.MoldBrandDetail.reset') }}
+
+
+
+
+
+
+ {{ formatHistoryTime(scope.row.pressureNetTime) }}
+
+
+ {{ formatHistoryTime(scope.row.createTime) }}
+
+
+ {{ scope.row.remark || '-' }}
+
+
+
+
+
+
@@ -374,10 +428,15 @@ const maintainHistory = ref([])
const repairList = ref([])
const repairQueryCode = ref()
const repairQueryStatus = ref()
+const pressureNetRecordList = ref([])
const installRecords = ref([])
const installTotal = ref(0)
const installPageNo = ref(1)
const installPageSize = ref(10)
+const pressureNetTotal = ref(0)
+const pressureNetPageNo = ref(1)
+const pressureNetPageSize = ref(10)
+const pressureNetTime = ref()
const installMoldId = ref()
const installRemark = ref()
const installDateRange = ref()
@@ -393,6 +452,7 @@ const repairExportLoading = ref(false)
const inspectionLoading = ref(false)
const repairLoading = ref(false)
const maintainLoading = ref(false)
+const pressureNetLoading = ref(false)
const installLoading = ref(false)
const imageList = computed(() => parseImages(detailData.value?.images))
@@ -727,6 +787,38 @@ const fetchRepairHistory = async () => {
}
}
+const fetchPressureNetRecords = async () => {
+ if (!brandId.value) return
+ pressureNetLoading.value = true
+ try {
+ const params: any = {
+ pageNo: pressureNetPageNo.value,
+ pageSize: pressureNetPageSize.value,
+ moldBrandId: brandId.value
+ }
+ if (pressureNetTime.value && pressureNetTime.value.length === 2) {
+ params['pressureNetTime[0]'] = pressureNetTime.value[0]
+ params['pressureNetTime[1]'] = pressureNetTime.value[1]
+ }
+ const data = await MoldBrandApi.getPressureNetRecordPage(params)
+ pressureNetRecordList.value = data?.list ?? []
+ pressureNetTotal.value = data?.total ?? 0
+ } finally {
+ pressureNetLoading.value = false
+ }
+}
+
+const handleQueryPressureNet = () => {
+ pressureNetPageNo.value = 1
+ fetchPressureNetRecords()
+}
+
+const handleResetPressureNet = () => {
+ pressureNetTime.value = undefined
+ pressureNetPageNo.value = 1
+ fetchPressureNetRecords()
+}
+
const fetchInstallRecords = async () => {
if (!brandId.value) return
installLoading.value = true
@@ -836,6 +928,9 @@ const loadTabData = async (tab: string) => {
await getChildMolds()
fetchMaintainHistory()
break
+ case 'pressureNet':
+ fetchPressureNetRecords()
+ break
case 'install':
await getChildMolds()
fetchInstallRecords()