|
@@ -106,15 +106,16 @@
|
|
|
</div>
|
|
|
<div v-if="tab_key === '材料明细'" class="table-body">
|
|
|
<hc-table :column="tableColumn1" :datas="tableData1" :index-style="{ width: 60 }" :loading="tableLoading1">
|
|
|
- <template #key3="{ row }">
|
|
|
- <el-link type="primary">{{ row.key3 }}</el-link>
|
|
|
+ <template #key6="{ row }">
|
|
|
+ <el-input v-model="row.key6" />
|
|
|
</template>
|
|
|
</hc-table>
|
|
|
</div>
|
|
|
<div v-if="tab_key === '上传附件'" class="table-body">
|
|
|
<hc-table :column="tableColumn2" :datas="tableData2" :index-style="{ width: 60 }" :loading="tableLoading2">
|
|
|
- <template #key3="{ row }">
|
|
|
- <el-link type="primary">{{ row.key3 }}</el-link>
|
|
|
+ <template #action="{ row }">
|
|
|
+ <el-link type="primary">预览</el-link>
|
|
|
+ <el-link type="danger">删除</el-link>
|
|
|
</template>
|
|
|
</hc-table>
|
|
|
</div>
|
|
@@ -183,14 +184,33 @@ const detailsModalShow = () => {
|
|
|
|
|
|
|
|
|
//材料明细表格
|
|
|
-const tableColumn1 = []
|
|
|
-const tableData1 = ref([])
|
|
|
+const tableColumn1 = [
|
|
|
+ { key: 'key1', name: '计量单编号' },
|
|
|
+ { key: 'key2', name: '清单编号' },
|
|
|
+ { key: 'key3', name: '清单名称' },
|
|
|
+ { key: 'key4', name: '单位', width: 120, align: 'center' },
|
|
|
+ { key: 'key5', name: '计量数量', width: 120, align: 'center' },
|
|
|
+ { key: 'key6', name: '可调量', width: 120, align: 'center' },
|
|
|
+ { key: 'key7', name: '调差系数', width: 120, align: 'center' },
|
|
|
+ { key: 'key8', name: '调差数量', width: 120, align: 'center' },
|
|
|
+]
|
|
|
+const tableData1 = ref([
|
|
|
+ {},
|
|
|
+])
|
|
|
const tableLoading1 = ref(false)
|
|
|
|
|
|
|
|
|
//上传附件
|
|
|
-const tableColumn2 = []
|
|
|
-const tableData2 = ref([])
|
|
|
+const tableColumn2 = [
|
|
|
+ { key: 'key1', name: '文件名称' },
|
|
|
+ { key: 'key2', name: '文件大小', align: 'center' },
|
|
|
+ { key: 'key3', name: '更新时间', align: 'center' },
|
|
|
+ { key: 'key4', name: '文件类型', align: 'center' },
|
|
|
+ { key: 'action', name: '操作', width: 120, align: 'center' },
|
|
|
+]
|
|
|
+const tableData2 = ref([
|
|
|
+ {},
|
|
|
+])
|
|
|
const tableLoading2 = ref(false)
|
|
|
|
|
|
|