Browse Source

2024-03-14 报价修改

master
zelian_wu 2 years ago
parent
commit
0ba4b8630a
  1. 2
      src/views/modules/quotation/sellForQuotation.vue
  2. 7
      src/views/modules/quotation/sellForQuotation/quotationDetail/quoteRouting.vue
  3. 7
      src/views/modules/quotation/sellForQuotation/quoteDetail.vue

2
src/views/modules/quotation/sellForQuotation.vue

@ -106,7 +106,7 @@
<el-tabs v-model="activeTabName" @tab-click="handleClickTab"
style="box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);border: 2px;min-height: 440px;margin-top: 5px;">
<el-tab-pane label="报价明细" name="quotation_detail" v-if="false">
<quotation-detail :quotation-header="quotationHeader"></quotation-detail>
<quotation-detail v-if="false" :quotation-header="quotationHeader"></quotation-detail>
</el-tab-pane>
<el-tab-pane label="报价明细" name="quote_detail">
<quote-detail :header="quotationHeader"></quote-detail>

7
src/views/modules/quotation/sellForQuotation/quotationDetail/quoteRouting.vue

@ -36,7 +36,10 @@ export default {
}
getBomTreeStructure(params).then(({data})=>{
if (data && data.code === 0){
this.routingTreeStructure = data.rows
this.routingTreeStructure = data.rows;
this.$nextTick(()=>{
this.$refs.tree.setCurrentKey(`${this.selectBom[0]}-${this.selectBom[1]}-${this.selectBom[2]}`)
})
}else {
this.$message.warning(data.msg)
}
@ -50,7 +53,7 @@ export default {
<template>
<div>
{{detail}}
<!-- {{detail}}-->
<el-container>
<el-aside width="24%" style="padding: 0;" :style="{height: height}" v-loading="treeLoading">
<el-tree :data="routingTreeStructure"

7
src/views/modules/quotation/sellForQuotation/quoteDetail.vue

@ -270,9 +270,10 @@ export default {
},
openQuotationDetail(){
this.$nextTick(()=>{
this.$refs.property.getPropertyTemplatesItem();
this.$refs.tool.initQuotationToolData();
this.searchQuoteBomList();
this.$refs.property.getPropertyTemplatesItem();//
this.$refs.tool.initQuotationToolData();//
this.searchQuoteBomList();//bom
this.$refs.routing.getBomTreeStructure();
})
},
searchQuoteBomList(){

Loading…
Cancel
Save