Commit 88461c09 authored by zhengke's avatar zhengke

修改

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