Commit ae747108 authored by zhengke's avatar zhengke

修改

parent bdb56e73
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
label="应收" /> label="应收" />
<q-select standout="bg-primary text-white" option-value="Id" option-label="Name" v-model="OrderMsg.OrderSource" <q-select standout="bg-primary text-white" option-value="Id" option-label="Name" v-model="OrderMsg.OrderSource"
:options="SourceEnumList" emit-value map-options class="col-6 q-py-sm" label="客人来源" /> :options="SourceEnumList" emit-value map-options class="col-6 q-py-sm" label="客人来源" />
<q-select v-model="OrderMsg.HelpEnterId" :options="EmployeeList" filled use-input label="协助老师" <q-select v-model="OrderMsg.HelpEnterId" :disable="HelpEnterDisable" :options="EmployeeList" filled use-input label="协助老师"
option-label="EmployeeName" option-value="Id" ref="EmployeeName" class="col-6 q-py-sm" emit-value map-options option-label="EmployeeName" option-value="Id" ref="EmployeeName" class="col-6 q-py-sm" emit-value map-options
@filter="filterFn"> @filter="filterFn">
<template v-slot:no-option> <template v-slot:no-option>
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</q-item> </q-item>
</template> </template>
</q-select> </q-select>
<q-select v-model="OrderMsg.CourseConsultantId" :options="EmployeeList2" filled use-input label="课程顾问" <q-select v-model="OrderMsg.CourseConsultantId" :disable="CourseConsultantDisable" :options="EmployeeList2" filled use-input label="课程顾问"
option-label="EmployeeName" option-value="Id" ref="EmployeeName2" class="col-6 q-py-sm" emit-value map-options option-label="EmployeeName" option-value="Id" ref="EmployeeName2" class="col-6 q-py-sm" emit-value map-options
@filter="filterFn2"> @filter="filterFn2">
<template v-slot:no-option> <template v-slot:no-option>
...@@ -124,7 +124,9 @@ ...@@ -124,7 +124,9 @@
EnterId: 0, //市场人员 EnterId: 0, //市场人员
StuIds:'' StuIds:''
}, },
EnterName:'' EnterName:'',
HelpEnterDisable:false,
CourseConsultantDisable:false
}; };
}, },
created() { created() {
...@@ -139,6 +141,18 @@ ...@@ -139,6 +141,18 @@
this.OrderMsg.EnterId = this.select[0].CreateBy; this.OrderMsg.EnterId = this.select[0].CreateBy;
this.EnterName = this.select[0].CreateByName; this.EnterName = this.select[0].CreateByName;
this.OrderMsg.StuIds = this.select[0].StuId; this.OrderMsg.StuIds = this.select[0].StuId;
if(this.select[0].AssistList&&this.select[0].AssistList.length>0){
this.select[0].AssistList.map(e => {
if (e.AssistType == 4) {
this.OrderMsg.HelpEnterId = e.AssistId;
this.HelpEnterDisable = true;
}
if (e.AssistType == 2) {
this.OrderMsg.CourseConsultantId = e.AssistId;
this.CourseConsultantDisable = true;
}
});
}
} }
this.getOrderSEList(); this.getOrderSEList();
this.getEmployee(0); this.getEmployee(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment