Browse Source

2025-03-05

master
qiezi 10 months ago
parent
commit
ce7dc033b2
  1. 20
      src/views/modules/quote/detail/primary/quoteDetailBom.vue
  2. 4
      src/views/modules/quote/detail/primary/quoteDetailCost.vue
  3. 1
      src/views/modules/quote/detail/quoteGroupDetail.vue

20
src/views/modules/quote/detail/primary/quoteDetailBom.vue

@ -209,7 +209,25 @@ export default {
columnProp: 'quoteUnitPrice',
headerAlign: "center",
align: "right",
columnLabel: '材料总成本',
columnLabel: '累计成本',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: 'right',
columnWidth: 100,
},
{
userId: this.$store.state.user.name,
functionId: 5011,
serialNumber: '5011Table4LevelCost',
tableId: "5011Table4",
tableName: "报价材料信息",
columnProp: 'levelCost',
headerAlign: "center",
align: "right",
columnLabel: '本层成本',
columnHidden: false,
columnImage: false,
columnSortable: false,

4
src/views/modules/quote/detail/primary/quoteDetailCost.vue

@ -142,11 +142,11 @@ export default {
this.quoteDetail.totalPrice =
this.quoteDetail.totalCost + this.quoteDetail.profitAmount;
this.quoteDetail.unitPrice =
this.quoteDetail.totalPrice / this.quoteDetail.qty;
this.quoteDetail.totalPrice ;
this.quoteDetail.taxTotalPrice =
this.quoteDetail.totalPrice + this.quoteDetail.totalPrice * ((this.quoteDetail.taxRate+this.quoteDetail.exchangeRate1) / 100);
this.quoteDetail.taxUnitPrice =
this.quoteDetail.taxTotalPrice / this.quoteDetail.qty;
this.quoteDetail.taxTotalPrice ;
this.computeCurrencyTotalCost();
},
handleQueryAllCost(){

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

@ -621,6 +621,7 @@ export default {
getProjectPartList(){
let params = {
...this.projectPart,
partType:'Manufactured',
no:this.pageNo,
size:this.pageSize,
}

Loading…
Cancel
Save