|
@@ -294,7 +294,6 @@ export default {
|
|
isPage: true,
|
|
isPage: true,
|
|
title: ''
|
|
title: ''
|
|
},
|
|
},
|
|
- customerOptions: [],
|
|
|
|
personOptions: [],
|
|
personOptions: [],
|
|
deptOptions: [],
|
|
deptOptions: [],
|
|
tableList: [],
|
|
tableList: [],
|
|
@@ -549,12 +548,6 @@ export default {
|
|
this.$refs.refer.init(this.referCondition)
|
|
this.$refs.refer.init(this.referCondition)
|
|
},
|
|
},
|
|
selectionsToInput(selection) {
|
|
selectionsToInput(selection) {
|
|
- // 搜索区选择客户
|
|
|
|
- if (this.referCondition.type == 'CUSTOMER_PARAM') {
|
|
|
|
- this.customerOptions = selection
|
|
|
|
- this.queryParams.customer = selection[0].id
|
|
|
|
- this.queryParams.customerName = selection[0].name
|
|
|
|
- }
|
|
|
|
if (this.referCondition.type == 'CONTACTS_PARAM') {
|
|
if (this.referCondition.type == 'CONTACTS_PARAM') {
|
|
this.personOptions = selection
|
|
this.personOptions = selection
|
|
this.queryParams.charger = selection[0].id
|
|
this.queryParams.charger = selection[0].id
|