Browse Source

2026-04-13

工程变更申请查询优化
master
fengyuan_yang 3 days ago
parent
commit
f472798bea
  1. 21
      src/views/modules/changeManagement/changeRecord.vue

21
src/views/modules/changeManagement/changeRecord.vue

@ -3245,7 +3245,7 @@
this.$refs.changeTable.setCurrentRow(this.dataList[0]) this.$refs.changeTable.setCurrentRow(this.dataList[0])
this.updateModal(this.dataList[0]) this.updateModal(this.dataList[0])
} else { } else {
this.currentRow = {}
this.$refs.changeTable.setCurrentRow()
} }
} }
}) })
@ -3712,6 +3712,16 @@
this.currentRow = JSON.parse(JSON.stringify(row)) this.currentRow = JSON.parse(JSON.stringify(row))
// //
this.refreshCurrentTabTable() this.refreshCurrentTabTable()
} else {
this.currentRow = {}
this.detailList = []
this.fileList = []
this.currentCostImpactData = {}
this.currentExecutionInfoData = {}
this.currentChooseItemList = []
this.currentChooseItemList2 = []
this.currentChooseCSItemList = []
this.approvalList = []
} }
}, },
@ -3886,7 +3896,7 @@
// //
this.$refs.changeTable.setCurrentRow(this.dataList[0]) this.$refs.changeTable.setCurrentRow(this.dataList[0])
} else { } else {
this.currentRow = {}
this.$refs.changeTable.setCurrentRow()
} }
} }
}) })
@ -5639,6 +5649,13 @@
if (data && data.code === 0){ if (data && data.code === 0){
this.dataList = data.page.list this.dataList = data.page.list
this.totalPage = data.page.totalCount this.totalPage = data.page.totalCount
//
if (this.dataList.length > 0) {
//
this.$refs.changeTable.setCurrentRow(this.dataList[0])
} else {
this.$refs.changeTable.setCurrentRow()
}
}else { }else {
this.$message.warning(data.msg) this.$message.warning(data.msg)
} }

Loading…
Cancel
Save