|
@@ -23,17 +23,7 @@ const { push } = useRouter();
|
|
|
const execlUploadRef = ref<InstanceType<typeof ExeclUpload>>(null);
|
|
|
|
|
|
const { pageContentRef, handleResetClick, handleSearchClick } = usePageSearch(
|
|
|
- ({ create_timer }) => {
|
|
|
- const [start, end] = create_timer;
|
|
|
-
|
|
|
- return {
|
|
|
- result: {
|
|
|
- start,
|
|
|
- end
|
|
|
- },
|
|
|
- deleteProps: ["create_timer"]
|
|
|
- };
|
|
|
- }
|
|
|
+ undefined, undefined, searchFormConfig
|
|
|
);
|
|
|
|
|
|
//导出模板
|
|
@@ -70,127 +60,60 @@ const { permission, contentConfigRef } = usePermission({
|
|
|
<div class="main role">
|
|
|
<PagePower :is-show="permission.list">
|
|
|
<div w-full>
|
|
|
- <PageSearch
|
|
|
- :form-config="searchFormConfig"
|
|
|
- @search-btn-click="handleSearchClick"
|
|
|
- @reset-btn-click="handleResetClick"
|
|
|
- >
|
|
|
+ <PageSearch :form-config="searchFormConfig" @search-btn-click="handleSearchClick"
|
|
|
+ @reset-btn-click="handleResetClick">
|
|
|
<template #action>
|
|
|
<el-button @click="onDownloadTemplate">下载模板</el-button>
|
|
|
- <el-button type="primary" @click="() => execlUploadRef.onDisplay()"
|
|
|
- >导入数据</el-button
|
|
|
- >
|
|
|
+ <el-button type="primary" @click="() => execlUploadRef.onDisplay()">导入数据</el-button>
|
|
|
</template>
|
|
|
</PageSearch>
|
|
|
- <PageContent
|
|
|
- ref="pageContentRef"
|
|
|
- :content-config="contentConfigRef"
|
|
|
- @preview-btn-click="row => toFundClaim(row)"
|
|
|
- >
|
|
|
+ <PageContent ref="pageContentRef" :content-config="contentConfigRef"
|
|
|
+ @preview-btn-click="row => toFundClaim(row)">
|
|
|
<template #expand="row">
|
|
|
- <el-table
|
|
|
- size="small"
|
|
|
- :data="row.child"
|
|
|
- border
|
|
|
- style="
|
|
|
+ <el-table size="small" :data="row.child" border style="
|
|
|
width: 100%;
|
|
|
padding-left: 45px;
|
|
|
padding-top: 10px;
|
|
|
padding-bottom: 10px;
|
|
|
- "
|
|
|
- >
|
|
|
- <el-table-column
|
|
|
- label="资金认领编号"
|
|
|
- prop="logNo"
|
|
|
- width="160"
|
|
|
- show-overflow-tooltip
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- label="订单编号"
|
|
|
- prop="orderCode"
|
|
|
- width="160"
|
|
|
- show-overflow-tooltip
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- label="商品编号"
|
|
|
- prop="goodNo"
|
|
|
- width="160"
|
|
|
- show-overflow-tooltip
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- label="商品名称"
|
|
|
- prop="goodName"
|
|
|
- width="180"
|
|
|
- show-overflow-tooltip
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- label="认领状态"
|
|
|
- prop="status"
|
|
|
- width="90"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ ">
|
|
|
+ <el-table-column label="资金认领编号" prop="logNo" width="160" show-overflow-tooltip />
|
|
|
+ <el-table-column label="订单编号" prop="orderCode" width="160" show-overflow-tooltip />
|
|
|
+ <el-table-column label="商品编号" prop="goodNo" width="160" show-overflow-tooltip />
|
|
|
+ <el-table-column label="商品名称" prop="goodName" width="180" show-overflow-tooltip />
|
|
|
+ <el-table-column label="认领状态" prop="status" width="90" show-overflow-tooltip>
|
|
|
<template #="{ $index }">
|
|
|
<el-tag>{{
|
|
|
- capital_status_list.find(
|
|
|
- t => t.value === row.child[$index].status
|
|
|
- )?.label || "--"
|
|
|
+ capital_status_list.find(
|
|
|
+ t => t.value === row.child[$index].status
|
|
|
+ )?.label || "--"
|
|
|
}}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="订单来源"
|
|
|
- prop="qrdSource"
|
|
|
- width="90"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ <el-table-column label="订单来源" prop="qrdSource" width="90" show-overflow-tooltip>
|
|
|
<template #="{ $index }">
|
|
|
<el-tag>{{
|
|
|
- xs_order_source_options.find(
|
|
|
- t => t.value === row.child[$index].qrdSource
|
|
|
- )?.label
|
|
|
+ xs_order_source_options.find(
|
|
|
+ t => t.value === row.child[$index].qrdSource
|
|
|
+ )?.label
|
|
|
}}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="商品来源"
|
|
|
- prop="qrdType"
|
|
|
- width="80"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ <el-table-column label="商品来源" prop="qrdType" width="80" show-overflow-tooltip>
|
|
|
<template #="{ $index }">
|
|
|
<el-tag>{{
|
|
|
- cgd_type_list.find(
|
|
|
- t => t.value === row.child[$index].qrdType
|
|
|
- )?.label
|
|
|
+ cgd_type_list.find(
|
|
|
+ t => t.value === row.child[$index].qrdType
|
|
|
+ )?.label
|
|
|
}}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="资金创建人"
|
|
|
- prop="ownerName"
|
|
|
- width="80"
|
|
|
- show-overflow-tooltip
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- label="认领创建人"
|
|
|
- prop="apply_name"
|
|
|
- width="80"
|
|
|
- show-overflow-tooltip
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- label="平台单号"
|
|
|
- prop="poCode"
|
|
|
- width="180"
|
|
|
- show-overflow-tooltip
|
|
|
- />
|
|
|
+ <el-table-column label="资金创建人" prop="ownerName" width="80" show-overflow-tooltip />
|
|
|
+ <el-table-column label="认领创建人" prop="apply_name" width="80" show-overflow-tooltip />
|
|
|
+ <el-table-column label="平台单号" prop="poCode" width="180" show-overflow-tooltip />
|
|
|
<el-table-column fixed="right" label="操作" width="60px">
|
|
|
<template #default="{ $index }">
|
|
|
- <el-button
|
|
|
- :icon="useRenderIcon('eye-view')"
|
|
|
- @click="() => toFundClaim(row.child[$index])"
|
|
|
- type="primary"
|
|
|
- link
|
|
|
- />
|
|
|
+ <el-button :icon="useRenderIcon('eye-view')" @click="() => toFundClaim(row.child[$index])"
|
|
|
+ type="primary" link />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|