lilei 3 weken geleden
bovenliggende
commit
82d6548ed4

+ 5 - 5
src/views/financialManagement/accountStatement/baseModal.vue

@@ -17,7 +17,7 @@
         :label-col="formItemLayout.labelCol"
         :label-col="formItemLayout.labelCol"
         :wrapper-col="formItemLayout.wrapperCol">
         :wrapper-col="formItemLayout.wrapperCol">
         <a-form-model-item label="客户名称" prop="dealerSn">
         <a-form-model-item label="客户名称" prop="dealerSn">
-          <dealerByScope :disabled="!!itemSn" ref="dealer" @change="custChange" />
+          <dealerSubareaScopeList :disabled="!!itemSn" ref="dealer" @change="custChange" />
         </a-form-model-item>
         </a-form-model-item>
         <a-form-model-item label="备注">
         <a-form-model-item label="备注">
           <a-textarea :rows="4" :maxLength="300" placeholder="请输入备注(最多300个字符)" v-model="form.remarks"></a-textarea>
           <a-textarea :rows="4" :maxLength="300" placeholder="请输入备注(最多300个字符)" v-model="form.remarks"></a-textarea>
@@ -34,12 +34,12 @@
 <script>
 <script>
 import { commonMixin } from '@/utils/mixin'
 import { commonMixin } from '@/utils/mixin'
 import { VSelect } from '@/components'
 import { VSelect } from '@/components'
