|
@@ -548,7 +548,7 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<!-- class="computeMoney" -->
|
|
|
- <div style="overflow: hidden">
|
|
|
+ <div style="overflow: hidden" v-if="!fixedCourseNumFlag">
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
class="computeMoney"
|
|
@@ -782,6 +782,7 @@ export default {
|
|
|
attribute2: "",
|
|
|
attribute3: "",
|
|
|
fixedCourseNumFlag: null,
|
|
|
+ marketPrice: "",
|
|
|
maxCourseNum: 0,
|
|
|
minCourseNum: 0,
|
|
|
salaryReadonlyFlag: "", // 老师课酬是否可配
|
|
@@ -1037,6 +1038,7 @@ export default {
|
|
|
this.attribute2 = "";
|
|
|
this.attribute3 = "";
|
|
|
this.fixedCourseNumFlag = null;
|
|
|
+ this.marketPrice = "";
|
|
|
this.maxCourseNum = 0;
|
|
|
this.minCourseNum = 0;
|
|
|
this.salaryReadonlyFlag = ""; // 老师课酬是否可配
|
|
@@ -1282,6 +1284,7 @@ export default {
|
|
|
this.attribute2 = "";
|
|
|
this.attribute3 = "";
|
|
|
this.fixedCourseNumFlag = null; // 是否限制课时数
|
|
|
+ this.marketPrice = "";
|
|
|
this.rightForm.discount = 100;
|
|
|
this.giveNum = 0;
|
|
|
this.isGiveClass = false;
|
|
@@ -1338,6 +1341,8 @@ export default {
|
|
|
|
|
|
// 固定课酬作用
|
|
|
this.fixedCourseNumFlag = this.activeList[i].fixedCourseNumFlag;
|
|
|
+ // 售价
|
|
|
+ this.marketPrice = this.activeList[i].marketPrice;
|
|
|
// 存储课酬是否可配置
|
|
|
this.salaryReadonlyFlag = this.activeList[i].salaryReadonlyFlag;
|
|
|
this.paymentReadonlyFlag = this.activeList[i].paymentReadonlyFlag;
|
|
@@ -1370,7 +1375,7 @@ export default {
|
|
|
userName: stu.username,
|
|
|
onlineClassesUnitPrice: this.rightForm.onlinePrice,
|
|
|
offlineClassesUnitPrice: this.rightForm.offlinePrice,
|
|
|
- paymentPrice: ""
|
|
|
+ paymentPrice: this.fixedCourseNumFlag ? this.marketPrice : ""
|
|
|
});
|
|
|
}
|
|
|
});
|
|
@@ -2299,7 +2304,7 @@ export default {
|
|
|
userName: stu.username,
|
|
|
onlineClassesUnitPrice: this.rightForm.onlinePrice,
|
|
|
offlineClassesUnitPrice: this.rightForm.offlinePrice,
|
|
|
- paymentPrice: ""
|
|
|
+ paymentPrice: this.fixedCourseNumFlag ? this.marketPrice : ""
|
|
|
});
|
|
|
}
|
|
|
});
|