From 391a9156a907337531c5e6179f35ab4a26b39d29 Mon Sep 17 00:00:00 2001 From: WangHan <wwh_work@126,com> Date: 星期四, 19 十二月 2024 09:42:39 +0800 Subject: [PATCH] 获取用户信息修改 --- admin-web/src/views/stock/ledger/ledgerQuery/index.vue | 29 ++++++++++++++--------------- 1 files changed, 14 insertions(+), 15 deletions(-) diff --git a/admin-web/src/views/stock/ledger/ledgerQuery/index.vue b/admin-web/src/views/stock/ledger/ledgerQuery/index.vue index 16a2193..ebdc1e4 100644 --- a/admin-web/src/views/stock/ledger/ledgerQuery/index.vue +++ b/admin-web/src/views/stock/ledger/ledgerQuery/index.vue @@ -30,9 +30,7 @@ import SettingIplatform from '@/utils/settingIplatform'; import * as finsystenant from '@/api/baseSetting/finsystenant'; import myImport from '@/views/components/myImport'; -import { getBaseUrl } from '@/utils/base'; -import { getCategorySelectTree, goodsModel } from '@/api/baseSetting/finsystenant'; -import { getDicts } from '@/api/system/dict/data'; +import {getBaseUrl} from '@/utils/base'; import * as DateFormatter from '@/utils/DateFormatter'; import stockType from '@/utils/stockType' @@ -182,28 +180,29 @@ }, // 鍒椾俊鎭� columns: [ - { title: '鏈烘瀯', field: 'agencyName', align: 'left' }, - { title: '浠撳簱', field: 'warehouseName', align: 'center' }, - { title: '鐗╁搧鍚嶇О', field: 'goodsTemplateName', align: 'center' }, - { title: '瑙勬牸鍨嬪彿', field: 'baseGoodsModelsName', align: 'center' }, + { title: '鏈烘瀯', field: 'agencyName', align: 'left', width: 130 }, + { title: '浠撳簱', field: 'warehouseName', align: 'left', width: 130 }, + { title: '鐗╁搧鍚嶇О', field: 'goodsTemplateName', align: 'left', minWidth: 130 }, + { title: '瑙勬牸鍨嬪彿', field: 'baseGoodsModelsName', align: 'left', width: 130 }, { title: '绫诲瀷', field: 'summary', - align: 'left', + align: 'center', formatter: (row) => { let result = stockType(row) return { value: result }; }, }, - { title: '鍗曞彿', field: 'businessFormCode', align: 'left' }, - { title: '鏁伴噺', field: 'thisCount', align: 'left' }, - { title: '鎿嶄綔鍓嶆暟閲�', field: 'initialCount', align: 'left' }, - { title: '鎿嶄綔鍚庢暟閲�', field: 'endCount', align: 'left' }, - { title: '鍦ㄩ��', field: 'zaiTuCount', align: 'left' }, + { title: '鍗曞彿', field: 'businessFormCode', align: 'center', width: 130 }, + { title: '鏁伴噺', field: 'thisCount', align: 'center', width: 100 }, + { title: '鎿嶄綔鍓嶆暟閲�', field: 'initialCount', align: 'center', width: 100 }, + { title: '鎿嶄綔鍚庢暟閲�', field: 'endCount', align: 'center', width: 100 }, + { title: '鍦ㄩ��', field: 'zaiTuCount', align: 'center', width: 100 }, { title: '鎿嶄綔鏃堕棿', field: 'dealTime', - align: 'left', + align: 'center', + width: 160, formatter: (row) => { return { value: DateFormatter.LongToDateTime(row.dealTime) }; }, @@ -255,7 +254,7 @@ // 鏌ヨtable鍒楄〃 search(pageNum) { if (pageNum != undefined) { - this.$refs.myTable.search(pageNum); + this.$refs.myTable.search({pageNum}); } else { this.$refs.myTable.search(); } -- Gitblit v1.9.1