|
@@ -69,7 +69,7 @@
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
<el-form-item label="销售区域" prop="marketingAreaName">
|
|
|
- <el-select clearable v-model="basicForm.marketingAreaName" size="mini" :disabled="sonDisable" @focus="choose('DEPT_PARAM', true, '销售区域')" style="width: 200px">
|
|
|
+ <el-select clearable v-model="basicForm.marketingAreaName" size="mini" :disabled="sonDisable" @focus="choose('MK_SALESAREA_PARAM', true, '销售区域')" style="width: 200px">
|
|
|
<el-option
|
|
|
v-for="item in deptOptions"
|
|
|
:key="item.id"
|
|
@@ -516,6 +516,9 @@ export default {
|
|
|
if (type == 'DEPT_PARAM') {
|
|
|
this.deptOptions = res.rows
|
|
|
}
|
|
|
+ if (type == 'MK_SALESAREA_PARAM') {
|
|
|
+ this.deptOptions = res.rows
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
// 基本信息选择参照带出数据
|
|
@@ -545,6 +548,11 @@ export default {
|
|
|
this.basicForm.charger = selection[0].id
|
|
|
this.basicForm.chargerName = selection[0].name
|
|
|
}
|
|
|
+ if(this.referCondition.type == 'MK_SALESAREA_PARAM') {
|
|
|
+ this.personOptions = selection
|
|
|
+ this.basicForm.marketingArea = selection[0].id
|
|
|
+ this.basicForm.marketingAreaName = selection[0].name
|
|
|
+ }
|
|
|
if(this.referCondition.type == 'DEPT_PARAM') {
|
|
|
this.deptOptions = selection
|
|
|
this.basicForm.dept = selection[0].id
|