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 @@