|
|
@@ -108,6 +108,7 @@ export default {
|
|
|
},
|
|
|
/*其他页面调用*/
|
|
|
otherMethod(dataid){
|
|
|
+ const userName = JSON.parse(sessionStorage.getItem('active_account')).name
|
|
|
/*数字看板*/
|
|
|
this.$refs.digitalSigns.$refs.order.param.content.dataid = dataid
|
|
|
this.$refs.digitalSigns.$refs.order.param.content.type = 0
|
|
|
@@ -122,18 +123,19 @@ export default {
|
|
|
this.$refs.digitalSigns.$refs.returned.param.content.type = 0
|
|
|
this.$refs.digitalSigns.$refs.returned.listData()
|
|
|
/*账户余额分析*/
|
|
|
- this.$refs.customerAccountBalanceAnalysis.listData(dataid)
|
|
|
+
|
|
|
/*this.$refs.customerAccountBalanceAnalysis.$refs.departmentSalesperson.depment = dataid*/
|
|
|
- this.$refs.customerAccountBalanceAnalysis.person = dataid
|
|
|
+ this.$refs.customerAccountBalanceAnalysis.person = userName
|
|
|
this.$refs.customerAccountBalanceAnalysis.deplist = this.deplist
|
|
|
this.$refs.customerAccountBalanceAnalysis.personnelList = this.personnelList
|
|
|
+ this.$refs.customerAccountBalanceAnalysis.listData(dataid)
|
|
|
/*客户销售*/
|
|
|
this.$refs.customer.param.content.dataid = dataid
|
|
|
this.$refs.salesperson.param.content.dataid = dataid
|
|
|
- this.$refs.customer.$refs.sales.$refs.departmentSalesperson.person = dataid
|
|
|
+ this.$refs.customer.$refs.sales.$refs.departmentSalesperson.person = userName
|
|
|
this.$refs.customer.$refs.sales.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.customer.$refs.sales.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
- this.$refs.salesperson.$refs.sales.$refs.departmentSalesperson.person = dataid
|
|
|
+ this.$refs.salesperson.$refs.sales.$refs.departmentSalesperson.person = userName
|
|
|
this.$refs.salesperson.$refs.sales.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.salesperson.$refs.sales.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
this.$refs.customer.listData(dataid)
|
|
|
@@ -142,45 +144,45 @@ export default {
|
|
|
this.$refs.quotationAnalysis.listData(dataid)
|
|
|
this.$refs.quotationAnalysis.queryQuotation(dataid)
|
|
|
/*this.$refs.quotationAnalysis.$refs.departmentSalesperson.depment = dataid*/
|
|
|
- this.$refs.quotationAnalysis.$refs.departmentSalesperson.person = dataid
|
|
|
+ this.$refs.quotationAnalysis.$refs.departmentSalesperson.person = userName
|
|
|
this.$refs.quotationAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.quotationAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*订单趋势分析*/
|
|
|
this.$refs.orderTrendAnalysis.listData(dataid)
|
|
|
/*this.$refs.orderTrendAnalysis.$refs.departmentSalesperson.depment = dataid*/
|
|
|
- this.$refs.orderTrendAnalysis.$refs.departmentSalesperson.person = dataid
|
|
|
+ this.$refs.orderTrendAnalysis.$refs.departmentSalesperson.person = userName
|
|
|
this.$refs.orderTrendAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.orderTrendAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*订单类型占比分析*/
|
|
|
this.$refs.orderType.listData(dataid)
|
|
|
/*出货趋势分析*/
|
|
|
this.$refs.shippingTrendAnalysis.listData(dataid)
|
|
|
- this.$refs.shippingTrendAnalysis.$refs.departmentSalesperson.person = dataid
|
|
|
+ this.$refs.shippingTrendAnalysis.$refs.departmentSalesperson.person = userName
|
|
|
this.$refs.shippingTrendAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.shippingTrendAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*近12月延期出货情况分析*/
|
|
|
this.$refs.delayedShipmentAnalysis.listData(dataid)
|
|
|
- this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.person = dataid
|
|
|
+ this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.person = userName
|
|
|
this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*开票金额趋势分析*/
|
|
|
this.$refs.invoiceAmountAnalysis.listData(dataid)
|
|
|
- this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.person = dataid
|
|
|
+ this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.person = userName
|
|
|
this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*近12月出货未开票金额趋势分析*/
|
|
|
this.$refs.uninvoiceAmountAnalysis.listData(dataid)
|
|
|
- this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.person = dataid
|
|
|
+ this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.person = userName
|
|
|
this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*出货未开票分析*/
|
|
|
this.$refs.shippingUninvoiceAnalysis.listData(dataid)
|
|
|
- this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.person = dataid
|
|
|
+ this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.person = userName
|
|
|
this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*财务回款分析 */
|
|
|
this.$refs.financialCollectionAnalysis.listData(dataid)
|
|
|
- this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.person = dataid
|
|
|
+ this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.person = userName
|
|
|
this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
},
|