From defa8eb77bd52678ad4366cc333d45a2e6dad457 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期二, 02 九月 2025 14:13:41 +0800 Subject: [PATCH] 删除仓库无用代码 --- src/views/inventoryManagement/issueManagement/index.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/inventoryManagement/issueManagement/index.vue b/src/views/inventoryManagement/issueManagement/index.vue index f2c73cb..7a1363c 100644 --- a/src/views/inventoryManagement/issueManagement/index.vue +++ b/src/views/inventoryManagement/issueManagement/index.vue @@ -71,7 +71,7 @@ import { ref } from 'vue' import { ElMessageBox } from "element-plus"; import useUserStore from '@/store/modules/user' -import { userListNoPage } from "@/api/system/user.js"; +import { userListNoPageByTenantId } from "@/api/system/user.js"; import { getStockInPage } from "@/api/inventoryManagement/stockIn.js"; @@ -131,6 +131,7 @@ getStockInPage({ ...searchForm.value, ...page }).then(res => { tableLoading.value = false tableData.value = res.data.records + total.value = res.data.total console.log('res', res.data.records) }).catch(() => { tableLoading.value = false @@ -185,7 +186,7 @@ console.log('form',form.value) // 鍔犺浇鐢ㄦ埛鍒楄〃 try { - const userLists = await userListNoPage() + const userLists = await userListNoPageByTenantId() userList.value = userLists.data } catch (error) { console.error('鍔犺浇鐢ㄦ埛鍒楄〃澶辫触:', error) @@ -195,7 +196,7 @@ // 鎻愪氦琛ㄥ崟 const submitForm = () => { let num = Number(form.value.inboundQuantity) - if(num < 1 || num > currentRowNum.value){ + if(num <= 0 || num > currentRowNum.value){ return proxy.$modal.msgWarning("璇峰~鍏ユ湁鏁堟暟瀛�") } proxy.$refs["formRef"].validate(valid => { -- Gitblit v1.9.3