|
|
@@ -125,6 +125,8 @@ export default {
|
|
|
this.$refs.customerAccountBalanceAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.customerAccountBalanceAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*客户销售*/
|
|
|
+ this.$refs.customer.param.content.dataid = dataid
|
|
|
+ this.$refs.salesperson.param.content.dataid = dataid
|
|
|
this.$refs.customer.listData(dataid)
|
|
|
this.activeName = '客户销售'
|
|
|
/*报价分析*/
|
|
|
@@ -196,9 +198,15 @@ export default {
|
|
|
this.$refs.customerAccountBalanceAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.customerAccountBalanceAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*客户销售*/
|
|
|
+ this.$refs.customer.param.content.dataid = dataid
|
|
|
this.$refs.customer.param.content.type = type
|
|
|
+ this.$refs.customer.param.content.pageNumber = 1
|
|
|
+ this.$refs.customer.param.content.pageSize = 10
|
|
|
this.$refs.customer.listData(dataid)
|
|
|
+ this.$refs.salesperson.param.content.dataid = dataid
|
|
|
this.$refs.salesperson.param.content.type = type
|
|
|
+ this.$refs.salesperson.param.content.pageNumber = 1
|
|
|
+ this.$refs.salesperson.param.content.pageSize = 10
|
|
|
this.$refs.salesperson.listData(dataid)
|
|
|
/*报价分析*/
|
|
|
this.$refs.quotationAnalysis.param.content.type = type
|
|
|
@@ -330,9 +338,9 @@ export default {
|
|
|
handleClick(tab, event) {
|
|
|
console.log(this.activeName);
|
|
|
if (this.activeName === '客户销售'){
|
|
|
- this.$refs.customer.listData()
|
|
|
+ this.$refs.customer.listData(this.$refs.customer.param.content.dataid)
|
|
|
}else {
|
|
|
- this.$refs.salesperson.listData()
|
|
|
+ this.$refs.salesperson.listData(this.$refs.salesperson.param.content.dataid)
|
|
|
}
|
|
|
|
|
|
},
|