From 6e9fb3f33c5c5343ba8670ef8170a665c6a33edb Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Fri, 28 Feb 2025 16:45:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(psi):=20=E6=B7=BB=E5=8A=A0=E5=95=86?= =?UTF-8?q?=E5=93=81=E4=BB=93=E5=82=A8=E4=BF=A1=E6=81=AF=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增商品仓储信息列表页面和相关 API 接口 - 实现商品仓储信息的查询、添加、编辑、删除等功能 - 添加供应商和门店的远程搜索功能 - 集成字典数据和分页组件 --- src/api/psi/psi_product.ts | 43 ++++ src/views/psi/purchase_order_info/index.vue | 237 ++++++++++++++++++++ 2 files changed, 280 insertions(+) create mode 100644 src/api/psi/psi_product.ts create mode 100644 src/views/psi/purchase_order_info/index.vue diff --git a/src/api/psi/psi_product.ts b/src/api/psi/psi_product.ts new file mode 100644 index 000000000..7f0fabebf --- /dev/null +++ b/src/api/psi/psi_product.ts @@ -0,0 +1,43 @@ +import request from '@/utils/request' + +// 商品仓储信息列表 +export function apiWarehouseProductLists(params: any) { + return request.get({ url: '/psi_product/psiproduct/lists', params }, { urlPrefix: 'psi' }) +} + +// 添加商品仓储信息 +export function apiWarehouseProductAdd(params: any) { + return request.post({ url: '/psi_product/psiproduct/add', params }, { urlPrefix: 'psi' }) +} + +// 编辑商品仓储信息 +export function apiWarehouseProductEdit(params: any) { + return request.post({ url: '/psi_product/psiproduct/edit', params }, { urlPrefix: 'psi' }) +} + +// 删除商品仓储信息 +export function apiWarehouseProductDelete(params: any) { + return request.post({ url: '/psi_product/psiproduct/delete', params }, { urlPrefix: 'psi' }) +} + +// 商品仓储信息详情 +export function apiWarehouseProductDetail(params: any) { + return request.get({ url: '/psi_product/psiproduct/detail', params }, { urlPrefix: 'psi' }) +} +// 商品仓储信息确认 +export function apiWarehouseProductEnter(params: any) { + return request.post({ url: '/psi_product/psiproduct/enter', params }, { urlPrefix: 'psi' }) +} +//商品结算 +export function apiWarehouseProductSettlement(params: any) { + return request.post({ url: '/psi_product/psiproduct/settlement', params }, { urlPrefix: 'psi' }) +} + +/** + * 重置出入库 + * @param params + * @returns + */ +export function apiWarehouseProductSetNums(params: any) { + return request.post({ url: '/psi_product/psiproduct/set_nums', params }, { urlPrefix: 'psi' }) +} diff --git a/src/views/psi/purchase_order_info/index.vue b/src/views/psi/purchase_order_info/index.vue new file mode 100644 index 000000000..24a8275b6 --- /dev/null +++ b/src/views/psi/purchase_order_info/index.vue @@ -0,0 +1,237 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ row.mark }} + + + + + + + + + + + +