Browse Source

2026-03-13

优化
master
fengyuan_yang 1 month ago
parent
commit
d3557ad72c
  1. 72
      src/views/modules/quote/detail/quoteDetail.vue
  2. 72
      src/views/modules/quote/detail/quoteGroupDetail.vue
  3. 24
      src/views/modules/quote/quoteDetailReport.vue

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

@ -245,24 +245,24 @@ export default {
fixed: '',
columnWidth: 60
},
{
userId: this.$store.state.user.name,
functionId: 5011,
serialNumber: '5011Table2QuoteTaxRate',
tableId: '5011Table2',
tableName: '报价详情信息表',
columnProp: 'quoteTaxRate',
headerAlign: 'center',
align: 'right',
columnLabel: 'Margin%',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 60
},
// {
// userId: this.$store.state.user.name,
// functionId: 5011,
// serialNumber: '5011Table2QuoteTaxRate',
// tableId: '5011Table2',
// tableName: '',
// columnProp: 'quoteTaxRate',
// headerAlign: 'center',
// align: 'right',
// columnLabel: 'Margin%',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 60
// },
{
userId: this.$store.state.user.name,
functionId: 5011,
@ -317,24 +317,24 @@ export default {
fixed: '',
columnWidth: 120
},
{
userId: this.$store.state.user.name,
functionId: 5011,
serialNumber: '5011Table2AdjustMachineCost',
tableId: '5011Table2',
tableName: '报价详情信息表',
columnProp: 'adjustMachineCost',
headerAlign: 'center',
align: 'right',
columnLabel: '机器成本',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
// {
// userId: this.$store.state.user.name,
// functionId: 5011,
// serialNumber: '5011Table2AdjustMachineCost',
// tableId: '5011Table2',
// tableName: '',
// columnProp: 'adjustMachineCost',
// headerAlign: 'center',
// align: 'right',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 120
// },
{
userId: this.$store.state.user.name,
functionId: 5011,

72
src/views/modules/quote/detail/quoteGroupDetail.vue

@ -223,24 +223,24 @@ export default {
fixed: '',
columnWidth: 120
},
{
userId: this.$store.state.user.name,
functionId: 5011,
serialNumber: '5011Table2AdjustMachineCost',
tableId: '5011Table2',
tableName: '报价详情信息表',
columnProp: 'adjustMachineCost',
headerAlign: 'center',
align: 'right',
columnLabel: '机器成本',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
// {
// userId: this.$store.state.user.name,
// functionId: 5011,
// serialNumber: '5011Table2AdjustMachineCost',
// tableId: '5011Table2',
// tableName: '',
// columnProp: 'adjustMachineCost',
// headerAlign: 'center',
// align: 'right',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 120
// },
{
userId: this.$store.state.user.name,
functionId: 5011,
@ -385,24 +385,24 @@ export default {
fixed: '',
columnWidth: 100
},
{
userId: this.$store.state.user.name,
functionId: 5011,
serialNumber: '5011Table2QuoteTaxRate',
tableId: '5011Table2',
tableName: '报价详情信息表',
columnProp: 'quoteTaxRate',
headerAlign: 'center',
align: 'right',
columnLabel: 'Margin%',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 80
},
// {
// userId: this.$store.state.user.name,
// functionId: 5011,
// serialNumber: '5011Table2QuoteTaxRate',
// tableId: '5011Table2',
// tableName: '',
// columnProp: 'quoteTaxRate',
// headerAlign: 'center',
// align: 'right',
// columnLabel: 'Margin%',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 80
// },
{
userId: this.$store.state.user.name,
functionId: 5011,

24
src/views/modules/quote/quoteDetailReport.vue

@ -87,11 +87,11 @@
<span>{{ scope.row.adjustLabourCost | numberFormat }}</span>
</template>
</el-table-column>
<el-table-column prop="adjustMachineCost" label="机器成本" width="120" align="right">
<template slot-scope="scope">
<span>{{ scope.row.adjustMachineCost | numberFormat }}</span>
</template>
</el-table-column>
<!-- <el-table-column prop="adjustMachineCost" label="机器成本" width="120" align="right">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ scope.row.adjustMachineCost | numberFormat }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column prop="adjustToolCost" label="工具成本" width="120" align="right">
<template slot-scope="scope">
<span>{{ scope.row.adjustToolCost | numberFormat }}</span>
@ -137,11 +137,11 @@
<span>{{ scope.row.quoteProfitAmount | numberFormat }}</span>
</template>
</el-table-column>
<el-table-column prop="quoteTaxRate" label="Margin%" width="100" align="right">
<template slot-scope="scope">
<span>{{ scope.row.quoteTaxRate | numberFormat }}</span>
</template>
</el-table-column>
<!-- <el-table-column prop="quoteTaxRate" label="Margin%" width="100" align="right">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ scope.row.quoteTaxRate | numberFormat }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column prop="quoteTaxTotalPrice" label="Price ¥(ex VAT)" width="130" align="right">
<template slot-scope="scope">
<span>{{ scope.row.quoteTaxTotalPrice | numberFormat }}</span>
@ -239,7 +239,7 @@ export default {
if (params.quoter) params.quoter = '%' + params.quoter + '%'
if (params.insideInquiryNo) params.insideInquiryNo = '%' + params.insideInquiryNo + '%'
if (params.partNo) params.partNo = '%' + params.partNo + '%'
queryQuoteDetailReport(params).then(({data}) => {
if (data && data.code === 0) {
this.dataList = data.page.list
@ -278,7 +278,7 @@ export default {
if (params.quoter) params.quoter = '%' + params.quoter + '%'
if (params.insideInquiryNo) params.insideInquiryNo = '%' + params.insideInquiryNo + '%'
if (params.partNo) params.partNo = '%' + params.partNo + '%'
await queryQuoteDetailReport(params).then(({data}) => {
if (data && data.code === 0) {
this.exportData = data.page.list

Loading…
Cancel
Save