|
|
@@ -61,7 +61,7 @@
|
|
|
<!-- 近12月延期出货情况分析 -->
|
|
|
<delayedShipmentAnalysis ref="delayedShipmentAnalysis" :dataid="departmentid" :windowWidth="windowWidth" :scrollHeight="scrollData" @backFull="backFull"></delayedShipmentAnalysis>
|
|
|
<!-- 未出货已延期情况分析 -->
|
|
|
- <unshippedExtensionAnalysis ref="unshippedExtensionAnalysis" :dataid="departmentid" :windowWidth="windowWidth" :scrollHeight="scrollData" @backFull="backFull"></unshippedExtensionAnalysis>
|
|
|
+ <unshippedExtensionAnalysis ref="unshippedExtensionAnalysisRef" :dataid="departmentid" :windowWidth="windowWidth" :scrollHeight="scrollData" @backFull="backFull"></unshippedExtensionAnalysis>
|
|
|
<!-- 开票金额趋势分析 -->
|
|
|
<invoiceAmountAnalysis ref="invoiceAmountAnalysis" :dataid="departmentid" :windowWidth="windowWidth" :scrollHeight="scrollData" @backFull="backFull"></invoiceAmountAnalysis>
|
|
|
<!-- 近12月出货未开票金额趋势分析 -->
|
|
|
@@ -204,10 +204,10 @@ export default {
|
|
|
this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*未出货已延期情况分析*/
|
|
|
- this.$refs.unshippedExtensionAnalysis.listData(dataid)
|
|
|
- this.$refs.unshippedExtensionAnalysis.$refs.departmentSalesperson.person = userName
|
|
|
- this.$refs.unshippedExtensionAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
- this.$refs.unshippedExtensionAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
+ this.$refs.unshippedExtensionAnalysisRef.listData(dataid)
|
|
|
+ this.$refs.unshippedExtensionAnalysisRef.$refs.departmentSalesperson.person = userName
|
|
|
+ this.$refs.unshippedExtensionAnalysisRef.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
+ this.$refs.unshippedExtensionAnalysisRef.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*开票金额趋势分析*/
|
|
|
this.$refs.invoiceAmountAnalysis.listData(dataid)
|
|
|
this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.person = userName
|
|
|
@@ -256,8 +256,8 @@ export default {
|
|
|
/*账户余额分析*/
|
|
|
this.$refs.customerAccountBalanceAnalysis.param.content.type = type
|
|
|
this.$refs.customerAccountBalanceAnalysis.queryModel(dataid,isleave)
|
|
|
- this.$refs.customerAccountBalanceAnalysis.depment = type == '1'?dataid:''
|
|
|
- this.$refs.customerAccountBalanceAnalysis.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.customerAccountBalanceAnalysis.depment = type == '1'?dataid:this.$refs.customerAccountBalanceAnalysis.depment
|
|
|
+ this.$refs.customerAccountBalanceAnalysis.person = type == '0'?dataid:''
|
|
|
this.$refs.customerAccountBalanceAnalysis.deplist = this.deplist
|
|
|
this.$refs.customerAccountBalanceAnalysis.personnelList = this.personnelList
|
|
|
/*客户销售*/
|
|
|
@@ -265,8 +265,8 @@ export default {
|
|
|
this.$refs.customer.param.content.type = type
|
|
|
this.$refs.customer.param.content.pageNumber = 1
|
|
|
this.$refs.customer.param.content.pageSize = 10
|
|
|
- this.$refs.customer.$refs.sales.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
- this.$refs.customer.$refs.sales.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.customer.$refs.sales.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.customer.$refs.sales.$refs.departmentSalesperson.depment
|
|
|
+ this.$refs.customer.$refs.sales.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
this.$refs.customer.$refs.sales.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.customer.$refs.sales.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
this.$refs.customer.listData(dataid,isleave)
|
|
|
@@ -274,8 +274,8 @@ export default {
|
|
|
this.$refs.salesperson.param.content.type = type
|
|
|
this.$refs.salesperson.param.content.pageNumber = 1
|
|
|
this.$refs.salesperson.param.content.pageSize = 10
|
|
|
- this.$refs.salesperson.$refs.sales.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
- this.$refs.salesperson.$refs.sales.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.salesperson.$refs.sales.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.salesperson.$refs.sales.$refs.departmentSalesperson.depment
|
|
|
+ this.$refs.salesperson.$refs.sales.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
this.$refs.salesperson.$refs.sales.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.salesperson.$refs.sales.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
this.$refs.salesperson.listData(dataid,isleave)
|
|
|
@@ -284,77 +284,77 @@ export default {
|
|
|
this.$refs.quotationAnalysis.plotParam.content.type = type
|
|
|
this.$refs.quotationAnalysis.listData(dataid,isleave)
|
|
|
this.$refs.quotationAnalysis.queryQuotationModel(dataid,isleave)
|
|
|
- this.$refs.quotationAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
+ this.$refs.quotationAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.quotationAnalysis.$refs.departmentSalesperson.depment
|
|
|
this.$refs.quotationAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
- this.$refs.quotationAnalysis.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.quotationAnalysis.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
this.$refs.quotationAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*订单趋势分析*/
|
|
|
this.$refs.orderTrendAnalysis.param.content.type = type
|
|
|
this.$refs.orderTrendAnalysis.queryModel(dataid,isleave)
|
|
|
- this.$refs.orderTrendAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
+ this.$refs.orderTrendAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.orderTrendAnalysis.$refs.departmentSalesperson.depment
|
|
|
this.$refs.orderTrendAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
- this.$refs.orderTrendAnalysis.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.orderTrendAnalysis.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
this.$refs.orderTrendAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*订单类型占比分析*/
|
|
|
this.$refs.orderType.param.content.type = type
|
|
|
this.$refs.orderType.queryModel(dataid,isleave)
|
|
|
- this.$refs.orderType.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
+ this.$refs.orderType.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.orderType.$refs.departmentSalesperson.depment
|
|
|
this.$refs.orderType.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
- this.$refs.orderType.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.orderType.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
this.$refs.orderType.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*订单产品类别占比分析*/
|
|
|
this.$refs.orderProductCategory.param.content.type = type
|
|
|
this.$refs.orderProductCategory.queryModel(dataid,isleave)
|
|
|
- this.$refs.orderProductCategory.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
+ this.$refs.orderProductCategory.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.orderProductCategory.$refs.departmentSalesperson.depment
|
|
|
this.$refs.orderProductCategory.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
- this.$refs.orderProductCategory.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.orderProductCategory.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
this.$refs.orderProductCategory.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*出货趋势分析*/
|
|
|
this.$refs.shippingTrendAnalysis.param.content.type = type
|
|
|
this.$refs.shippingTrendAnalysis.queryModel(dataid,isleave)
|
|
|
- this.$refs.shippingTrendAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
+ this.$refs.shippingTrendAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.shippingTrendAnalysis.$refs.departmentSalesperson.depment
|
|
|
this.$refs.shippingTrendAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
- this.$refs.shippingTrendAnalysis.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.shippingTrendAnalysis.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
this.$refs.shippingTrendAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*近12月延期出货情况分析*/
|
|
|
this.$refs.delayedShipmentAnalysis.param.content.type = type
|
|
|
this.$refs.delayedShipmentAnalysis.queryModel(dataid,isleave)
|
|
|
- this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
+ this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.depment
|
|
|
this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
- this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*未出货已延期情况分析*/
|
|
|
- this.$refs.unshippedExtensionAnalysis.param.content.type = type
|
|
|
- this.$refs.unshippedExtensionAnalysis.queryModel(dataid,isleave)
|
|
|
- this.$refs.unshippedExtensionAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
- this.$refs.unshippedExtensionAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
- this.$refs.unshippedExtensionAnalysis.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
- this.$refs.unshippedExtensionAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
+ this.$refs.unshippedExtensionAnalysisRef.param.content.type = type
|
|
|
+ this.$refs.unshippedExtensionAnalysisRef.queryModel(dataid,isleave)
|
|
|
+ this.$refs.unshippedExtensionAnalysisRef.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.unshippedExtensionAnalysisRef.$refs.departmentSalesperson.depment
|
|
|
+ this.$refs.unshippedExtensionAnalysisRef.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
+ this.$refs.unshippedExtensionAnalysisRef.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
+ this.$refs.unshippedExtensionAnalysisRef.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*开票金额趋势分析*/
|
|
|
this.$refs.invoiceAmountAnalysis.param.content.type = type
|
|
|
this.$refs.invoiceAmountAnalysis.queryModel(dataid,isleave)
|
|
|
- this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
+ this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.depment
|
|
|
this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
- this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*近12月出货未开票金额趋势分析*/
|
|
|
this.$refs.uninvoiceAmountAnalysis.param.content.type = type
|
|
|
this.$refs.uninvoiceAmountAnalysis.queryModel(dataid,isleave)
|
|
|
- this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
+ this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.depment
|
|
|
this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
- this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*已下单未出货分析*/
|
|
|
this.$refs.orderUnshippedGoods.param.content.type = type
|
|
|
this.$refs.orderUnshippedGoods.queryModel(dataid,isleave)
|
|
|
- this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
+ this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.depment
|
|
|
this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
- this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
/*出货未开票分析*/
|
|
|
this.$refs.shippingUninvoiceAnalysis.param.content.type = type
|
|
|
this.$refs.shippingUninvoiceAnalysis.queryModel(dataid,isleave)
|
|
|
- this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
+ this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.depment
|
|
|
this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
@@ -363,9 +363,9 @@ export default {
|
|
|
this.$refs.financialCollectionAnalysis.tableParam.content.type = type
|
|
|
this.$refs.financialCollectionAnalysis.queryModel(dataid,isleave)
|
|
|
this.$refs.financialCollectionAnalysis.tableData(dataid,isleave)
|
|
|
- this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:''
|
|
|
+ this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.depment = type == '1'?dataid:this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.depment
|
|
|
this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.deplist = this.deplist
|
|
|
- this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
|
|
|
+ this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.person = type == '0'?dataid:''
|
|
|
this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
},
|
|
|
createMenu (array) {
|
|
|
@@ -448,8 +448,8 @@ export default {
|
|
|
const type = 1
|
|
|
this.person = ''
|
|
|
const dataid = this.departmentid?this.departmentid:-1
|
|
|
- this.otherModel(dataid,type,this.isleave,'状态')
|
|
|
this.personData(this.departmentid)
|
|
|
+ this.otherModel(dataid,type,this.isleave,'状态')
|
|
|
},
|
|
|
/*获取新的业务员列表*/
|
|
|
async personData(depid){
|
|
|
@@ -476,6 +476,7 @@ export default {
|
|
|
this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
+ this.$refs.unshippedExtensionAnalysisRef.$refs.departmentSalesperson.personnelList = this.personnelList
|
|
|
},
|
|
|
handleClick(tab, event) {
|
|
|
console.log(this.activeName);
|