diff --git a/src/views/incomePayments/meetManage/AddOrDetailMeet.vue b/src/views/incomePayments/meetManage/AddOrDetailMeet.vue
index 07f0ca6..454ac07 100644
--- a/src/views/incomePayments/meetManage/AddOrDetailMeet.vue
+++ b/src/views/incomePayments/meetManage/AddOrDetailMeet.vue
@@ -204,7 +204,7 @@
event.target.value = event.target.value.trim()"
:maxLength="50"
- v-decorator="['standardProjectList['+index+'].standardNumber', validatorRules.standProjectStandardNumber]"
+ v-decorator="['standardProjectList['+index+'].standardNo', validatorRules.standProjectStandardNumber]"
placeholder="请输入标准编号">
@@ -220,7 +220,8 @@
@@ -228,15 +229,16 @@
+ v-decorator="['standardProjectList['+index+'].promoter', validatorRules.standProjectPropagator]">
@@ -246,7 +248,7 @@
placeholder="请选择宣贯时间"
format="YYYY-MM-DD"
valueFormat="YYYY-MM-DD"
- v-decorator="['standardProjectList['+index+'].promulgationTime', validatorRules.standProjectPromulgationTime]">
+ v-decorator="['standardProjectList['+index+'].promotionTime', validatorRules.standProjectPromulgationTime]">
@@ -255,7 +257,7 @@
event.target.value = event.target.value.trim()"
:maxLength="50"
- v-decorator="['standardProjectList['+index+'].promotionPlace',validatorRules.standProjectPromotionPlace]"
+ v-decorator="['standardProjectList['+index+'].promotionLocation',validatorRules.standProjectPromotionPlace]"
placeholder="请输入宣贯地点">
@@ -860,13 +862,13 @@ export default {
if((this.model.standardProjectList || []).length === 0) {
// 标准项目列表
this.model.standardProjectList = [{
- standardNumber: undefined,
+ standardNo: undefined,
standardName: undefined,
standardType: undefined,
- edit: undefined,
- propagator: undefined,
- promulgationTime: undefined,
- promotionPlace: undefined
+ preparationAndRevision: undefined,
+ promoter: undefined,
+ promotionTime: undefined,
+ promotionLocation: undefined
}]
}
this.model.isAddQuestion = this.model.isAddQuestion || 0 // 处理历史数据的问题
@@ -892,13 +894,13 @@ export default {
}]
// 标准项目列表
this.model.standardProjectList = [{
- standardNumber: undefined,
+ standardNo: undefined,
standardName: undefined,
standardType: undefined,
- edit: undefined,
- propagator: undefined,
- promulgationTime: undefined,
- promotionPlace: undefined
+ preparationAndRevision: undefined,
+ promoter: undefined,
+ promotionTime: undefined,
+ promotionLocation: undefined
}]
// 新增取路由参数
this.meetingType = this.$route.query.meetingType
@@ -950,10 +952,12 @@ export default {
this.tbMeetingType = Number(this.model.tbMeetingType)
// 标准宣贯或者学习培训
this.$refs.standardMeetingType.setCurrentDictOptions(arr.splice(0, 2))
+ otherKeys.push('standardProjectList')
}
}
setTimeout(() => {
- this.form.setFieldsValue(pick(this.model, 'signInTime', 'tbMeetingType', 'meetingCostsVip', 'isAddQuestion', 'standardProjectList', ...otherKeys))
+ console.log('------------otherKeys', otherKeys)
+ this.form.setFieldsValue(pick(this.model, 'signInTime', 'tbMeetingType', 'meetingCostsVip', 'isAddQuestion', ...otherKeys))
})
}
// 如果是工作组会议 赋值工作组
@@ -1545,13 +1549,13 @@ export default {
addStandardProject(index) {
const {form} = this
const obj = {
- standardNumber: undefined,
+ standardNo: undefined,
standardName: undefined,
standardType: undefined,
- edit: undefined,
- propagator: undefined,
- promulgationTime: undefined,
- promotionPlace: undefined
+ preparationAndRevision: undefined,
+ promoter: undefined,
+ promotionTime: undefined,
+ promotionLocation: undefined
}
const keys = form.getFieldValue('standardProjectList')
// 增加数据后重新赋值