|
@@ -1,60 +1,59 @@
|
|
|
<template>
|
|
|
- <hc-card>
|
|
|
- <template #header>
|
|
|
- <div class="w-40">
|
|
|
- <el-select v-model="searchForm.key1" filterable block placeholder="选择计量期" @change="searchKey1Click">
|
|
|
- <el-option v-for="item in key1Data" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
- </el-select>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template #extra>
|
|
|
- <el-button hc-btn type="primary" @click="addModalClick">
|
|
|
- <HcIcon name="add" />
|
|
|
- <span>新增</span>
|
|
|
- </el-button>
|
|
|
- <el-button hc-btn type="warning" @click="reportClick">
|
|
|
- <HcIcon name="send-plane-2" />
|
|
|
- <span>上报</span>
|
|
|
- </el-button>
|
|
|
- <el-button hc-btn type="success" @click="detailsModalClick">
|
|
|
- <HcIcon name="file-list" />
|
|
|
- <span>清单明细</span>
|
|
|
- </el-button>
|
|
|
- </template>
|
|
|
- <div class="relative h-full flex">
|
|
|
- <div :id="`hc_tree_card_${uuid}`">
|
|
|
- <hc-card-item scrollbar>
|
|
|
- <hc-lazy-tree :h-props="treeProps" @load="treeLoadNode" />
|
|
|
- </hc-card-item>
|
|
|
- </div>
|
|
|
- <div :id="`hc_table_card_${uuid}`" class="flex-1">
|
|
|
- <hc-card-item>
|
|
|
- <template #header>
|
|
|
- <div class="font-400 text-orange">收方总金额:0元</div>
|
|
|
- </template>
|
|
|
- <template #extra>
|
|
|
- <el-button hc-btn color="#626aef">
|
|
|
- <HcIcon name="sort-desc" :line="false" />
|
|
|
- <span>按部位排序</span>
|
|
|
- </el-button>
|
|
|
- <el-button hc-btn color="#626aef">
|
|
|
- <HcIcon name="sort-desc" :line="false" />
|
|
|
- <span>按录入时间排序</span>
|
|
|
- </el-button>
|
|
|
- </template>
|
|
|
- <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" is-check @selection-change="tableCheckChange">
|
|
|
- <template #action="{ row }">
|
|
|
- <el-link type="primary" @click="giveTaskModalClick(row)">下达</el-link>
|
|
|
- <el-link type="success">修改</el-link>
|
|
|
- <el-link type="danger">删除</el-link>
|
|
|
- </template>
|
|
|
- </hc-table>
|
|
|
- <template #action>
|
|
|
- <hc-pages :pages="searchForm" @change="pageChange" />
|
|
|
+ <div class="relative h-full flex">
|
|
|
+ <div :id="`hc_tree_card_${uuid}`">
|
|
|
+ <hc-new-card scrollbar>
|
|
|
+ <template #header>
|
|
|
+ <el-select v-model="searchForm.key1" filterable block placeholder="选择计量期" @change="searchKey1Click">
|
|
|
+ <el-option v-for="item in key1Data" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
+ </el-select>
|
|
|
+ </template>
|
|
|
+ <hc-lazy-tree :h-props="treeProps" @load="treeLoadNode" />
|
|
|
+ </hc-new-card>
|
|
|
+ </div>
|
|
|
+ <div :id="`hc_table_card_${uuid}`" class="flex-1">
|
|
|
+ <hc-new-card>
|
|
|
+ <template #header>
|
|
|
+ <div class="font-400 text-orange">收方总金额:0元</div>
|
|
|
+ </template>
|
|
|
+ <template #extra>
|
|
|
+ <el-button hc-btn type="primary" @click="addModalClick">
|
|
|
+ <HcIcon name="add" />
|
|
|
+ <span>新增</span>
|
|
|
+ </el-button>
|
|
|
+ <el-button hc-btn type="warning" @click="reportClick">
|
|
|
+ <HcIcon name="send-plane-2" />
|
|
|
+ <span>上报</span>
|
|
|
+ </el-button>
|
|
|
+ <el-button hc-btn type="success" @click="detailsModalClick">
|
|
|
+ <HcIcon name="file-list" />
|
|
|
+ <span>清单明细</span>
|
|
|
+ </el-button>
|
|
|
+ <el-button hc-btn color="#626aef">
|
|
|
+ <HcIcon name="sort-desc" :line="false" />
|
|
|
+ <span>按部位排序</span>
|
|
|
+ </el-button>
|
|
|
+ <el-button hc-btn color="#626aef">
|
|
|
+ <HcIcon name="sort-desc" :line="false" />
|
|
|
+ <span>按录入时间排序</span>
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ <hc-table
|
|
|
+ :column="tableColumn" :datas="tableData" :loading="tableLoading" is-new is-check
|
|
|
+ :check-style="{ width: 29 }" :index-style="{ width: 60 }"
|
|
|
+ @selection-change="tableCheckChange"
|
|
|
+ >
|
|
|
+ <template #action="{ row }">
|
|
|
+ <el-link type="primary" @click="giveTaskModalClick(row)">下达</el-link>
|
|
|
+ <el-link type="success">修改</el-link>
|
|
|
+ <el-link type="danger">删除</el-link>
|
|
|
</template>
|
|
|
- </hc-card-item>
|
|
|
- </div>
|
|
|
+ </hc-table>
|
|
|
+ <template #action>
|
|
|
+ <hc-pages :pages="searchForm" @change="pageChange" />
|
|
|
+ </template>
|
|
|
+ </hc-new-card>
|
|
|
</div>
|
|
|
+
|
|
|
<!-- 中间收方新增 -->
|
|
|
<HcAddModal v-model="addModalShow" />
|
|
|
|
|
@@ -72,7 +71,7 @@
|
|
|
|
|
|
<!-- 上报弹窗 -->
|
|
|
<hc-report-dialog v-model="isReport" />
|
|
|
- </hc-card>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
@@ -156,7 +155,7 @@ const tableColumn = ref([
|
|
|
{ key: 'key4', name: '收方金额' },
|
|
|
{ key: 'key5', name: '业务日期' },
|
|
|
{ key: 'key6', name: '审核状态' },
|
|
|
- { key: 'action', name: '操作', width: 200, align: 'center' },
|
|
|
+ { key: 'action', name: '操作', width: 120, align: 'center' },
|
|
|
])
|
|
|
const tableData = ref([
|
|
|
{ key1: '1111' },
|