lilei 2 년 전
부모
커밋
3c2aa253a6

+ 3 - 3
src/views/reportData/actualSalesReport/list.vue

@@ -19,7 +19,7 @@
             </a-col>
             <a-col :md="6" :sm="24">
               <a-form-model-item label="客户名称">
-                <custList id="actualSalesReportList-allocateTypeSn" ref="custList" @change="custChange"></custList>
+                <dealerSubareaScopeList ref="custList" id="actualSalesReportList-dealerSn" @change="custChange" />
               </a-form-model-item>
             </a-col>
             <a-col :md="6" :sm="24">
@@ -108,7 +108,7 @@ import { commonMixin } from '@/utils/mixin'
 import getDate from '@/libs/getDate.js'
 import { STable, VSelect } from '@/components'
 import rangeDate from '@/views/common/rangeDate.vue'
-import custList from '@/views/common/custList.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import reportModal from '@/views/common/reportModal.vue'
 import subarea from '@/views/common/subarea.js'
 import AreaList from '@/views/common/areaList.js'
@@ -118,7 +118,7 @@ import { actualSalesExport } from '@/api/reportData'
 export default {
   name: 'ActualSalesReportList',
   mixins: [commonMixin],
-  components: { STable, VSelect, rangeDate, subarea, custList, reportModal, AreaList },
+  components: { STable, VSelect, rangeDate, subarea, dealerSubareaScopeList, reportModal, AreaList },
   data () {
     return {
       spinning: false,

+ 3 - 3
src/views/reportData/billingReturnReport/list.vue

@@ -19,7 +19,7 @@
             </a-col>
             <a-col :md="6" :sm="24">
               <a-form-model-item label="客户名称">
-                <custList id="billingReturnReportList-custList" ref="custList" @change="custChange"></custList>
+                <dealerSubareaScopeList ref="custList" id="billingReturnReportList-dealerSn" @change="custChange" />
               </a-form-model-item>
             </a-col>
             <a-col :md="6" :sm="24">
@@ -109,7 +109,7 @@ import { commonMixin } from '@/utils/mixin'
 import getDate from '@/libs/getDate.js'
 import { STable, VSelect } from '@/components'
 import rangeDate from '@/views/common/rangeDate.vue'
-import custList from '@/views/common/custList.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import subarea from '@/views/common/subarea.js'
 import reportModal from '@/views/common/reportModal.vue'
 import AreaList from '@/views/common/areaList.js'
@@ -118,7 +118,7 @@ import { salesReportReturnList, salesReportReturnCount, billingReturnExport, sal
 export default {
   name: 'BillingReturnReportList',
   mixins: [commonMixin],
-  components: { STable, VSelect, custList, subarea, rangeDate, reportModal, AreaList },
+  components: { STable, VSelect, dealerSubareaScopeList, subarea, rangeDate, reportModal, AreaList },
   data () {
     return {
       spinning: false,

+ 3 - 3
src/views/reportData/hPriceDifferenceDetailReport/list.vue

@@ -24,7 +24,7 @@
             </a-col>
             <a-col :md="6" :sm="24">
               <a-form-model-item label="客户名称">
-                <custList id="hPriceDifferenceDetailList-custList" ref="custList" @change="custChange"></custList>
+                <dealerSubareaScopeList id="hPriceDifferenceDetailList-custList" ref="custList" @change="custChange"></dealerSubareaScopeList>
               </a-form-model-item>
             </a-col>
             <template v-if="advanced">
@@ -129,7 +129,7 @@ import { commonMixin } from '@/utils/mixin'
 import getDate from '@/libs/getDate.js'
 import { STable, VSelect } from '@/components'
 import rangeDate from '@/views/common/rangeDate.vue'
-import custList from '@/views/common/custList.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import subarea from '@/views/common/subarea.js'
 import reportModal from '@/views/common/reportModal.vue'
 import Area from '@/views/common/area.js'
@@ -140,7 +140,7 @@ import { headRebateDetailReportList, headRebateDetailReportCount, headRebateDeta
 export default {
   name: 'HPriceDifferenceDetailReportList',
   mixins: [commonMixin],
-  components: { STable, VSelect, custList, subarea, Area, rangeDate, ProductBrand, ProductType, reportModal },
+  components: { STable, VSelect, dealerSubareaScopeList, subarea, Area, rangeDate, ProductBrand, ProductType, reportModal },
   data () {
     return {
       spinning: false,

+ 3 - 2
src/views/reportData/priceDifferenceDetailReport/list.vue

@@ -35,7 +35,7 @@
             </a-col>
             <a-col :md="5" :sm="24">
               <a-form-model-item label="客户名称">
-                <custList id="priceDifferenceDetailList-custList" ref="custList" :itemSn="queryParam.dealerSn" @change="custChange"></custList>
+                <dealerSubareaScopeList id="priceDifferenceDetailList-custList" ref="custList" :itemSn="queryParam.dealerSn" @change="custChange"></dealerSubareaScopeList>
               </a-form-model-item>
             </a-col>
             <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
@@ -94,6 +94,7 @@ import { commonMixin } from '@/utils/mixin'
 import moment from 'moment'
 import { STable, VSelect } from '@/components'
 import custList from '@/views/common/custList.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import Area from '@/views/common/area.js'
 import subarea from '@/views/common/subarea.js'
 import rangeDate from '@/views/common/rangeDate.vue'
@@ -103,7 +104,7 @@ import { reportRebateReportList, reportRebateCount, reportRebateExport } from '@
 export default {
   name: 'PriceDifferenceDetailReportList',
   mixins: [commonMixin],
-  components: { STable, VSelect, custList, subarea, Area, rangeDate, reportModal },
+  components: { STable, VSelect, custList, dealerSubareaScopeList, subarea, Area, rangeDate, reportModal },
   data () {
     return {
       spinning: false,

+ 4 - 4
src/views/reportData/returnGoodsPresentation/list.vue

@@ -19,7 +19,7 @@
             </a-col>
             <a-col :md="6" :sm="24">
               <a-form-model-item label="客户名称">
-                <custList id="salesPresentationList-dealerSn" ref="custList" @change="custChange"></custList>
+                <dealerSubareaScopeList id="salesPresentationList-dealerSn" ref="custList" @change="custChange"></dealerSubareaScopeList>
                 <!-- <a-input id="returnGoodsPresentationList-dealerName" v-model.trim="queryParam.dealer.dealerName" allowClear placeholder="请输入客户名称"/> -->
               </a-form-model-item>
             </a-col>
@@ -113,7 +113,7 @@
 <script>
 import { commonMixin } from '@/utils/mixin'
 import { STable, VSelect } from '@/components'
-import custList from '@/views/common/custList.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import rangeDate from '@/views/common/rangeDate.vue'
 import subarea from '@/views/common/subarea.js'
 import AreaList from '@/views/common/areaList.js'
@@ -123,7 +123,7 @@ import { returnDocReportTitle, reportSalesReturnThjdReportList, reportSalesRetur
 export default {
   name: 'ReturnGoodsPresentationList',
   mixins: [commonMixin],
-  components: { STable, VSelect, rangeDate, subarea, AreaList, reportModal, custList },
+  components: { STable, VSelect, rangeDate, subarea, AreaList, reportModal, dealerSubareaScopeList },
   data () {
     return {
       spinning: false,
@@ -215,7 +215,7 @@ export default {
         if (valid) {
           _this.$refs.table.refresh(true)
         } else {
-          _this.$message.error('请选择调拨日期')
+          _this.$message.error('请选择退货日期')
           return false
         }
       })

+ 3 - 3
src/views/reportData/returnSlipReport/list.vue

@@ -19,7 +19,7 @@
             </a-col>
             <a-col :md="6" :sm="24">
               <a-form-model-item label="客户名称">
-                <custList id="returnSlipReportList-custList" ref="custList" @change="custChange"></custList>
+                <dealerSubareaScopeList id="returnSlipReportList-custList" ref="custList" @change="custChange"></dealerSubareaScopeList>
               </a-form-model-item>
             </a-col>
             <a-col :md="6" :sm="24">
@@ -114,7 +114,7 @@ import { commonMixin } from '@/utils/mixin'
 import getDate from '@/libs/getDate.js'
 import { STable, VSelect } from '@/components'
 import rangeDate from '@/views/common/rangeDate.vue'
-import custList from '@/views/common/custList.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import subarea from '@/views/common/subarea.js'
 import reportModal from '@/views/common/reportModal.vue'
 import AreaList from '@/views/common/areaList.js'
@@ -123,7 +123,7 @@ import { salesReportReturnTitle, salesReportReturnBillList, salesReportReturnBil
 export default {
   name: 'ReturnSlipReportList',
   mixins: [commonMixin],
-  components: { STable, VSelect, custList, subarea, rangeDate, reportModal, AreaList },
+  components: { STable, VSelect, dealerSubareaScopeList, subarea, rangeDate, reportModal, AreaList },
   data () {
     return {
       spinning: false,

+ 3 - 3
src/views/reportData/salesAmountReport/list.vue

@@ -19,7 +19,7 @@
             </a-col>
             <a-col :md="6" :sm="24">
               <a-form-model-item label="客户名称">
-                <custList id="salesAmountReportList-allocateTypeSn" ref="custList" @change="custChange"></custList>
+                <dealerSubareaScopeList ref="custList" id="salesAmountReportList-dealerSn" @change="custChange" />
               </a-form-model-item>
             </a-col>
             <a-col :md="6" :sm="24">
@@ -109,7 +109,7 @@ import { commonMixin } from '@/utils/mixin'
 import getDate from '@/libs/getDate.js'
 import { STable, VSelect } from '@/components'
 import rangeDate from '@/views/common/rangeDate.vue'
-import custList from '@/views/common/custList.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import subarea from '@/views/common/subarea.js'
 import reportModal from '@/views/common/reportModal.vue'
 import AreaList from '@/views/common/areaList.js'
@@ -119,7 +119,7 @@ import { salesAmountExport } from '@/api/reportData'
 export default {
   name: 'SalesAmountReportList',
   mixins: [commonMixin],
-  components: { STable, VSelect, rangeDate, subarea, custList, reportModal, AreaList },
+  components: { STable, VSelect, rangeDate, subarea, dealerSubareaScopeList, reportModal, AreaList },
   data () {
     return {
       spinning: false,

+ 3 - 3
src/views/reportData/salesPresentation/list.vue

@@ -19,7 +19,7 @@
             </a-col>
             <a-col :md="6" :sm="24">
               <a-form-model-item label="客户名称">
-                <custList id="salesPresentationList-dealerSn" ref="custList" @change="custChange"></custList>
+                <dealerSubareaScopeList id="salesPresentationList-dealerSn" ref="custList" @change="custChange"></dealerSubareaScopeList>
               </a-form-model-item>
             </a-col>
             <a-col :md="6" :sm="24">
@@ -113,7 +113,7 @@
 import { commonMixin } from '@/utils/mixin'
 import { STable, VSelect } from '@/components'
 import rangeDate from '@/views/common/rangeDate.vue'
-import custList from '@/views/common/custList.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import subarea from '@/views/common/subarea.js'
 import reportModal from '@/views/common/reportModal.vue'
 import AreaList from '@/views/common/areaList.js'
@@ -122,7 +122,7 @@ import { salesXsjdReportTitle, reportDispatchReportList, reportDispatchReportCou
 export default {
   name: 'SalesPresentationList',
   mixins: [commonMixin],
-  components: { STable, VSelect, rangeDate, subarea, AreaList, custList, reportModal },
+  components: { STable, VSelect, rangeDate, subarea, AreaList, dealerSubareaScopeList, reportModal },
   data () {
     return {
       spinning: false,

+ 3 - 3
src/views/reportData/salesReturnReport/list.vue

@@ -19,7 +19,7 @@
             </a-col>
             <a-col :md="6" :sm="24">
               <a-form-model-item label="客户名称">
-                <custList id="salesReturnReportList-custList" ref="custList" @change="custChange"></custList>
+                <dealerSubareaScopeList ref="custList" id="salesReturnReportList-dealerSn" @change="custChange" />
               </a-form-model-item>
             </a-col>
             <a-col :md="6" :sm="24">
@@ -109,7 +109,7 @@ import { commonMixin } from '@/utils/mixin'
 import getDate from '@/libs/getDate.js'
 import { STable, VSelect } from '@/components'
 import rangeDate from '@/views/common/rangeDate.vue'
-import custList from '@/views/common/custList.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import reportModal from '@/views/common/reportModal.vue'
 import subarea from '@/views/common/subarea.js'
 import AreaList from '@/views/common/areaList.js'
@@ -119,7 +119,7 @@ import { salesReportReturnRebateTitle, salesReportReturnRebateList, salesReportR
 export default {
   name: 'SalesReturnReportList',
   mixins: [commonMixin],
-  components: { STable, VSelect, custList, subarea, rangeDate, reportModal, AreaList },
+  components: { STable, VSelect, dealerSubareaScopeList, subarea, rangeDate, reportModal, AreaList },
   data () {
     return {
       spinning: false,

+ 3 - 3
src/views/reportData/salesReturnsReport/list.vue

@@ -30,7 +30,7 @@
             <template v-if="advanced">
               <a-col :md="5" :sm="24">
                 <a-form-model-item label="客户名称">
-                  <custList id="salesReturnsReportList-dealerName" ref="custList" :itemSn="queryParam.dealerSn" @change="custChange"></custList>
+                  <dealerSubareaScopeList ref="custList" id="salesReturnsReportList-dealerSn" @change="custChange" />
                 </a-form-model-item>
               </a-col>
               <a-col :md="5" :sm="24">
@@ -110,7 +110,7 @@ import getDate from '@/libs/getDate.js'
 import { STable, VSelect } from '@/components'
 import rangeDate from '@/views/common/rangeDate.vue'
 import subarea from '@/views/common/subarea.js'
-import custList from '@/views/common/custList.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import reportModal from '@/views/common/reportModal.vue'
 import AreaList from '@/views/common/areaList.js'
 import { hdExportExcel } from '@/libs/exportExcel'
@@ -118,7 +118,7 @@ import { reportSalesReturnList, reportSalesReturnCount, salesReturnsExport } fro
 export default {
   name: 'SalesReturnsReportList',
   mixins: [commonMixin],
-  components: { STable, VSelect, rangeDate, subarea, custList, reportModal, AreaList },
+  components: { STable, VSelect, rangeDate, subarea, dealerSubareaScopeList, reportModal, AreaList },
   data () {
     return {
       spinning: false,

+ 3 - 3
src/views/reportData/salesSlipReport/list.vue

@@ -19,7 +19,7 @@
             </a-col>
             <a-col :md="6" :sm="24">
               <a-form-model-item label="客户名称">
-                <custList id="salesSlipReportList-allocateTypeSn" ref="custList" @change="custChange"></custList>
+                <dealerSubareaScopeList ref="custList" id="salesAmountReportList-dealerSn" @change="custChange" />
               </a-form-model-item>
             </a-col>
             <a-col :md="6" :sm="24">
@@ -114,7 +114,7 @@ import { commonMixin } from '@/utils/mixin'
 import getDate from '@/libs/getDate.js'
 import { STable, VSelect } from '@/components'
 import rangeDate from '@/views/common/rangeDate.vue'
-import custList from '@/views/common/custList.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import subarea from '@/views/common/subarea.js'
 import reportModal from '@/views/common/reportModal.vue'
 import AreaList from '@/views/common/areaList.js'
@@ -124,7 +124,7 @@ import { salesSlipExport } from '@/api/reportData'
 export default {
   name: 'SalesSlipReportList',
   mixins: [commonMixin],
-  components: { STable, VSelect, rangeDate, subarea, custList, reportModal, AreaList },
+  components: { STable, VSelect, rangeDate, subarea, dealerSubareaScopeList, reportModal, AreaList },
   data () {
     return {
       spinning: false,