|
@@ -1,6 +1,10 @@
|
|
|
<template>
|
|
<template>
|
|
|
<app-drawer title="比例流水" :width="960" v-model:show="show">
|
|
<app-drawer title="比例流水" :width="960" v-model:show="show">
|
|
|
<app-table :data="dataList" :columns="tableColumns" :loading="loading" border>
|
|
<app-table :data="dataList" :columns="tableColumns" :loading="loading" border>
|
|
|
|
|
+ <!-- 变更时间 -->
|
|
|
|
|
+ <template #updatetime="{ value }">
|
|
|
|
|
+ {{ formatDate(value) }}
|
|
|
|
|
+ </template>
|
|
|
<template #footer>
|
|
<template #footer>
|
|
|
<app-pagination :total="total" v-model:page-size="pageSize" v-model:page-index="pageIndex"
|
|
<app-pagination :total="total" v-model:page-size="pageSize" v-model:page-index="pageIndex"
|
|
|
@change="onRefresh" />
|
|
@change="onRefresh" />
|
|
@@ -12,6 +16,7 @@
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
|
import { shallowRef, PropType } from 'vue'
|
|
import { shallowRef, PropType } from 'vue'
|
|
|
import { ElMessage } from 'element-plus'
|
|
import { ElMessage } from 'element-plus'
|
|
|
|
|
+import { formatDate } from '@/filters'
|
|
|
import { useDataTable } from '@/hooks/datatable'
|
|
import { useDataTable } from '@/hooks/datatable'
|
|
|
import { queryTHJInvesotrDepositLog } from '@/services/api/common'
|
|
import { queryTHJInvesotrDepositLog } from '@/services/api/common'
|
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|
|
@@ -30,12 +35,12 @@ const show = shallowRef(true)
|
|
|
const loading = shallowRef(false)
|
|
const loading = shallowRef(false)
|
|
|
|
|
|
|
|
const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
- { prop: 'updatetime', label: '变更时间' },
|
|
|
|
|
|
|
+ { prop: 'updatetime', label: '变更时间', width: 180 },
|
|
|
{ prop: 'oridepositqty', label: '变更前' },
|
|
{ prop: 'oridepositqty', label: '变更前' },
|
|
|
{ prop: 'changeqty', label: '变更值' },
|
|
{ prop: 'changeqty', label: '变更值' },
|
|
|
{ prop: 'curdepositqty', label: '变更后' },
|
|
{ prop: 'curdepositqty', label: '变更后' },
|
|
|
{ prop: 'accountname', label: '采购人' },
|
|
{ prop: 'accountname', label: '采购人' },
|
|
|
- { prop: 'wrtradedetailid', label: '采购单号', width: 180 },
|
|
|
|
|
|
|
+ { prop: 'wrtradedetailid', label: '采购单号', width: 200 },
|
|
|
])
|
|
])
|
|
|
|
|
|
|
|
const getTHJInvesotrDepositLog = () => {
|
|
const getTHJInvesotrDepositLog = () => {
|
|
@@ -44,6 +49,9 @@ const getTHJInvesotrDepositLog = () => {
|
|
|
data: {
|
|
data: {
|
|
|
userid: props.selectedRow.userid,
|
|
userid: props.selectedRow.userid,
|
|
|
depositrate: props.selectedRow.depositrate,
|
|
depositrate: props.selectedRow.depositrate,
|
|
|
|
|
+ page: pageIndex.value,
|
|
|
|
|
+ pagesize: pageSize.value,
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
success: (res) => {
|
|
success: (res) => {
|
|
|
total.value = res.total
|
|
total.value = res.total
|