52442 项目清单确认流程:当项目清单有数据时,数据跑完后,数据归档就会把之前的数据给覆盖掉,应该把之前的数据+新增的数据,现在是只归档了新增的数据
This commit is contained in:
@@ -38,6 +38,7 @@
|
|||||||
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="form.endTime"
|
v-model="form.endTime"
|
||||||
|
:picker-options="pickerOptions"
|
||||||
type="date"
|
type="date"
|
||||||
value-format="yyyy-MM-dd"
|
value-format="yyyy-MM-dd"
|
||||||
placeholder="请选择结束日期">
|
placeholder="请选择结束日期">
|
||||||
|
|||||||
@@ -919,7 +919,9 @@ export default {
|
|||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
this.$set(item, 'standId', item.id)
|
if(!item.standId){
|
||||||
|
this.$set(item, 'standId', item.id)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.qdform.commentText = this.commentText;
|
this.qdform.commentText = this.commentText;
|
||||||
|
|||||||
@@ -919,7 +919,9 @@ export default {
|
|||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
this.$set(item, 'standId', item.id)
|
if(!item.standId){
|
||||||
|
this.$set(item, 'standId', item.id)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.qdform.commentText = this.commentText;
|
this.qdform.commentText = this.commentText;
|
||||||
|
|||||||
@@ -891,7 +891,9 @@ export default {
|
|||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
this.$set(item, 'standId', item.id)
|
if(!item.standId){
|
||||||
|
this.$set(item, 'standId', item.id)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.qdform.commentText = this.commentText;
|
this.qdform.commentText = this.commentText;
|
||||||
|
|||||||
Reference in New Issue
Block a user