课程价格
This commit is contained in:
@@ -92,7 +92,8 @@
|
||||
<el-radio
|
||||
:label="item.productId"
|
||||
border
|
||||
v-for="item in goodsList"
|
||||
v-for="(item,i) in goodsList"
|
||||
:key="i"
|
||||
style="width: 100%;"
|
||||
>{{ item.productName }}</el-radio
|
||||
>
|
||||
@@ -205,11 +206,11 @@ export default {
|
||||
if (e == 0) {
|
||||
|
||||
// this.dataForm.oldFee = this.dataForm.halfFee;
|
||||
this.dataForm.currentFee = this.dataForm.halfFee;
|
||||
// this.dataForm.currentFee = JSON.parse(JSON.stringify(this.dataForm.halfFee));
|
||||
} else if (e == 1) {
|
||||
|
||||
// this.dataForm.oldFee = this.dataForm.fee;
|
||||
this.dataForm.currentFee = this.dataForm.fee;
|
||||
// this.dataForm.currentFee = JSON.parse(JSON.stringify(this.dataForm.fee));
|
||||
}
|
||||
},
|
||||
changeType(e) {
|
||||
@@ -225,15 +226,15 @@ export default {
|
||||
this.dataForm = { ...row } || {};
|
||||
this.dataForm.courseId = courseid || "";
|
||||
this.visible = true;
|
||||
this.dataForm.currentFee = this.dataForm.halfFee;
|
||||
this.dataForm.old = this.dataForm.halfFee;
|
||||
// this.dataForm.currentFee = this.dataForm.halfFee;
|
||||
// this.dataForm.old = this.dataForm.halfFee;
|
||||
this.dataForm.yearType = 0;
|
||||
this.$forceUpdate();
|
||||
if (row.productList && row.productList.length > 0) {
|
||||
this.goodsList = [...row.productList];
|
||||
this.currentGoodsList = this.goodsList.filter(e =>
|
||||
e.productName.includes("半年")
|
||||
);
|
||||
// this.currentGoodsList = this.goodsList.filter(e =>
|
||||
// e.productName.includes("半年")
|
||||
// );
|
||||
}
|
||||
},
|
||||
// 表单提交
|
||||
|
||||
Reference in New Issue
Block a user