From fa5d7ea885c00b15d1935f48839324333256e17b Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Wed, 20 May 2026 15:06:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/assetManage/stocktaking/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/assetManage/stocktaking/index.vue b/src/views/assetManage/stocktaking/index.vue index 49ade7d..7d10b7a 100644 --- a/src/views/assetManage/stocktaking/index.vue +++ b/src/views/assetManage/stocktaking/index.vue @@ -501,7 +501,8 @@ export default { }, computed: { ...mapGetters([ - 'baseApi' + 'baseApi', + 'user' ]), hasAssets() { return this.totalAssets > 0 @@ -519,9 +520,11 @@ export default { methods: { [CRUD.HOOK.beforeRefresh]() { // 传递搜索参数 + console.log('this.user', this.user) this.crud.params.billNo = this.query.billNo this.crud.params.warehouseId = this.query.warehouseId this.crud.params.status = this.query.status + this.crud.query.userId = this.user.id // 保存原始参数 this.originalPage = this.crud.page.page