|
@@ -26,7 +26,7 @@
|
|
|
</a-col>
|
|
|
<a-col :md="5" :sm="24">
|
|
|
<a-form-item label="客户名称">
|
|
|
- <dealerSubareaScopeList ref="payerName" id="salesCollectionList-payerName" @change="custChange" />
|
|
|
+ <dealerSearchList ref="payerName" id="alesCollectionList-payerName" @change="custChange" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :md="4" :sm="24" v-if="currentTab == 1">
|
|
@@ -131,7 +131,7 @@
|
|
|
import { commonMixin } from '@/utils/mixin'
|
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
|
import { STable, VSelect } from '@/components'
|
|
|
-import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
|
|
|
+import dealerSearchList from '@/views/common/dealerSearchList.vue'
|
|
|
import commonModal from '@/views/common/commonModal.vue'
|
|
|
import recordModal from './recordModal.vue'
|
|
|
import printModel from './printModel.vue'
|
|
@@ -139,7 +139,7 @@ import { financeBookDetailList, updateFinanceBookDetail, getBatchLastProcessInst
|
|
|
export default {
|
|
|
name: 'ReceiptPrintList',
|
|
|
mixins: [commonMixin],
|
|
|
- components: { STable, VSelect, dealerSubareaScopeList, rangeDate, commonModal, recordModal, printModel },
|
|
|
+ components: { STable, VSelect, dealerSearchList, rangeDate, commonModal, recordModal, printModel },
|
|
|
data () {
|
|
|
return {
|
|
|
spinning: false,
|
|
@@ -154,6 +154,7 @@ export default {
|
|
|
endDate: '',
|
|
|
bookNo: '',
|
|
|
payerName: '',
|
|
|
+ dealerSn:undefined,
|
|
|
subareaSn: undefined,
|
|
|
billStatus: undefined,
|
|
|
dealerProvinceSn: undefined,
|
|
@@ -307,7 +308,11 @@ export default {
|
|
|
this.queryParam.endDate = date[1] ? date[1] : ''
|
|
|
},
|
|
|
custChange (val) {
|
|
|
- this.queryParam.payerName = val.name
|
|
|
+ if(val.row){
|
|
|
+ this.queryParam.payerName = val.row.dealerName
|
|
|
+ }else{
|
|
|
+ this.queryParam.payerName = val.key
|
|
|
+ }
|
|
|
},
|
|
|
handlePrintStatus (row) {
|
|
|
this.tipData = row
|
|
@@ -350,6 +355,7 @@ export default {
|
|
|
endDate: '',
|
|
|
bookNo: '',
|
|
|
payerName: '',
|
|
|
+ dealerSn:undefined,
|
|
|
subareaSn: undefined,
|
|
|
billStatus: undefined,
|
|
|
dealerProvinceSn: undefined,
|