|
@@ -63,8 +63,8 @@
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
- <a-form-item label="客户名称">
|
|
|
|
- <custList placeholder="请输入客户名称搜索" ref="dealerSubareaScopeList" @change="custChange" />
|
|
|
|
|
|
+ <a-form-item label="付款方">
|
|
|
|
+ <dealerSearchList ref="custList" @change="custChange" />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
|
|
@@ -126,14 +126,14 @@ import { STable, VSelect } from '@/components'
|
|
import { financeBookQueryPage } from '@/api/financeBook.js'
|
|
import { financeBookQueryPage } from '@/api/financeBook.js'
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
import commonModal from '@/views/common/commonModal.vue'
|
|
import commonModal from '@/views/common/commonModal.vue'
|
|
-import custList from '@/views/common/custList.vue'
|
|
|
|
|
|
+import dealerSearchList from '@/views/common/dealerSearchList.vue'
|
|
import detailModal from '@/views/financialManagement/financialCollection/detail.vue'
|
|
import detailModal from '@/views/financialManagement/financialCollection/detail.vue'
|
|
import employee from '../../expenseManagement/expenseReimbursement/employee.js'
|
|
import employee from '../../expenseManagement/expenseReimbursement/employee.js'
|
|
import { settleReceiptBookBatch } from '@/api/settleReceipt'
|
|
import { settleReceiptBookBatch } from '@/api/settleReceipt'
|
|
export default {
|
|
export default {
|
|
name: 'GlDetailModal',
|
|
name: 'GlDetailModal',
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
- components: { STable, VSelect, employee, commonModal, detailModal, rangeDate, custList },
|
|
|
|
|
|
+ components: { STable, VSelect, employee, commonModal, detailModal, rangeDate, dealerSearchList },
|
|
props: {
|
|
props: {
|
|
openModal: { // 弹框显示状态
|
|
openModal: { // 弹框显示状态
|
|
type: Boolean,
|
|
type: Boolean,
|
|
@@ -165,7 +165,7 @@ export default {
|
|
handlePlData: [],
|
|
handlePlData: [],
|
|
applyDate: [],
|
|
applyDate: [],
|
|
queryParam: {
|
|
queryParam: {
|
|
- dealerSn: undefined,
|
|
|
|
|
|
+ payerName: undefined,
|
|
bookNo: '',
|
|
bookNo: '',
|
|
bookReason: '',
|
|
bookReason: '',
|
|
applyPersonSn: undefined,
|
|
applyPersonSn: undefined,
|
|
@@ -224,9 +224,12 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- // 客户名称搜索
|
|
|
|
custChange (val) {
|
|
custChange (val) {
|
|
- this.queryParam.dealerSn = val.key
|
|
|
|
|
|
+ if (val.row) {
|
|
|
|
+ this.queryParam.payerName = val.row.dealerSn
|
|
|
|
+ } else {
|
|
|
|
+ this.queryParam.payerName = val.key
|
|
|
|
+ }
|
|
},
|
|
},
|
|
// 财务收款详情
|
|
// 财务收款详情
|
|
viewDetail (row) {
|
|
viewDetail (row) {
|
|
@@ -290,12 +293,13 @@ export default {
|
|
// 重置
|
|
// 重置
|
|
resetSearchForm () {
|
|
resetSearchForm () {
|
|
this.queryParam = {
|
|
this.queryParam = {
|
|
- dealerSn: undefined,
|
|
|
|
|
|
+ payerName: undefined,
|
|
bookNo: '',
|
|
bookNo: '',
|
|
bookReason: '',
|
|
bookReason: '',
|
|
applyPersonSn: undefined,
|
|
applyPersonSn: undefined,
|
|
status: 'AUDIT_PASS'
|
|
status: 'AUDIT_PASS'
|
|
}
|
|
}
|
|
|
|
+ this.$refs.custList.resetForm()
|
|
this.orginData = []
|
|
this.orginData = []
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.$refs.rangeApply.resetDate()
|
|
this.$refs.rangeApply.resetDate()
|