52442 项目清单确认流程:当项目清单有数据时,数据跑完后,数据归档就会把之前的数据给覆盖掉,应该把之前的数据+新增的数据,现在是只归档了新增的数据

This commit is contained in:
宋伟佳
2022-04-07 16:30:34 +08:00
parent 683131c131
commit 8fd86e7b40
4 changed files with 10 additions and 3 deletions
@@ -38,6 +38,7 @@
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
<el-date-picker
v-model="form.endTime"
:picker-options="pickerOptions"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择结束日期">
@@ -919,7 +919,9 @@ export default {
//提交事件
handleSubmit() {
this.dataList.forEach(item => {
this.$set(item, 'standId', item.id)
if(!item.standId){
this.$set(item, 'standId', item.id)
}
})
this.isSubmit = true;
this.qdform.commentText = this.commentText;
@@ -919,7 +919,9 @@ export default {
//提交事件
handleSubmit() {
this.dataList.forEach(item => {
this.$set(item, 'standId', item.id)
if(!item.standId){
this.$set(item, 'standId', item.id)
}
})
this.isSubmit = true;
this.qdform.commentText = this.commentText;
@@ -891,7 +891,9 @@ export default {
//提交事件
handleSubmit() {
this.dataList.forEach(item => {
this.$set(item, 'standId', item.id)
if(!item.standId){
this.$set(item, 'standId', item.id)
}
})
this.isSubmit = true;
this.qdform.commentText = this.commentText;