|
@@ -127,6 +127,7 @@ export default {
|
|
|
tempClassForm[memoItem[0]] = memoItem[1]
|
|
|
})
|
|
|
}
|
|
|
+ console.log(tempClassForm)
|
|
|
/**
|
|
|
* 过滤数据
|
|
|
* 乐团课同一个乐团只需要显示一个乐团(价格高的)
|
|
@@ -143,7 +144,14 @@ export default {
|
|
|
el.status = false // 状态
|
|
|
el.inputNumber = null // 输入的内容
|
|
|
el.smallAmount = 0 // 小课金额
|
|
|
- el.memo = this.memo ? tempClassForm[this.classFormToCN(el.classForm)] : ''
|
|
|
+ if(tempClassForm[this.classFormToCN(el.classForm)]) {
|
|
|
+ el.memo = tempClassForm[this.classFormToCN(el.classForm)]
|
|
|
+ } else if(tempClassForm['default']) {
|
|
|
+ el.memo = tempClassForm['default']
|
|
|
+ } else {
|
|
|
+ el.memo = ''
|
|
|
+ }
|
|
|
+ // el.memo = this.memo ? tempClassForm[this.classFormToCN(el.classForm)] : ''
|
|
|
// 开课周期
|
|
|
el.startCycel = this.weekSelect(5) + ' ' + el.planBegin.split(' ')[1]
|
|
|
|