diff --git a/src/api/erp/stock/move/index.ts b/src/api/erp/stock/move/index.ts
new file mode 100644
index 00000000..398568e0
--- /dev/null
+++ b/src/api/erp/stock/move/index.ts
@@ -0,0 +1,61 @@
+import request from '@/config/axios'
+
+// ERP 库存调度单 VO
+export interface StockMoveVO {
+ id: number // 出库编号
+ no: string // 出库单号
+ outTime: Date // 出库时间
+ totalCount: number // 合计数量
+ totalPrice: number // 合计金额,单位:元
+ status: number // 状态
+ remark: string // 备注
+}
+
+// ERP 库存调度单 API
+export const StockMoveApi = {
+ // 查询库存调度单分页
+ getStockMovePage: async (params: any) => {
+ return await request.get({ url: `/erp/stock-move/page`, params })
+ },
+
+ // 查询库存调度单详情
+ getStockMove: async (id: number) => {
+ return await request.get({ url: `/erp/stock-move/get?id=` + id })
+ },
+
+ // 新增库存调度单
+ createStockMove: async (data: StockMoveVO) => {
+ return await request.post({ url: `/erp/stock-move/create`, data })
+ },
+
+ // 修改库存调度单
+ updateStockMove: async (data: StockMoveVO) => {
+ return await request.put({ url: `/erp/stock-move/update`, data })
+ },
+
+ // 更新库存调度单的状态
+ updateStockMoveStatus: async (id: number, status: number) => {
+ return await request.put({
+ url: `/erp/stock-move/update-status`,
+ params: {
+ id,
+ status
+ }
+ })
+ },
+
+ // 删除库存调度单
+ deleteStockMove: async (ids: number[]) => {
+ return await request.delete({
+ url: `/erp/stock-move/delete`,
+ params: {
+ ids: ids.join(',')
+ }
+ })
+ },
+
+ // 导出库存调度单 Excel
+ exportStockMove: async (params) => {
+ return await request.download({ url: `/erp/stock-move/export-excel`, params })
+ }
+}
diff --git a/src/views/erp/stock/in/index.vue b/src/views/erp/stock/in/index.vue
index e5eb53cc..75fe8f38 100644
--- a/src/views/erp/stock/in/index.vue
+++ b/src/views/erp/stock/in/index.vue
@@ -192,6 +192,7 @@
type="primary"
@click="openForm('update', scope.row.id)"
v-hasPermi="['erp:stock-in:update']"
+ :disabled="scope.row.status === 20"
>
编辑
diff --git a/src/views/erp/stock/move/StockMoveForm.vue b/src/views/erp/stock/move/StockMoveForm.vue
new file mode 100644
index 00000000..105a9395
--- /dev/null
+++ b/src/views/erp/stock/move/StockMoveForm.vue
@@ -0,0 +1,148 @@
+
+
+
+
diff --git a/src/views/erp/stock/move/components/StockMoveItemForm.vue b/src/views/erp/stock/move/components/StockMoveItemForm.vue
new file mode 100644
index 00000000..d9c5804e
--- /dev/null
+++ b/src/views/erp/stock/move/components/StockMoveItemForm.vue
@@ -0,0 +1,294 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ —
+
+
+
+
+
+ + 添加调度产品
+
+
+
diff --git a/src/views/erp/stock/move/index.vue b/src/views/erp/stock/move/index.vue
new file mode 100644
index 00000000..585bdb67
--- /dev/null
+++ b/src/views/erp/stock/move/index.vue
@@ -0,0 +1,350 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+ 新增
+
+
+ 导出
+
+ item.id))"
+ v-hasPermi="['erp:stock-move:delete']"
+ :disabled="selectionList.length === 0"
+ >
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 详情
+
+
+ 编辑
+
+
+ 审批
+
+
+ 反审批
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/erp/stock/out/StockOutForm.vue b/src/views/erp/stock/out/StockOutForm.vue
index 888475c2..22e18be3 100644
--- a/src/views/erp/stock/out/StockOutForm.vue
+++ b/src/views/erp/stock/out/StockOutForm.vue
@@ -78,7 +78,6 @@