|
|
@@ -233,6 +233,7 @@ Component({
|
|
|
data: {
|
|
|
ids: [],
|
|
|
DataSourceCode: '',
|
|
|
+ flgBusiness: '',
|
|
|
// 是否点击清除按钮
|
|
|
isClickClear: false,
|
|
|
datalists: {},
|
|
|
@@ -339,9 +340,12 @@ Component({
|
|
|
let typeName = this.data.typeName
|
|
|
let docName = this.data.docName
|
|
|
let name = ''
|
|
|
+ let flgBusiness = ''
|
|
|
// 部门
|
|
|
if (typeName === 'org') {
|
|
|
DataSourceCode = 'org'
|
|
|
+ console.log(666);
|
|
|
+ flgBusiness = true
|
|
|
name = '业务部门'
|
|
|
}
|
|
|
//业务员
|
|
|
@@ -391,7 +395,8 @@ Component({
|
|
|
name = '结算方式'
|
|
|
}
|
|
|
this.setData({
|
|
|
- DataSourceCode: DataSourceCode
|
|
|
+ DataSourceCode: DataSourceCode,
|
|
|
+ flgBusiness: flgBusiness
|
|
|
})
|
|
|
},
|
|
|
setCheck() {
|
|
|
@@ -417,6 +422,9 @@ Component({
|
|
|
}
|
|
|
if (DataSourceCode === 'org' || DataSourceCode === 'staff') {
|
|
|
param.docName = this.data.docName
|
|
|
+ if(DataSourceCode === 'org'){
|
|
|
+ param.flgBusiness = this.data.flgBusiness
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (DataSourceCode === 'staff' && this.data.jobIds && this.data.jobIds.length > 0) {
|