|
|
|
@ -113,6 +113,7 @@ |
|
|
|
style="width: 100%;"> |
|
|
|
<el-table-column |
|
|
|
v-for="(item,index) in columnList2" :key="index" |
|
|
|
v-if="shouldShowDetailColumn(item)" |
|
|
|
:sortable="item.columnSortable" |
|
|
|
:prop="item.columnProp" |
|
|
|
:header-align="item.headerAlign" |
|
|
|
@ -1716,6 +1717,24 @@ |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801006, |
|
|
|
serialNumber: '801006Table2HsCodeDesc', |
|
|
|
tableId: "801006Table2", |
|
|
|
tableName: "报关单子记录", |
|
|
|
columnProp: "brand", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "品牌", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801006, |
|
|
|
@ -1869,6 +1888,10 @@ |
|
|
|
}) |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
shouldShowDetailColumn(item) { |
|
|
|
const isLabelOrRfid = this.currentRow && (this.currentRow.buNo === '01-Label' || this.currentRow.buNo === '03-RFID') |
|
|
|
return !(item.columnProp === 'brand' && isLabelOrRfid) |
|
|
|
}, |
|
|
|
// 每页数 |
|
|
|
sizeChangeHandle (val) { |
|
|
|
this.pageSize = val |
|
|
|
|