From a65f1bfc1f4782985c05b30b0d9f48b532a7b313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=93=B2=E5=A5=87?= <13840175730@139.com> Date: Thu, 11 Dec 2025 15:58:10 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=A2=9E=E5=8A=A0=E4=BE=9B=E8=B4=A7=E5=95=86?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=202.=E5=A2=9E=E5=8A=A0=E5=A4=A7=E6=B4=8B?= =?UTF-8?q?=E5=85=A5=E5=BA=93=E5=8D=95=203.=E5=A2=9E=E5=8A=A0=E5=A4=A7?= =?UTF-8?q?=E6=B4=8B=E5=87=BA=E5=BA=93=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/zl/czzjgz.vue | 15 +++++++++++++-- src/views/zyjhzx/sliao/index.vue | 1 - 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/views/zl/czzjgz.vue b/src/views/zl/czzjgz.vue index dcaefd5..622c63e 100644 --- a/src/views/zl/czzjgz.vue +++ b/src/views/zl/czzjgz.vue @@ -322,14 +322,14 @@ export default { filterRender: { name: 'FilterCombination' } }, { - field: 'zjzt', + field: 'ZJZT',formatter:this.zsFormat, title: '证书状态', width: 120, filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], filterRender: { name: 'FilterCombination' } }, { - field: 'DC_PB', + field: 'DC_PB',formatter:this.pbFormat, title: '整理状态', width: 120, filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], @@ -348,6 +348,17 @@ export default { this.initBase() }, methods: { + zsFormat({cellValue}){ + const dict=['无','有'] + return dict[cellValue]||'无' + }, + pbFormat({cellValue}){ + const dict={ + '1':'未整理', + '2':'已整理' + } + return dict[cellValue]||cellValue||'' + }, //按船号、批次、图号重新生成材质证件,用于解决材质证件数据不完整的问题 recovery(){ const selectData=this.$refs.xGrid.getCheckboxRecords() diff --git a/src/views/zyjhzx/sliao/index.vue b/src/views/zyjhzx/sliao/index.vue index e037bc1..8d318cb 100644 --- a/src/views/zyjhzx/sliao/index.vue +++ b/src/views/zyjhzx/sliao/index.vue @@ -152,7 +152,6 @@ export default { this.plslList.push(data) return } - console.log(data) if (this.currentDw&&this.currentDw.id===data.dwId) { if (this.slGroup){ this.slGroup.destroyChildren()