Commit 8f2070a3 by zhangxw

bug修改

1 parent 87ffd175
......@@ -235,7 +235,7 @@ Page({
},
changeScene(e) {
let { formItems, orderObj } = this.data
let { formItems, orderObj, teaching_scene_list } = this.data
if (this.data.isCompleted) return
if (this.data.lockedFields?.teachingSceneCode) return
let { value } = e.currentTarget.dataset
......@@ -243,7 +243,8 @@ Page({
['orderObj.teachingMethodCode']: '',
['orderObj.teachingMethodName']: '',
['orderObj.bcCourseIdList']: [],
'orderObj.teachingSceneCode': value
'orderObj.teachingSceneCode': value,
'orderObj.teachingSceneName': teaching_scene_list?.find(v => v.itemValue == value)?.itemName
})
let index = formItems?.findIndex(val => val.value == 'bcCourseIdList')
this.setData({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!