|
@@ -23,7 +23,7 @@
|
|
<template v-if="advanced">
|
|
<template v-if="advanced">
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
<a-form-item label="收货客户名称">
|
|
<a-form-item label="收货客户名称">
|
|
- <dealerSubareaScopeList ref="receiverSn" defValKey="buyerSn" @change="custChange" v-model="queryParam.receiverSn" />
|
|
|
|
|
|
+ <dealerSearchList ref="receiverSn" @change="custChange" />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="4" :sm="24">
|
|
<a-col :md="4" :sm="24">
|
|
@@ -187,7 +187,7 @@ import { STable, VSelect } from '@/components'
|
|
import basicInfoModal from './basicInfoModal.vue'
|
|
import basicInfoModal from './basicInfoModal.vue'
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
import auditModal from '@/views/common/auditModal.vue'
|
|
import auditModal from '@/views/common/auditModal.vue'
|
|
-import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
|
|
|
|
|
|
+import dealerSearchList from '@/views/common/dealerSearchList.vue'
|
|
import { allocateBillList, allocateBillDel, allocateBillAudit, allocateBillExport, allocateBillAblePrint } from '@/api/allocateBill'
|
|
import { allocateBillList, allocateBillDel, allocateBillAudit, allocateBillExport, allocateBillAblePrint } from '@/api/allocateBill'
|
|
import AllocateType from '@/views/common/allocateType.js'
|
|
import AllocateType from '@/views/common/allocateType.js'
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
@@ -195,7 +195,7 @@ import printModal from './printStatusModal.vue'
|
|
export default {
|
|
export default {
|
|
name: 'TransferOutList',
|
|
name: 'TransferOutList',
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
- components: { STable, VSelect, basicInfoModal, printModal, rangeDate, auditModal, AllocateType, dealerSubareaScopeList },
|
|
|
|
|
|
+ components: { STable, VSelect, basicInfoModal, printModal, rangeDate, auditModal, AllocateType, dealerSearchList },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
spinning: false,
|
|
spinning: false,
|
|
@@ -288,8 +288,13 @@ export default {
|
|
this.$refs.table.refresh(true)
|
|
this.$refs.table.refresh(true)
|
|
},
|
|
},
|
|
custChange (val) {
|
|
custChange (val) {
|
|
- this.queryParam.receiverSn = val.key || ''
|
|
|
|
- // this.queryParam.receiverName = val.name || ''
|
|
|
|
|
|
+ if(val.row){
|
|
|
|
+ this.queryParam.receiverSn = val.row.dealerSn
|
|
|
|
+ this.queryParam.receiverName = undefined
|
|
|
|
+ }else{
|
|
|
|
+ this.queryParam.receiverSn = undefined
|
|
|
|
+ this.queryParam.receiverName = val.key
|
|
|
|
+ }
|
|
},
|
|
},
|
|
// 创建时间 change
|
|
// 创建时间 change
|
|
dateChange (date) {
|
|
dateChange (date) {
|