Commit a8280c01d5c65214743d29b488b0a11c70dd58d9
1 parent
d512bd55
修改审核字段
Showing
1 changed file
with
12 additions
and
1 deletions
src/views/project/approve/PayPanel.vue
... | ... | @@ -159,6 +159,15 @@ |
159 | 159 | title: '申请人', |
160 | 160 | dataIndex: 'createBy', |
161 | 161 | width: 150, |
162 | + customRender: (column) => { | |
163 | + const { record } = column || {}; | |
164 | + console.log(record, '5656record'); | |
165 | + if (record?.type === 40) { | |
166 | + return record.createBy; | |
167 | + } else if (record?.type == 50) { | |
168 | + return record?.fieldInfos?.checkBillOrderDO?.productionName; | |
169 | + } | |
170 | + }, | |
162 | 171 | }, |
163 | 172 | { |
164 | 173 | title: '内部编号', |
... | ... | @@ -254,6 +263,8 @@ |
254 | 263 | async function handleDetail(data) { |
255 | 264 | if (data.type == 50) { |
256 | 265 | showInvoice.value = true; |
266 | + } else if (data.type == 40) { | |
267 | + showInvoice.value = false; | |
257 | 268 | } |
258 | 269 | openModal(true, { data }); |
259 | 270 | id.value = data.id; |
... | ... | @@ -268,7 +279,7 @@ |
268 | 279 | } |
269 | 280 | } |
270 | 281 | function handleShow() { |
271 | - showInvoice.value = false; | |
282 | + // showInvoice.value = false; | |
272 | 283 | } |
273 | 284 | |
274 | 285 | async function handleTrue() { | ... | ... |