diff --git a/src/api/erp/stock/check/index.ts b/src/api/erp/stock/check/index.ts
new file mode 100644
index 00000000..4a3e6534
--- /dev/null
+++ b/src/api/erp/stock/check/index.ts
@@ -0,0 +1,61 @@
+import request from '@/config/axios'
+
+// ERP 库存盘点单 VO
+export interface StockCheckVO {
+ id: number // 出库编号
+ no: string // 出库单号
+ outTime: Date // 出库时间
+ totalCount: number // 合计数量
+ totalPrice: number // 合计金额,单位:元
+ status: number // 状态
+ remark: string // 备注
+}
+
+// ERP 库存盘点单 API
+export const StockCheckApi = {
+ // 查询库存盘点单分页
+ getStockCheckPage: async (params: any) => {
+ return await request.get({ url: `/erp/stock-check/page`, params })
+ },
+
+ // 查询库存盘点单详情
+ getStockCheck: async (id: number) => {
+ return await request.get({ url: `/erp/stock-check/get?id=` + id })
+ },
+
+ // 新增库存盘点单
+ createStockCheck: async (data: StockCheckVO) => {
+ return await request.post({ url: `/erp/stock-check/create`, data })
+ },
+
+ // 修改库存盘点单
+ updateStockCheck: async (data: StockCheckVO) => {
+ return await request.put({ url: `/erp/stock-check/update`, data })
+ },
+
+ // 更新库存盘点单的状态
+ updateStockCheckStatus: async (id: number, status: number) => {
+ return await request.put({
+ url: `/erp/stock-check/update-status`,
+ params: {
+ id,
+ status
+ }
+ })
+ },
+
+ // 删除库存盘点单
+ deleteStockCheck: async (ids: number[]) => {
+ return await request.delete({
+ url: `/erp/stock-check/delete`,
+ params: {
+ ids: ids.join(',')
+ }
+ })
+ },
+
+ // 导出库存盘点单 Excel
+ exportStockCheck: async (params) => {
+ return await request.download({ url: `/erp/stock-check/export-excel`, params })
+ }
+}
diff --git a/src/views/erp/stock/check/StockCheckForm.vue b/src/views/erp/stock/check/StockCheckForm.vue
new file mode 100644
index 00000000..9e7f6739
--- /dev/null
+++ b/src/views/erp/stock/check/StockCheckForm.vue
@@ -0,0 +1,148 @@
+
+
+
+
diff --git a/src/views/erp/stock/check/components/StockCheckItemForm.vue b/src/views/erp/stock/check/components/StockCheckItemForm.vue
new file mode 100644
index 00000000..72123c36
--- /dev/null
+++ b/src/views/erp/stock/check/components/StockCheckItemForm.vue
@@ -0,0 +1,274 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ —
+
+
+
+
+
+ + 添加盘点产品
+
+
+
diff --git a/src/views/erp/stock/check/index.vue b/src/views/erp/stock/check/index.vue
new file mode 100644
index 00000000..c6410489
--- /dev/null
+++ b/src/views/erp/stock/check/index.vue
@@ -0,0 +1,350 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+ 新增
+
+
+ 导出
+
+ item.id))"
+ v-hasPermi="['erp:stock-check:delete']"
+ :disabled="selectionList.length === 0"
+ >
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 详情
+
+
+ 编辑
+
+
+ 审批
+
+
+ 反审批
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/erp/stock/move/StockMoveForm.vue b/src/views/erp/stock/move/StockMoveForm.vue
index 105a9395..df942c63 100644
--- a/src/views/erp/stock/move/StockMoveForm.vue
+++ b/src/views/erp/stock/move/StockMoveForm.vue
@@ -62,7 +62,7 @@
import { StockMoveApi, StockMoveVO } from '@/api/erp/stock/move'
import StockMoveItemForm from './components/StockMoveItemForm.vue'
-/** ERP 其它调度单表单 */
+/** ERP 库存调度单表单 */
defineOptions({ name: 'StockMoveForm' })
const { t } = useI18n() // 国际化
diff --git a/src/views/erp/stock/move/index.vue b/src/views/erp/stock/move/index.vue
index 585bdb67..163a23fc 100644
--- a/src/views/erp/stock/move/index.vue
+++ b/src/views/erp/stock/move/index.vue
@@ -43,9 +43,9 @@
class="!w-240px"
/>
-
+
{
// 发起导出
exportLoading.value = true
const data = await StockMoveApi.exportStockMove(queryParams)
- download.excel(data, '其它调度单.xls')
+ download.excel(data, '库存调度单.xls')
} catch {
} finally {
exportLoading.value = false