|
@@ -23,7 +23,7 @@
|
|
|
v-model="list.form[scope.$index].courseType"
|
|
|
placeholder="课程类型"
|
|
|
clearable
|
|
|
- @change="$listeners.priceChange(scope.row, scope.$index)"
|
|
|
+ @change="priceChange(scope.row, scope.$index)"
|
|
|
:disabled="isDisabled"
|
|
|
>
|
|
|
<el-option
|
|
@@ -83,7 +83,7 @@
|
|
|
v-model="list.form[scope.$index].courseTotalMinuties"
|
|
|
:controls="false"
|
|
|
:precision="0"
|
|
|
- @change="$listeners.priceChange(scope.row, scope.$index)"
|
|
|
+ @change="() => $listeners.priceChange(scope.row, scope.$index)"
|
|
|
:min="1"
|
|
|
:disabled="isDisabled"
|
|
|
placeholder="课程时长"
|
|
@@ -175,12 +175,16 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
list() {
|
|
|
+ console.log(this.form)
|
|
|
return {
|
|
|
form: this.form
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ priceChange(item, index) {
|
|
|
+ this.$listeners.priceChange({...item},)
|
|
|
+ },
|
|
|
change(val) {
|
|
|
this.$listeners.moneyChange()
|
|
|
},
|