| | |
| | | > |
| | | <template slot="title"> |
| | | <div class="header"> |
| | | <span class="header-label">机会名称</span> |
| | | <span class="header-label">销售机会</span> |
| | | <span class="header-title">{{ detailConfig.infomation.name }}</span> |
| | | </div> |
| | | </template> |
| | |
| | | <div>跟进记录<el-badge type="primary" :value="2"> </el-badge></div> |
| | | </template> --> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="收款预测" name="collectionForecast"></el-tab-pane> |
| | | <!-- <el-tab-pane label="收款预测" name="collectionForecast"></el-tab-pane> --> |
| | | <el-tab-pane label="报价单" name="quotation"></el-tab-pane> |
| | | <el-tab-pane label="销售明细单" name="detail"></el-tab-pane> |
| | | <el-tab-pane label="服务合同" name="serviceContract"></el-tab-pane> |
| | |
| | | </div> --> |
| | | </div> |
| | | <div v-if="activeName === 'second'" class="second"> |
| | | <FollowupRecords :isDetail="true" /> |
| | | <FollowupRecords :isDetail="true" :add-config="addConfig" /> |
| | | </div> |
| | | <div v-if="activeName === 'collectionForecast'" class="second"> |
| | | <!-- <SalesOpportunity :isDetail="true" /> --> |
| | | </div> |
| | | <div v-if="activeName === 'quotation'" class="second"> |
| | | <Quotation :isDetail="true" /> |
| | | <Quotation :isDetail="true" :add-config="addConfig" /> |
| | | </div> |
| | | <div v-if="activeName === 'detail'" class="second"> |
| | | <SalesDetails :isDetail="true" /> |
| | | <SalesDetails :isDetail="true" :add-config="addConfig" /> |
| | | </div> |
| | | <div v-if="activeName === 'serviceContract'" class="second"> |
| | | <ServiceContract :isDetail="true" /> |
| | | <ServiceContract :isDetail="true" :add-config="addConfig" /> |
| | | </div> |
| | | </div> |
| | | <!-- 推进 --> |
| | |
| | | active: "", |
| | | allOptions: [], |
| | | options: [] |
| | | } |
| | | }, |
| | | addConfig: {} |
| | | } |
| | | }, |
| | | created() { |
| | | this.setData(this.detailConfig.infomation) |
| | | this.addConfig = { |
| | | id_name: "sale_chance_id", |
| | | keywordType: "销售机会", |
| | | keyword: this.detailConfig.infomation.name, |
| | | id: this.detailConfig.infomation.id, |
| | | common_name: this.detailConfig.infomation.name, |
| | | client_name: this.detailConfig.infomation.client.name, |
| | | contact_name: this.detailConfig.infomation.contact_name, |
| | | client_id: this.detailConfig.infomation.client_id, |
| | | contact_id: this.detailConfig.infomation.contact_id, |
| | | sale_chance_name: this.detailConfig.infomation.name, |
| | | sale_chance_id: this.detailConfig.infomation.id |
| | | } |
| | | this.getSaleStageList() |
| | | this.setData(this.detailConfig.infomation) |
| | | }, |
| | |
| | | { |
| | | leftStr: "老客户营销", |
| | | leftValue: item.regular_customers_id, |
| | | rightStr: "签到", |
| | | rightStr: "审批状态", |
| | | rightValue: "" |
| | | }, |
| | | { |
| | | leftStr: "审批状态", |
| | | leftStr: "竞争对手", |
| | | leftValue: "", |
| | | rightStr: "竞争对手", |
| | | rightStr: "创建人", |
| | | rightValue: "" |
| | | }, |
| | | { |
| | | leftStr: "创建人", |
| | | leftStr: "创建时间", |
| | | leftValue: "", |
| | | rightStr: "创建时间", |
| | | rightStr: "", |
| | | rightValue: "" |
| | | } |
| | | ] |