12
Showing
1 changed file
with
14 additions
and
4 deletions
... | @@ -67,7 +67,17 @@ export default { | ... | @@ -67,7 +67,17 @@ export default { |
67 | }, | 67 | }, |
68 | { | 68 | { |
69 | prop: "zjzl", | 69 | prop: "zjzl", |
70 | label: "证件种类" | 70 | label: "证件种类2", |
71 | render: (h, scope) => { | ||
72 | alert("2") | ||
73 | this.dictData['A30'].forEach(item => { | ||
74 | if (item.dcode == scope.row.zjzl) { | ||
75 | var varName =item.dname | ||
76 | alert(varName) | ||
77 | return <div>varName</div> | ||
78 | } | ||
79 | }) | ||
80 | } | ||
71 | }, | 81 | }, |
72 | { | 82 | { |
73 | prop: "zjh", | 83 | prop: "zjh", |
... | @@ -138,10 +148,10 @@ export default { | ... | @@ -138,10 +148,10 @@ export default { |
138 | }, | 148 | }, |
139 | methods: { | 149 | methods: { |
140 | updateDetail (value) { | 150 | updateDetail (value) { |
141 | this.tableDataList[this.dataIndex] = value; | 151 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); |
142 | console.log(this.tableDataList); | 152 | console.log(this.tableDataList); |
143 | this.key++ | 153 | // |
144 | this.$emit('upDateQlrxxList', this.tableDataList) | 154 | this.$emit('upDateQlrxxList', _.cloneDeep(this.tableDataList)) |
145 | }, | 155 | }, |
146 | 156 | ||
147 | // 新增 | 157 | // 新增 | ... | ... |
-
Please register or sign in to post a comment