Browse Source

2025.05.09 报价明细优化

java8
jiayang yue 8 months ago
parent
commit
2765330fc2
  1. 32
      src/views/modules/quote/detail/quoteDetail.vue

32
src/views/modules/quote/detail/quoteDetail.vue

@ -419,6 +419,24 @@ export default {
fixed: '',
columnWidth: 75
},
{
userId: this.$store.state.user.name,
functionId: 5011,
serialNumber: '5011Table2ChipPrice',
tableId: '5011Table2',
tableName: '报价详情信息表',
columnProp: 'chipPrice',
headerAlign: 'center',
align: 'right',
columnLabel: ' CUP (USD/PCS)',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 75
},
{
userId: this.$store.state.user.name,
functionId: 5011,
@ -782,6 +800,7 @@ export default {
v-for="(item,index) in columns" :key="index"
:sortable="item.columnSortable"
:prop="item.columnProp"
v-if="item.columnProp !== 'chipPrice' || (authFlag && quote.chipPrice !== null)"
:header-align="item.headerAlign"
:show-overflow-tooltip="item.showOverflowTooltip"
:align="item.align"
@ -793,9 +812,16 @@ export default {
{{ toFixed(scope.row[item.columnProp],scope.row['decimalPlace']) }}
</template>
<template v-else>
<span v-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"
style="width: 100px; height: 80px"/></span>
<template v-if="item.columnProp === 'chipPrice'">
<span v-if="!item.columnHidden">{{ quote.chipPrice }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"
style="width: 100px; height: 80px"/></span>
</template>
<template v-else>
<span v-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"
style="width: 100px; height: 80px"/></span>
</template>
</template>
</template>
</el-table-column>

Loading…
Cancel
Save