Commit 88461c09 authored by zhengke's avatar zhengke

修改

parent 705aea6e
......@@ -94,7 +94,7 @@
<q-card-section>
<div class="text-h6">{{optionTitle}}</div>
</q-card-section>
<q-card-section class="q-pt-none scroll" style="max-height: 70vh">
<q-card-section class="q-pt-none scroll" style="max-height: 60vh">
<div class="EmpLine_title">
<div class="Emp_Line"></div>
<div>基本信息</div>
......@@ -150,9 +150,12 @@
class="col-6 q-pb-lg q-pr-lg" :options="myEmployeeList" label="适用人员" option-label="EmployeeName"
option-value="Id" emit-value map-options />
</div>
<div class="col-6">
<q-input filled stack-label maxlength="20" :dense="false" v-model="objOption.MonthGoalMoney"
ref="MonthGoalMoney" class="col-6 q-pb-lg" label="月度达标金额"
@keyup.native="checkPrice(objOption,'MonthGoalMoney')" />
</div>
</div>
</q-card-section>
<q-card-section class="q-pt-none scroll" style="max-height: 70vh">
<div class="EmpLine_title">
<div class="Emp_Line"></div>
<div>达标人头数配置</div>
......@@ -217,6 +220,7 @@
SaleIds: '', //销售人员
UseCourseIds: '', //使用课程编号
NotUseCourseIds: '', //不适用课程编号
MonthGoalMoney: '', // 月度达标金额
DetailList: []
},
SaleIdsArray: [],
......@@ -239,7 +243,7 @@
},
created() {
this.getEmployeeList();
this.CourseList();
this.getCourseList();
},
mounted() {
this.initObj()
......@@ -257,7 +261,7 @@
this.objOption.DetailList.push(obj);
},
//获取课程
CourseList() {
getCourseList() {
queryCourseDropdownList({}).then(res => {
if (res.Code == 1) {
this.CourseList = res.Data;
......@@ -311,26 +315,11 @@
this.objOption.UseCourseIds = tempData.UseCourseIds;
this.objOption.NotUseCourseIds = tempData.NotUseCourseIds;
this.objOption.DetailList = tempData.DetailList;
this.objOption.MonthGoalMoney = tempData.MonthGoalMoney;
var dataStrArr = tempData.SaleIds.split(",")
var dataStrArr2 = tempData.UseCourseIds.split(",")
var dataStrArr3 = tempData.NotUseCourseIds.split(",")
if (dataStrArr) {
this.SaleIdsArray = dataStrArr.map(item => {
return +item;
});
}
if (dataStrArr2) {
this.UseCourseIdsArray = dataStrArr2.map(item => {
return +item;
});
}
if (dataStrArr3) {
this.NotUseCourseIdsArray = dataStrArr3.map(item => {
return +item;
});
}
this.SaleIdsArray = tempData.SaleIdList;
this.UseCourseIdsArray = tempData.UseCourseIdList;
this.NotUseCourseIdsArray = tempData.NotUseCourseIdList;
}
})
this.optionTitle = "修改客户信息"
......@@ -344,6 +333,7 @@
this.objOption.SaleIds = '';
this.objOption.UseCourseIds = '';
this.objOption.NotUseCourseIds = '';
this.objOption.MonthGoalMoney = '';
this.objOption.DetailList = [];
this.optionTitle = "新增人头奖金信息";
}
......
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