-
-
-
-
-
@@ -135,18 +117,18 @@ export default {
//查询条件标题宽度
labelWidth: '70px',
- options: [],
+ casOptions: [],
agencyIdArray: [],
customerList: [],
iscascaderShow: 0,
optionProps: {
- multiple: true,
+ multiple: false,
value: 'agencyId',
label: 'agencyName',
children: 'subAgencyList',
- // checkStrictly: true
+ checkStrictly: true
},
//组织树
@@ -263,7 +245,7 @@ export default {
handelChangeCustomer (index) {
this.customerName = this.customerList[index].customerName
this.getAgencylist()//获取组织级别
-
+ // debugger
this.treeParams.customerId = this.customerList[index].customerId
this.selBtnDisabled = false
this.$refs['agencyCTreeDialog'].loadData()
@@ -310,11 +292,11 @@ export default {
const { data, code, msg } = await requestPost(url, params)
if (code === 0) {
++this.iscascaderShow
- this.options = []
+ this.casOptions = []
this.agencyIdArray.length = []
this.tableParams.agencyId = ''
if (data) {
- this.options.push(data)
+ this.casOptions.push(data)
}
} else {