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