Browse Source

新增根据库位查询库区信息接口

master_hella_20240701
chenfang 5 months ago
parent
commit
ede6833fba
  1. 5
      src/api/wms/areabasic/index.ts
  2. 1
      src/views/wms/basicDataManage/customerManage/customerdock/index.vue

5
src/api/wms/areabasic/index.ts

@ -23,6 +23,11 @@ export const getAreaPage = async (params) => {
return await request.get({ url: `/wms/areabasic/page`, params })
}
}
// 查询库区列表
export const selectAreabasicDOByCode = async (locationCode: String) => {
return await request.get({ url: `/wms/areabasic/getArea`, locationCode })
}
// 查询库区列表
export const getAreaList = async (params) => {
return await request.get({ url: `/wms/areabasic/list`, params })

1
src/views/wms/basicDataManage/customerManage/customerdock/index.vue

@ -60,6 +60,7 @@
<script setup lang="ts">
import download from '@/utils/download'
import * as CustomerdockApi from '@/api/wms/customerdock'
import * as AreabasicApi from '@/api/wms/areabasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Customerdock, CustomerdockRules } from './customerdock.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'

Loading…
Cancel
Save