|
@@ -104,33 +104,50 @@
|
|
|
{{ record.isLeaf ? '' : record.accountName }}
|
|
{{ record.isLeaf ? '' : record.accountName }}
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <template #pay_ord_amt_56="{ record }">
|
|
|
|
|
+ <viewOrdersModal filter-type='pay_ord_amt_56' :data="record">
|
|
|
|
|
+ {{ amountFormat(record.pay_ord_amt_56) }}
|
|
|
|
|
+ </viewOrdersModal>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #eff_ord_amt="{ record }">
|
|
|
|
|
+ <viewOrdersModal filter-type='eff_ord_amt' :data="record">
|
|
|
|
|
+ {{ amountFormat(record.eff_ord_amt) }}
|
|
|
|
|
+ </viewOrdersModal>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #sett_ord_amt_56="{ record }">
|
|
|
|
|
+
|
|
|
|
|
+ <viewOrdersModal filter-type='sett_ord_amt_56' :data="record">
|
|
|
|
|
+ {{ amountFormat(record.sett_ord_amt_56) }}
|
|
|
|
|
+ </viewOrdersModal>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #order_ord_amt="{ record }">
|
|
|
|
|
+ <viewOrdersModal filter-type='order_ord_amt' :data="record">
|
|
|
|
|
+ {{ amountFormat(record.order_ord_amt) }}
|
|
|
|
|
+ </viewOrdersModal>
|
|
|
|
|
+ </template>
|
|
|
|
|
+
|
|
|
<template #order_ord_amt_14="{ record }">
|
|
<template #order_ord_amt_14="{ record }">
|
|
|
- <a-popover popup-container="body" trigger="click">
|
|
|
|
|
- <div>{{ amountFormat(record.order_ord_amt_12 + record.order_ord_amt_14) }}</div>
|
|
|
|
|
|
|
+ <a-popover popup-container="body">
|
|
|
|
|
+ <viewOrdersModal filter-type='order_ord_amt_12' :data="record">
|
|
|
|
|
+ {{ amountFormat(record.order_ord_amt_12) }}
|
|
|
|
|
+ </viewOrdersModal>
|
|
|
<template #content>
|
|
<template #content>
|
|
|
|
|
|
|
|
<div style="min-width:400px;">
|
|
<div style="min-width:400px;">
|
|
|
<a-row>
|
|
<a-row>
|
|
|
- <a-col :span="8">
|
|
|
|
|
- <div>已付款金额/收入:</div>
|
|
|
|
|
- </a-col>
|
|
|
|
|
|
|
+ <a-col :span="8">已付款金额/收入: </a-col>
|
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_amt_12) }} </a-col>
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_amt_12) }} </a-col>
|
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_tfee_12) }} </a-col>
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_tfee_12) }} </a-col>
|
|
|
</a-row>
|
|
</a-row>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
<a-row>
|
|
<a-row>
|
|
|
- <a-col :span="8">
|
|
|
|
|
- <div>已收货金额/收入:</div>
|
|
|
|
|
- </a-col>
|
|
|
|
|
|
|
+ <a-col :span="8">已收货金额/收入: </a-col>
|
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_amt_14) }} </a-col>
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_amt_14) }} </a-col>
|
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_tfee_14) }} </a-col>
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_tfee_14) }} </a-col>
|
|
|
</a-row>
|
|
</a-row>
|
|
|
-
|
|
|
|
|
<a-row>
|
|
<a-row>
|
|
|
- <a-col :span="8">
|
|
|
|
|
- <div>已失效金额/收入:</div>
|
|
|
|
|
- </a-col>
|
|
|
|
|
|
|
+ <a-col :span="8">已失效金额/收入: </a-col>
|
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_amt_13) }} </a-col>
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_amt_13) }} </a-col>
|
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_tfee_13) }} </a-col>
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_tfee_13) }} </a-col>
|
|
|
</a-row>
|
|
</a-row>
|
|
@@ -138,34 +155,24 @@
|
|
|
</template>
|
|
</template>
|
|
|
</a-popover>
|
|
</a-popover>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
</template>
|
|
</template>
|
|
|
<template #order_ord_tfee_14="{ record }">
|
|
<template #order_ord_tfee_14="{ record }">
|
|
|
- <a-popover popup-container="body" trigger="click">
|
|
|
|
|
|
|
+ <a-popover popup-container="body">
|
|
|
<div>{{ amountFormat(record.order_ord_tfee_12 + record.order_ord_tfee_14) }}</div>
|
|
<div>{{ amountFormat(record.order_ord_tfee_12 + record.order_ord_tfee_14) }}</div>
|
|
|
<template #content>
|
|
<template #content>
|
|
|
<div style="min-width:400px;">
|
|
<div style="min-width:400px;">
|
|
|
<a-row>
|
|
<a-row>
|
|
|
- <a-col :span="8">
|
|
|
|
|
- <div>已付款金额/收入:</div>
|
|
|
|
|
- </a-col>
|
|
|
|
|
|
|
+ <a-col :span="8">已付款金额/收入: </a-col>
|
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_amt_12) }} </a-col>
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_amt_12) }} </a-col>
|
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_tfee_12) }} </a-col>
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_tfee_12) }} </a-col>
|
|
|
</a-row>
|
|
</a-row>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
<a-row>
|
|
<a-row>
|
|
|
- <a-col :span="8">
|
|
|
|
|
- <div>已收货金额/收入:</div>
|
|
|
|
|
- </a-col>
|
|
|
|
|
|
|
+ <a-col :span="8">已收货金额/收入: </a-col>
|
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_amt_14) }} </a-col>
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_amt_14) }} </a-col>
|
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_tfee_14) }} </a-col>
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_tfee_14) }} </a-col>
|
|
|
</a-row>
|
|
</a-row>
|
|
|
-
|
|
|
|
|
<a-row>
|
|
<a-row>
|
|
|
- <a-col :span="8">
|
|
|
|
|
- <div>已失效金额/收入:</div>
|
|
|
|
|
- </a-col>
|
|
|
|
|
|
|
+ <a-col :span="8">已失效金额/收入: </a-col>
|
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_amt_13) }} </a-col>
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_amt_13) }} </a-col>
|
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_tfee_13) }} </a-col>
|
|
<a-col :span="8"> {{ amountFormat(record.order_ord_tfee_13) }} </a-col>
|
|
|
</a-row>
|
|
</a-row>
|
|
@@ -193,6 +200,7 @@ import { computed, ref, reactive, watch, nextTick } from 'vue';
|
|
|
import { useI18n } from 'vue-i18n';
|
|
import { useI18n } from 'vue-i18n';
|
|
|
import useLoading from '@/hooks/loading';
|
|
import useLoading from '@/hooks/loading';
|
|
|
import { numberFormat, amountFormat } from '@/utils/util';
|
|
import { numberFormat, amountFormat } from '@/utils/util';
|
|
|
|
|
+
|
|
|
import {
|
|
import {
|
|
|
queryTkReport,
|
|
queryTkReport,
|
|
|
queryTkReportDailys,
|
|
queryTkReportDailys,
|
|
@@ -208,6 +216,7 @@ import type {
|
|
|
import cloneDeep from 'lodash/cloneDeep';
|
|
import cloneDeep from 'lodash/cloneDeep';
|
|
|
import Sortable from 'sortablejs';
|
|
import Sortable from 'sortablejs';
|
|
|
import CategoriesPercent from './components/categories-percent.vue';
|
|
import CategoriesPercent from './components/categories-percent.vue';
|
|
|
|
|
+import viewOrdersModal from './components/viewOrdersModal.vue';
|
|
|
|
|
|
|
|
type SizeProps = 'mini' | 'small' | 'medium' | 'large';
|
|
type SizeProps = 'mini' | 'small' | 'medium' | 'large';
|
|
|
type Column = TableColumnData & { checked?: true };
|
|
type Column = TableColumnData & { checked?: true };
|
|
@@ -266,6 +275,7 @@ const densityList = computed(() => [
|
|
|
},
|
|
},
|
|
|
]);
|
|
]);
|
|
|
|
|
|
|
|
|
|
+
|
|
|
const columns = computed<TableColumnData[]>(() => [
|
|
const columns = computed<TableColumnData[]>(() => [
|
|
|
{
|
|
{
|
|
|
title: '日期',
|
|
title: '日期',
|
|
@@ -308,10 +318,10 @@ const columns = computed<TableColumnData[]>(() => [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '付款金额',
|
|
title: '付款金额',
|
|
|
- dataIndex: 'pay_ord_amt_56',
|
|
|
|
|
|
|
+ slotName: 'pay_ord_amt_56',
|
|
|
width: 150,
|
|
width: 150,
|
|
|
align: 'right',
|
|
align: 'right',
|
|
|
- render: (e: any) => amountFormat(e.record.pay_ord_amt_56)
|
|
|
|
|
|
|
+ // render: (e: any) => amountFormat(e.record.pay_ord_amt_56)
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '付款预估收入',
|
|
title: '付款预估收入',
|
|
@@ -339,10 +349,10 @@ const columns = computed<TableColumnData[]>(() => [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '有效付款金额',
|
|
title: '有效付款金额',
|
|
|
- dataIndex: 'eff_ord_amt',
|
|
|
|
|
|
|
+ slotName: 'eff_ord_amt',
|
|
|
width: 150,
|
|
width: 150,
|
|
|
align: 'right',
|
|
align: 'right',
|
|
|
- render: (e: any) => amountFormat(e.record.eff_ord_amt)
|
|
|
|
|
|
|
+ // render: (e: any) => amountFormat(e.record.eff_ord_amt)
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '有效付款预估收入',
|
|
title: '有效付款预估收入',
|
|
@@ -364,10 +374,10 @@ const columns = computed<TableColumnData[]>(() => [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '结算金额',
|
|
title: '结算金额',
|
|
|
- dataIndex: 'sett_ord_amt_56',
|
|
|
|
|
|
|
+ slotName: 'sett_ord_amt_56',
|
|
|
width: 150,
|
|
width: 150,
|
|
|
align: 'right',
|
|
align: 'right',
|
|
|
- render: (e: any) => amountFormat(e.record.sett_ord_amt_56)
|
|
|
|
|
|
|
+ // render: (e: any) => amountFormat(e.record.sett_ord_amt_56)
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '结算预估收入',
|
|
title: '结算预估收入',
|
|
@@ -383,9 +393,10 @@ const columns = computed<TableColumnData[]>(() => [
|
|
|
children: [
|
|
children: [
|
|
|
{
|
|
{
|
|
|
title: '结算金额',
|
|
title: '结算金额',
|
|
|
|
|
+ slotName: 'order_ord_amt',
|
|
|
width: 150,
|
|
width: 150,
|
|
|
align: 'right',
|
|
align: 'right',
|
|
|
- render: (e: any) => amountFormat(e.record.order_ord_amt)
|
|
|
|
|
|
|
+ // render: (e: any) => amountFormat(e.record.order_ord_amt)
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '结算收入',
|
|
title: '结算收入',
|
|
@@ -394,16 +405,16 @@ const columns = computed<TableColumnData[]>(() => [
|
|
|
render: (e: any) => amountFormat(e.record.order_ord_tfee)
|
|
render: (e: any) => amountFormat(e.record.order_ord_tfee)
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '未结算金额',
|
|
|
|
|
|
|
+ title: '待结算金额',
|
|
|
|
|
+ slotName: 'order_ord_amt_14',
|
|
|
width: 150,
|
|
width: 150,
|
|
|
align: 'right',
|
|
align: 'right',
|
|
|
- slotName: 'order_ord_amt_14',
|
|
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '未结算收入',
|
|
|
|
|
|
|
+ title: '待结算收入',
|
|
|
|
|
+ slotName: 'order_ord_tfee_14',
|
|
|
width: 120,
|
|
width: 120,
|
|
|
align: 'right',
|
|
align: 'right',
|
|
|
- slotName: 'order_ord_tfee_14',
|
|
|
|
|
},
|
|
},
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|