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()