Commit 96bed70e authored by zhengke's avatar zhengke

no message

parent 675e4201
...@@ -324,6 +324,17 @@ ...@@ -324,6 +324,17 @@
class="col-6 q-py-sm" class="col-6 q-py-sm"
label="市场人员" label="市场人员"
/> />
<q-input
v-if="stuData.StuList[0].STTeacherId>0"
filled
stack-label
disable
:dense="false"
maxlength="10"
v-model="stuData.StuList[0].STTeacherName"
class="col-6 q-py-sm"
label="协助老师"
/>
<q-input <q-input
filled filled
stack-label stack-label
...@@ -447,7 +458,8 @@ export default { ...@@ -447,7 +458,8 @@ export default {
EnterId: 0, //市场人员 EnterId: 0, //市场人员
// NormalCommission:'',//正常返佣金额 // NormalCommission:'',//正常返佣金额
// RenewCommission:"",// 预计返佣金额 // RenewCommission:"",// 预计返佣金额
ScrollSchoolId: -1 ScrollSchoolId: -1,
HelpEnterId:0,//协助老师id:STTeacherId AssistType =4 表示老师
}, },
newSchoolList: [], newSchoolList: [],
EnterName: "", //市场人员 EnterName: "", //市场人员
...@@ -472,6 +484,11 @@ export default { ...@@ -472,6 +484,11 @@ export default {
if (this.saveObj && this.saveObj.CourseId) { if (this.saveObj && this.saveObj.CourseId) {
this.OrderMsg.CourseId = this.saveObj.CourseId; this.OrderMsg.CourseId = this.saveObj.CourseId;
} }
// 判断是否续费协助老师赋值
if (this.stuData.StuList[0].IsRenewGuest!=1){
this.OrderMsg.HelpEnterId = this.stuData.StuList[0].STTeacherId;
}
this.getOrderSEList(); this.getOrderSEList();
this.getEmployee(0); this.getEmployee(0);
this.getEmployee(2); this.getEmployee(2);
...@@ -498,7 +515,9 @@ export default { ...@@ -498,7 +515,9 @@ export default {
if (res.Code == 1) { if (res.Code == 1) {
res.Data.map(e => { res.Data.map(e => {
if (e.AssistType == 4) { if (e.AssistType == 4) {
// this.OrderMsg.HelpEnterId = e.AssistId; if(this.stuData.StuList[0].IsRenewGuest==1){
this.OrderMsg.HelpEnterId = e.AssistId;
}
this.HelpEnterDisable = true; this.HelpEnterDisable = true;
} }
if (e.AssistType == 2) { if (e.AssistType == 2) {
......
...@@ -290,11 +290,8 @@ ...@@ -290,11 +290,8 @@
<el-date-picker <el-date-picker
style="width:190px" style="width:190px"
v-model="date" v-model="date"
type="date" type="month"
:clearable="false" :clearable="false"
value-format="yyyy-MM-d"
:picker-options="pickerOptions"
:editable="false"
placeholder="选择日期" placeholder="选择日期"
@change="getList" @change="getList"
> >
...@@ -394,7 +391,9 @@ export default { ...@@ -394,7 +391,9 @@ export default {
}, },
methods: { methods: {
eventName(item){ eventName(item){
const { href } = this.$router.resolve({path:'/stuMan/activeList',query:{'ActivityName':item}}) const { href } = this.$router.resolve({path:'/sale/activityList',
query:{'ActivityName':item}
})
window.open(href, '_blank'); window.open(href, '_blank');
}, },
// 获取活动日历 // 获取活动日历
......
...@@ -355,6 +355,9 @@ ...@@ -355,6 +355,9 @@
if (this.$route.query && this.$route.query.Id) { if (this.$route.query && this.$route.query.Id) {
this.msg.Id = this.$route.query.Id this.msg.Id = this.$route.query.Id
} }
if(this.$route.query&&this.$route.query.ActivityName){
this.msg.ActivityName = this.$route.query.ActivityName
}
this.getList(); this.getList();
this.getActiveTypeList(); this.getActiveTypeList();
}, },
......
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