|
@@ -49,7 +49,7 @@
|
|
|
:isUserType="isUserType"
|
|
|
:form.sync="cycle"
|
|
|
:isCommon="isCommon"
|
|
|
- :isDisabled="form.leixing === '1' || paymentType == '0'" />
|
|
|
+ :isDisabled="true" />
|
|
|
</template>
|
|
|
<el-alert title="其它"
|
|
|
:closable="false"
|
|
@@ -210,6 +210,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
priceChange (item, index) {
|
|
|
+ console.log({...item})
|
|
|
const _ = [...this.eclass]
|
|
|
const active = this.organizationCourseUnitPriceSettingsByType[item.courseType] || {}
|
|
|
const price = Math.ceil((item.courseTotalMinuties || 1) * (active.unitPrice || 1))
|
|
@@ -217,6 +218,7 @@ export default {
|
|
|
item.courseOriginalPrice = price
|
|
|
_[index] = item
|
|
|
this.eclass = [..._]
|
|
|
+ this.syncAllMoney()
|
|
|
},
|
|
|
syncAllMoney () {
|
|
|
let money = 0;
|