|
|
@@ -1,24 +1,26 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<el-form ref="form" :model="form" label-width="120px">
|
|
|
- <div class="title" style="margin-bottom: 10px;"> 采购来源清单</div>
|
|
|
- <ele-pro-table
|
|
|
- ref="preTable"
|
|
|
- :needPage="false"
|
|
|
- :columns="preColumns"
|
|
|
- :toolkit="[]"
|
|
|
- :datasource="form.outputDetailList"
|
|
|
- row-key="id"
|
|
|
- maxHeight="500px"
|
|
|
- style="margin-bottom: 20px"
|
|
|
- >
|
|
|
- <template v-slot:technicalDrawings="{ row }">
|
|
|
- <fileMain v-model="row.technicalDrawings" type="view"></fileMain>
|
|
|
- </template>
|
|
|
- <template v-slot:files="{ row }">
|
|
|
- <fileMain v-model="row.files" type="view"></fileMain>
|
|
|
- </template>
|
|
|
- </ele-pro-table>
|
|
|
+ <div v-if="form.outputDetailList.length > 0">
|
|
|
+ <div class="title" style="margin-bottom: 10px;"> 采购来源清单</div>
|
|
|
+ <ele-pro-table
|
|
|
+ ref="preTable"
|
|
|
+ :needPage="false"
|
|
|
+ :columns="preColumns"
|
|
|
+ :toolkit="[]"
|
|
|
+ :datasource="form.outputDetailList"
|
|
|
+ row-key="id"
|
|
|
+ maxHeight="500px"
|
|
|
+ style="margin-bottom: 20px"
|
|
|
+ >
|
|
|
+ <template v-slot:technicalDrawings="{ row }">
|
|
|
+ <fileMain v-model="row.technicalDrawings" type="view"></fileMain>
|
|
|
+ </template>
|
|
|
+ <template v-slot:files="{ row }">
|
|
|
+ <fileMain v-model="row.files" type="view"></fileMain>
|
|
|
+ </template>
|
|
|
+ </ele-pro-table>
|
|
|
+ </div>
|
|
|
<div class="title"> 采购计划信息</div>
|
|
|
<el-row>
|
|
|
<el-col :span="8">
|