订单商务经理

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

@ -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>
@ -1070,7 +1071,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()
@ -1867,6 +1869,7 @@ export default {
// //
teamChange() { teamChange() {
this.form.businessManagerId = '' this.form.businessManagerId = ''
this.form.businessManagerName = ''
this.getBm() this.getBm()
this.getRate() this.getRate()
}, },

Loading…
Cancel
Save