|
@@ -1,48 +1,50 @@
|
|
|
<!-- 保税仓业务-计费管理-详情 -->
|
|
<!-- 保税仓业务-计费管理-详情 -->
|
|
|
<template>
|
|
<template>
|
|
|
- <app-drawer title="详情" :width="960" v-model:show="show">
|
|
|
|
|
- <table cellspacing="10" cellpadding="0">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th>分拣室服务费:</th>
|
|
|
|
|
- <td>{{ selectedRow.servicefee.toFixed(2) }}</td>
|
|
|
|
|
- <th>分拣室电费:</th>
|
|
|
|
|
- <td>{{ selectedRow.powerfee.toFixed(2) }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th>仓储费:</th>
|
|
|
|
|
- <td>{{ selectedRow.storagefee.toFixed(2) }}</td>
|
|
|
|
|
- <th>保险费:</th>
|
|
|
|
|
- <td>{{ selectedRow.premium.toFixed(2) }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th>进仓报关费:</th>
|
|
|
|
|
- <td>{{ selectedRow.infee.toFixed(2) }}</td>
|
|
|
|
|
- <th>出仓报关费:</th>
|
|
|
|
|
- <td>{{ selectedRow.outfee.toFixed(2) }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th>合计费用:</th>
|
|
|
|
|
- <td>{{ selectedRow.totalfee.toFixed(2) }}</td>
|
|
|
|
|
- <th>支付状态:</th>
|
|
|
|
|
- <td>{{ selectedRow.paystatus }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
|
|
+ <app-drawer class="g-details" title="详情" :width="960" v-model:show="show">
|
|
|
|
|
+ <app-table-details :label-width="100" :data="selectedRow" :cellProps="detailCells" :column="2">
|
|
|
|
|
+ <template #header>
|
|
|
|
|
+ <h3 class="g-details__header">款项明细【{{ selectedRow.trademonth }}】</h3>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <!-- 支付状态 -->
|
|
|
|
|
+ <template #paystatus="{ value }">
|
|
|
|
|
+ {{ getGZBSCPayStatusName(value) }}
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <!-- 支付方式 -->
|
|
|
|
|
+ <template #paymode="{ value }">
|
|
|
|
|
+ {{ getGZBSCPayModeName(value) }}
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </app-table-details>
|
|
|
<app-table :data="powerfeeList" :columns="powerfeeColumns" :show-toolbar="false" border>
|
|
<app-table :data="powerfeeList" :columns="powerfeeColumns" :show-toolbar="false" border>
|
|
|
|
|
+ <template #header>
|
|
|
|
|
+ <h3 class="g-details__header">电费明细</h3>
|
|
|
|
|
+ </template>
|
|
|
</app-table>
|
|
</app-table>
|
|
|
- <app-table :data="importList" :columns="bondedColumns" :show-toolbar="false" border>
|
|
|
|
|
|
|
+ <app-table :data="importList" :columns="imporColumns" :show-toolbar="false" border>
|
|
|
|
|
+ <template #header>
|
|
|
|
|
+ <h3 class="g-details__header">进口明细</h3>
|
|
|
|
|
+ </template>
|
|
|
</app-table>
|
|
</app-table>
|
|
|
- <app-table :data="exportList" :columns="bondedColumns" :show-toolbar="false" border>
|
|
|
|
|
|
|
+ <app-table :data="exportList" :columns="exportColumns" :show-toolbar="false" border>
|
|
|
|
|
+ <template #header>
|
|
|
|
|
+ <h3 class="g-details__header">出境明细</h3>
|
|
|
|
|
+ </template>
|
|
|
</app-table>
|
|
</app-table>
|
|
|
<app-table :data="transferList" :columns="transferColumns" :show-toolbar="false" border>
|
|
<app-table :data="transferList" :columns="transferColumns" :show-toolbar="false" border>
|
|
|
|
|
+ <template #header>
|
|
|
|
|
+ <h3 class="g-details__header">转厂明细</h3>
|
|
|
|
|
+ </template>
|
|
|
</app-table>
|
|
</app-table>
|
|
|
</app-drawer>
|
|
</app-drawer>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
|
import { shallowRef, PropType } from 'vue'
|
|
import { shallowRef, PropType } from 'vue'
|
|
|
|
|
+import { handleNoneValue } from '@/filters'
|
|
|
|
|
+import { getGZBSCPayStatusName, getGZBSCPayModeName } from '@/constants/bonded'
|
|
|
import { useGzbscusermonthpayDetails } from '@/business/bonded'
|
|
import { useGzbscusermonthpayDetails } from '@/business/bonded'
|
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
|
|
|
+import AppTableDetails from '@pc/components/base/table-details/index.vue'
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
selectedRow: {
|
|
selectedRow: {
|
|
@@ -54,6 +56,19 @@ const props = defineProps({
|
|
|
const { powerfeeList, importList, exportList, transferList } = useGzbscusermonthpayDetails(props.selectedRow.trademonth)
|
|
const { powerfeeList, importList, exportList, transferList } = useGzbscusermonthpayDetails(props.selectedRow.trademonth)
|
|
|
const show = shallowRef(true)
|
|
const show = shallowRef(true)
|
|
|
|
|
|
|
|
|
|
+const detailCells = [
|
|
|
|
|
+ { prop: 'servicefee', label: '分拣室服务费:', decimal: 2 },
|
|
|
|
|
+ { prop: 'powerfee', label: '分拣室电费:', decimal: 2 },
|
|
|
|
|
+ { prop: 'storagefee', label: '仓储费:', decimal: 2 },
|
|
|
|
|
+ { prop: 'premium', label: '保险费:', decimal: 2 },
|
|
|
|
|
+ { prop: 'infee', label: '进仓报关费:', decimal: 2 },
|
|
|
|
|
+ { prop: 'outfee', label: '出仓报关费:', decimal: 2 },
|
|
|
|
|
+ { prop: 'totalfee', label: '合计费用:', decimal: 2 },
|
|
|
|
|
+ { prop: 'paystatus', label: '支付状态:' },
|
|
|
|
|
+ { prop: 'paymode', label: '支付方式:' },
|
|
|
|
|
+ { prop: 'paytime', label: '支付时间:' },
|
|
|
|
|
+]
|
|
|
|
|
+
|
|
|
const powerfeeColumns: Ermcp.TableColumn[] = [
|
|
const powerfeeColumns: Ermcp.TableColumn[] = [
|
|
|
{ prop: 'instrumentno', label: '仪表编号' },
|
|
{ prop: 'instrumentno', label: '仪表编号' },
|
|
|
{ prop: 'username', label: '使用单位' },
|
|
{ prop: 'username', label: '使用单位' },
|
|
@@ -64,11 +79,16 @@ const powerfeeColumns: Ermcp.TableColumn[] = [
|
|
|
{ prop: 'powerfee', label: '电费(元)' },
|
|
{ prop: 'powerfee', label: '电费(元)' },
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
-const bondedColumns: Ermcp.TableColumn[] = [
|
|
|
|
|
|
|
+const imporColumns: Ermcp.TableColumn[] = [
|
|
|
{ prop: 'jckdate', label: '进口日期' },
|
|
{ prop: 'jckdate', label: '进口日期' },
|
|
|
{ prop: 'customsno', label: '报关单号' },
|
|
{ prop: 'customsno', label: '报关单号' },
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
|
|
+const exportColumns: Ermcp.TableColumn[] = [
|
|
|
|
|
+ { prop: 'jckdate', label: '出境日期' },
|
|
|
|
|
+ { prop: 'customsno', label: '报关单号' },
|
|
|
|
|
+]
|
|
|
|
|
+
|
|
|
const transferColumns: Ermcp.TableColumn[] = [
|
|
const transferColumns: Ermcp.TableColumn[] = [
|
|
|
{ prop: 'jckdate', label: '转厂日期' },
|
|
{ prop: 'jckdate', label: '转厂日期' },
|
|
|
{ prop: 'checklistno', label: '核注清单号' },
|
|
{ prop: 'checklistno', label: '核注清单号' },
|