-import dealerByScope from '@/views/common/dealerByScope.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import { verifyAccountBillCreate, verifyAccountBillModify, verifyAcountBillDetail } from '@/api/verifyAccount.js'
 import { verifyAccountBillCreate, verifyAccountBillModify, verifyAcountBillDetail } from '@/api/verifyAccount.js'
 export default {
 export default {
   name: 'ASBaseModal',
   name: 'ASBaseModal',
   mixins: [commonMixin],
   mixins: [commonMixin],
-  components: { VSelect, dealerByScope },
+  components: { VSelect, dealerSubareaScopeList },
   props: {
   props: {
     show: [Boolean],
     show: [Boolean],
     itemSn: {
     itemSn: {
@@ -72,8 +72,8 @@ export default {
     // 客户
     // 客户
     custChange (v) {
     custChange (v) {
       if (v && v.key) {
       if (v && v.key) {
-        this.form.dealerSn = v.row ? v.row.dealerSn : ''
-        this.form.dealerName = v.key
+        this.form.dealerSn = v.key
+        this.form.dealerName = v.row ? v.row.dealerName : ''
       } else {
       } else {
         this.form.dealerSn = ''
         this.form.dealerSn = ''
         this.form.dealerName = ''
         this.form.dealerName = ''

+ 3 - 3
src/views/financialManagement/accountStatement/list.vue

@@ -12,7 +12,7 @@
             </a-col>
             </a-col>
             <a-col :md="6" :sm="24">
             <a-col :md="6" :sm="24">
               <a-form-item label="客户名称">
               <a-form-item label="客户名称">
-                <dealerByScope id="accountStatement-dealerName" ref="dealer" @change="custChange" @dealerDetail="getDealerDetail" />
+                <dealerSubareaScopeList id="accountStatement-dealerName" ref="dealer" @change="custChange" @dealerDetail="getDealerDetail" />
               </a-form-item>
               </a-form-item>
             </a-col>
             </a-col>
             <a-col :md="6" :sm="24">
             <a-col :md="6" :sm="24">
@@ -122,14 +122,14 @@
 import { commonMixin } from '@/utils/mixin'
 import { commonMixin } from '@/utils/mixin'
 import { STable, VSelect } from '@/components'
 import { STable, VSelect } from '@/components'
 import rangeDate from '@/views/common/rangeDate.vue'
 import rangeDate from '@/views/common/rangeDate.vue'
-import dealerByScope from '@/views/common/dealerByScope.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import baseModal from './baseModal.vue'
 import baseModal from './baseModal.vue'
 import confrontModal from './confrontModal.vue'
 import confrontModal from './confrontModal.vue'
 import { verifyAcountBillList, verifyAcountBillDel, verifyAcountBillVerify } from '@/api/verifyAccount.js'
 import { verifyAcountBillList, verifyAcountBillDel, verifyAcountBillVerify } from '@/api/verifyAccount.js'
 export default {
 export default {
   name: 'AccountStatementList',
   name: 'AccountStatementList',
   mixins: [commonMixin],
   mixins: [commonMixin],
-  components: { STable, VSelect, rangeDate, baseModal, confrontModal, dealerByScope },
+  components: { STable, VSelect, rangeDate, baseModal, confrontModal, dealerSubareaScopeList },
   data () {
   data () {
     return {
     return {
       spinning: false,
       spinning: false,

+ 3 - 3
src/views/financialManagement/manualEntryForm/baseModal.vue

@@ -17,7 +17,7 @@
         :label-col="formItemLayout.labelCol"
         :label-col="formItemLayout.labelCol"
         :wrapper-col="formItemLayout.wrapperCol">
         :wrapper-col="formItemLayout.wrapperCol">
         <a-form-model-item label="客户名称" prop="dealerSn">
         <a-form-model-item label="客户名称" prop="dealerSn">
-          <dealerByScope id="manualEntryForm-dealer" :disabled="!!itemSn" ref="settleClientName" @change="custChange" />
+          <dealerSubareaScopeList id="manualEntryForm-dealer" :disabled="!!itemSn" ref="settleClientName" @change="custChange" />
         </a-form-model-item>
         </a-form-model-item>
         <a-form-model-item label="借贷类型" prop="changeType">
         <a-form-model-item label="借贷类型" prop="changeType">
           <v-select
           <v-select
@@ -56,12 +56,12 @@
 import { commonMixin } from '@/utils/mixin'
 import { commonMixin } from '@/utils/mixin'
 import { VSelect } from '@/components'
 import { VSelect } from '@/components'
 // 组件
 // 组件
-import dealerByScope from '@/views/common/dealerByScope.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import { verifyAccountChangeSave, verifyAccountChangeDetail } from '@/api/verifyAccountChange.js'
 import { verifyAccountChangeSave, verifyAccountChangeDetail } from '@/api/verifyAccountChange.js'
 export default {
 export default {
   name: 'ASBaseModal',
   name: 'ASBaseModal',
   mixins: [commonMixin],
   mixins: [commonMixin],
-  components: { VSelect, dealerByScope },
+  components: { VSelect, dealerSubareaScopeList },
   props: {
   props: {
     show: [Boolean],
     show: [Boolean],
     itemSn: {
     itemSn: {

+ 3 - 3
src/views/financialManagement/manualEntryForm/list.vue

@@ -17,7 +17,7 @@
             </a-col>
             </a-col>
             <a-col :md="6" :sm="24">
             <a-col :md="6" :sm="24">
               <a-form-item label="客户名称">
               <a-form-item label="客户名称">
-                <dealerByScope id="accountStatement-dealerName" ref="dealer" @change="custChange"/>
+                <dealerSubareaScopeList id="accountStatement-dealerName" ref="dealer" @change="custChange"/>
               </a-form-item>
               </a-form-item>
             </a-col>
             </a-col>
             <a-col :md="6" :sm="24">
             <a-col :md="6" :sm="24">
@@ -114,7 +114,7 @@
 <script>
 <script>
 import { commonMixin } from '@/utils/mixin'
 import { commonMixin } from '@/utils/mixin'
 import { STable, VSelect } from '@/components'
 import { STable, VSelect } from '@/components'
-import dealerByScope from '@/views/common/dealerByScope.vue'
+import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import rangeDate from '@/views/common/rangeDate.vue'
 import rangeDate from '@/views/common/rangeDate.vue'
 import baseModal from './baseModal.vue'
 import baseModal from './baseModal.vue'
 import chooseDepartUserModal from './chooseDepartUserModal.vue'
 import chooseDepartUserModal from './chooseDepartUserModal.vue'
@@ -122,7 +122,7 @@ import { verifyAccountChangeList, verifyAcountBillSubmit, verifyAccountChangeDel
 export default {
 export default {
   name: 'ManualEntryFormList',
   name: 'ManualEntryFormList',
   mixins: [commonMixin],
   mixins: [commonMixin],
-  components: { STable, VSelect, rangeDate, baseModal, chooseDepartUserModal, dealerByScope },
+  components: { STable, VSelect, rangeDate, baseModal, chooseDepartUserModal, dealerSubareaScopeList },
   data () {
   data () {
     return {
     return {
       spinning: false,
       spinning: false,