[update] 修改bug81793
This commit is contained in:
+1
-1
@@ -139,7 +139,7 @@ export default {
|
||||
this.formInline.contactUserLeaderLeader_dictText = data.flowUser ? data.flowUser.contactUserLeaderLeader_dictText : data.dataList[0].contactUserLeaderLeader_dictText
|
||||
this.formInline = Object.assign({}, this.formInline)
|
||||
// 给表格赋值
|
||||
if (data.dataList.length > 0 && data.dataList[0].applicationType) {
|
||||
if (data.dataList.length > 0 && data.dataList[0].projectType_dictText) {
|
||||
// 第一行数据有申请类型字段说明才有表格数据,否则有可能是保存没有填表格信息的情况
|
||||
this.$nextTick(() => {
|
||||
this.$refs.tableRef.initData(data)
|
||||
|
||||
+1
-1
@@ -78,7 +78,7 @@ export default {
|
||||
this.formInline.collectUserLeader_dictText = data.dataList[0].collectUserLeader_dictText
|
||||
this.formInline = Object.assign({}, this.formInline)
|
||||
// 给表格赋值
|
||||
if (data.dataList.length > 0 && data.dataList[0].applicationType) {
|
||||
if (data.dataList.length > 0 && data.dataList[0].projectType_dictText) {
|
||||
// 第一行数据有申请类型字段说明才有表格数据,否则有可能是保存没有填表格信息的情况
|
||||
this.$nextTick(() => {
|
||||
this.$refs.tableRef.initData(data)
|
||||
|
||||
Reference in New Issue
Block a user