From 6ab9561cef0f48c0aef0fd5ee8c5bdb1985e7a97 Mon Sep 17 00:00:00 2001 From: xiao-fajia <1665375861@qq.com> Date: Thu, 19 Sep 2024 15:25:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/repair/stockTransfer/stockTransfer.js | 9 ++ .../repair/stockTransfer/stockTransferItem.js | 11 ++ src/views/login.vue | 3 +- .../repair/Components/WarehouseChoose.vue | 2 +- .../stockOperate/Components/SoIndex.vue | 32 +++- .../stockOperate/Components/SoTable.vue | 150 ++++++++++++------ .../repair/stockOperate/Components/SoVoid.vue | 23 ++- .../stockOperate/Components/SoiTable.vue | 11 +- .../stockTransfer/Components/StIndex.vue | 103 ++++++++---- .../stockTransfer/Components/StInfo.vue | 2 +- .../stockTransfer/Components/StiTable.vue | 58 +++++-- 11 files changed, 298 insertions(+), 106 deletions(-) diff --git a/src/api/repair/stockTransfer/stockTransfer.js b/src/api/repair/stockTransfer/stockTransfer.js index 1ae0e55..38660b4 100644 --- a/src/api/repair/stockTransfer/stockTransfer.js +++ b/src/api/repair/stockTransfer/stockTransfer.js @@ -10,3 +10,12 @@ export function createSt(data){ data }) } + +// 分页查 +export function getStPage(params){ + return request({ + url: preUrl + "/page", + method: "get", + params + }) +} diff --git a/src/api/repair/stockTransfer/stockTransferItem.js b/src/api/repair/stockTransfer/stockTransferItem.js index 543ea86..02f16f2 100644 --- a/src/api/repair/stockTransfer/stockTransferItem.js +++ b/src/api/repair/stockTransfer/stockTransferItem.js @@ -1 +1,12 @@ import request from '@/utils/request' + +const preUrl = "/repair/sti" + +// 调拨单子表 分页 +export function getStiPage(params){ + return request({ + url: preUrl + "/page", + method: "get", + params + }) +} diff --git a/src/views/login.vue b/src/views/login.vue index 78eda5d..607ccb8 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -133,7 +133,8 @@ export default { }, data() { return { - tenantCode:"lighting", + tenantCode:"lighting", // TODO 这里手动改还是不太合理 + // tenantCode:"lanan", codeUrl: "", //是否开启图形验证码 captchaEnable: false, diff --git a/src/views/repair/Components/WarehouseChoose.vue b/src/views/repair/Components/WarehouseChoose.vue index 60d8870..18e6d9c 100644 --- a/src/views/repair/Components/WarehouseChoose.vue +++ b/src/views/repair/Components/WarehouseChoose.vue @@ -1,6 +1,6 @@