|
|
|
@ -97,7 +97,8 @@ |
|
|
|
|
placeholder="请输入订单金额"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="商务经理"> |
|
|
|
|
<el-select :disabled="viewDisabled || !form.teamId" v-model="form.businessManagerId" clearable filterable placeholder="请选择商务经理"> |
|
|
|
|
<el-input v-if="form.businessManagerName" disabled v-model="form.businessManagerName"></el-input> |
|
|
|
|
<el-select v-else :disabled="viewDisabled || !form.teamId" v-model="form.businessManagerId" clearable filterable placeholder="请选择商务经理"> |
|
|
|
|
<el-option v-for="(item, i) in bmList" :key="i" :label="item.userName" :value="item.partnerId"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
@ -1072,7 +1073,8 @@ export default { |
|
|
|
|
teamId: form.teamId, |
|
|
|
|
profit: form.profit, |
|
|
|
|
purchaseCost: form.purchaseCost, |
|
|
|
|
businessManagerId: form.businessManagerId ? +form.businessManagerId : '' |
|
|
|
|
businessManagerId: form.businessManagerId ? +form.businessManagerId : '', |
|
|
|
|
businessManagerName: form.businessManagerName |
|
|
|
|
}; |
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
form.provinceId && this.getCityData() |
|
|
|
@ -1885,6 +1887,7 @@ export default { |
|
|
|
|
// 团队选择回调 |
|
|
|
|
teamChange() { |
|
|
|
|
this.form.businessManagerId = '' |
|
|
|
|
this.form.businessManagerName = '' |
|
|
|
|
this.getBm() |
|
|
|
|
this.getRate() |
|
|
|
|
}, |
|
|
|
|