Browse Source

销售数据bug修复

qymljy 8 months ago
parent
commit
e07718ac9e
1 changed files with 14 additions and 1 deletions
  1. 14 1
      src/views/salesData/index.vue

+ 14 - 1
src/views/salesData/index.vue

@@ -67,7 +67,7 @@
           <!--  近12月出货未开票金额趋势分析      -->
           <uninvoiceAmountAnalysis ref="uninvoiceAmountAnalysis" :dataid="departmentid" :windowWidth="windowWidth" :scrollHeight="scrollData" @backFull="backFull"></uninvoiceAmountAnalysis>
           <!--  已下单未出货分析      -->
-          <orderUnshippedGoods ref="delayedShipmentAnalysis" :dataid="departmentid" :windowWidth="windowWidth" :scrollHeight="scrollData" @backFull="backFull"></orderUnshippedGoods>
+          <orderUnshippedGoods ref="orderUnshippedGoods" :dataid="departmentid" :windowWidth="windowWidth" :scrollHeight="scrollData" @backFull="backFull"></orderUnshippedGoods>
           <!--  出货未开票分析      -->
           <shippingUninvoiceAnalysis ref="shippingUninvoiceAnalysis" :scrollHeight="scrollData" :windowWidth="windowWidth" @backFull="backFull"></shippingUninvoiceAnalysis>
           <!--  财务回款分析      -->
@@ -217,6 +217,11 @@ export default {
       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.orderUnshippedGoods.listData(dataid)
+      this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.person = userName
+      this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.deplist = this.deplist
+      this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.personnelList = this.personnelList
       /*出货未开票分析*/
       this.$refs.shippingUninvoiceAnalysis.listData(dataid)
       this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.person = userName
@@ -338,6 +343,13 @@ export default {
       this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.deplist = this.deplist
       this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.person = leave?'':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.deplist = this.deplist
+      this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.person = leave?'':type == '0'?dataid:''
+      this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.personnelList = this.personnelList
       /*出货未开票分析*/
       this.$refs.shippingUninvoiceAnalysis.param.content.type = type
       this.$refs.shippingUninvoiceAnalysis.queryModel(dataid,isleave)
@@ -453,6 +465,7 @@ export default {
       this.$refs.delayedShipmentAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
       this.$refs.invoiceAmountAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
       this.$refs.uninvoiceAmountAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
+      this.$refs.orderUnshippedGoods.$refs.departmentSalesperson.personnelList = this.personnelList
       this.$refs.shippingUninvoiceAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
       this.$refs.financialCollectionAnalysis.$refs.departmentSalesperson.personnelList = this.personnelList
     },