diff --git a/src/components/MultiTab/MultiTab.vue b/src/components/MultiTab/MultiTab.vue index dd53117..7a62064 100644 --- a/src/components/MultiTab/MultiTab.vue +++ b/src/components/MultiTab/MultiTab.vue @@ -48,7 +48,7 @@ export default { ...mapActions(['setNeedSavePages']), onEdit(targetKey, action) { const _that = this - // console.log(this.needSavePages[targetKey]) + console.log(this.needSavePages[targetKey], targetKey) if (targetKey.includes('BookingDetail')) { if (this.needSavePages[targetKey].details || this.needSavePages[targetKey].hbList) { this.$confirm({ @@ -100,6 +100,7 @@ export default { } }, closeLeft(e) { + console.log('=== 测试点1 ===') const currentIndex = this.fullPathList.indexOf(e) if (currentIndex > 0) { this.fullPathList.forEach((item, index) => { @@ -112,6 +113,7 @@ export default { } }, closeRight(e) { + console.log('=== 测试点2 ===') const currentIndex = this.fullPathList.indexOf(e) if (currentIndex < this.fullPathList.length - 1) { this.fullPathList.forEach((item, index) => { @@ -124,6 +126,7 @@ export default { } }, closeAll(e) { + console.log('=== 测试点3 ===') const currentIndex = this.fullPathList.indexOf(e) this.fullPathList.forEach((item, index) => { if (index !== currentIndex) { diff --git a/src/views/main/BookingLedger/list/index.vue b/src/views/main/BookingLedger/list/index.vue index eb038bd..8b03b06 100644 --- a/src/views/main/BookingLedger/list/index.vue +++ b/src/views/main/BookingLedger/list/index.vue @@ -368,6 +368,7 @@ export default { this.formMoreTableData = moreTableArr this.$forceUpdate() } + console.log('== 表头 ==', this.gridOptions.columns) }) // === 历史内容 === console.log('表格自定义数据 - 更多: ', this.formMoreTableData) diff --git a/src/views/main/BookingLedger/list/modules/initData.js b/src/views/main/BookingLedger/list/modules/initData.js index 8a7088a..30b4bad 100644 --- a/src/views/main/BookingLedger/list/modules/initData.js +++ b/src/views/main/BookingLedger/list/modules/initData.js @@ -31,7 +31,7 @@ export default { { field: 'createdUserName', label: 'CREATEDUSERNAME', width: 120, title: '创建人', showHeaderOverflow: true, sortable: true }, { field: 'createdTime', label: 'CREATEDTIME', width: 160, title: '创建时间', showHeaderOverflow: true, sortable: true }, { field: 'cntrtotal', label: 'CNTRTOTAL', width: 120, title: '箱型箱量', showHeaderOverflow: true, sortable: true }, - { field: 'operate', title: '操作', width: 80, noDraggable: true, slots: { default: 'operate' }, fixed: 'right' } + { field: 'operate', title: '操作', width: 80, noDraggable: true, slots: { default: 'operate' }, fixed: 'right', resizable: false } ], columnsAllData: [ { field: 'carrier', width: 120, title: '船公司', showHeaderOverflow: true, sortable: true },