订单商务经理

dev_202304
yujialong 2 years ago
parent 24ddbdf2ca
commit a95d3f55ca
  1. 11
      src/views/order/AddOrder.vue

@ -97,9 +97,10 @@
placeholder="请输入订单金额"></el-input>
</el-form-item>
<el-form-item label="商务经理">
<el-select :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-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>
</el-col>
</el-form>
@ -1070,7 +1071,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()
@ -1867,6 +1869,7 @@ export default {
//
teamChange() {
this.form.businessManagerId = ''
this.form.businessManagerName = ''
this.getBm()
this.getRate()
},

Loading…
Cancel
Save