Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
mini-wms
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
周海峰
mini-wms
Commits
0a922691
Commit
0a922691
authored
Dec 16, 2025
by
zhangtw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量入库添加入库日期
入库库位组件调整
parent
1fdb55bc
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
14 行增加
和
17 行删除
+14
-17
ruoyi-admin-vue/src/views/inventory/inbound/details.vue
+10
-10
ruoyi-admin-vue/src/views/inventory/inbound/index.vue
+1
-2
ruoyi-admin-vue/src/views/inventory/inbound_items/index.vue
+2
-5
ruoyi-inventory/src/main/java/com/ruoyi/inventory/service/impl/InboundOrdersServiceImpl.java
+1
-0
没有找到文件。
ruoyi-admin-vue/src/views/inventory/inbound/details.vue
View file @
0a922691
...
...
@@ -80,7 +80,7 @@
readonly
@
focus=
"openLocationSelector"
:suffix-icon=
"''"
:disabled=
"!queryParams.warehouseId"
>
<
template
v-if=
"queryLocationName"
#
suffix
>
<i
...
...
@@ -114,10 +114,10 @@
>
<el-table-column
label=
"物料SAPNO"
align=
"center"
prop=
"sapNo"
width=
"200"
/>
<el-table-column
label=
"物料名称"
align=
"center"
prop=
"materialName"
width=
"200"
/>
<el-table-column
label=
"关联入库单
ID
"
align=
"center"
prop=
"orderId"
:show-overflow-tooltip=
"true"
width=
"200"
/>
<el-table-column
label=
"批次
ID
"
align=
"center"
prop=
"batchId"
:show-overflow-tooltip=
"true"
width=
"200"
/>
<el-table-column
label=
"
所在
仓库"
align=
"center"
prop=
"warehousesName"
width=
"200"
/>
<el-table-column
label=
"库位
ID
"
align=
"center"
prop=
"locationName"
width=
"200"
/>
<el-table-column
label=
"关联入库单"
align=
"center"
prop=
"orderId"
:show-overflow-tooltip=
"true"
width=
"200"
/>
<el-table-column
label=
"批次
号
"
align=
"center"
prop=
"batchId"
:show-overflow-tooltip=
"true"
width=
"200"
/>
<el-table-column
label=
"
源
仓库"
align=
"center"
prop=
"warehousesName"
width=
"200"
/>
<el-table-column
label=
"库位"
align=
"center"
prop=
"locationName"
width=
"200"
/>
<el-table-column
label=
"入库数量"
align=
"center"
prop=
"actualQuantity"
width=
"200"
/>
<el-table-column
label=
"件数"
align=
"center"
prop=
"actualPackages"
width=
"200"
/>
<el-table-column
label=
"单价"
align=
"center"
prop=
"unitPrice"
width=
"200"
/>
...
...
@@ -159,7 +159,7 @@
<!--
库位选择组件
-->
<
LocationSelector
v
-
model
=
"locationSelectorVisible"
:
warehousesId
=
"queryParams.warehouseId"
@
selected
=
"handleLocationSelected"
/>
<
/div
>
...
...
@@ -303,10 +303,10 @@ export default {
/** 打开库位选择器 */
openLocationSelector
()
{
if
(
!
this
.
queryParams
.
warehouseId
)
{
this
.
$message
.
warning
(
"请先选择仓库"
)
return
}
//
if (!this.queryParams.warehouseId)
{
//
this.$message.warning("请先选择仓库")
//
return
//
}
this
.
locationSelectorVisible
=
true
}
,
...
...
ruoyi-admin-vue/src/views/inventory/inbound/index.vue
View file @
0a922691
...
...
@@ -461,7 +461,6 @@
<!--
库位选择组件
-->
<
LocationSelector
v
-
model
=
"locationSelectorVisible"
:
warehousesId
=
"currentEditRowWarehousesId"
@
selected
=
"handleLocationSelected"
/>
<
/div
>
...
...
@@ -813,7 +812,7 @@ export default {
// 打开库位选择器
openLocationSelector
(
row
)
{
this
.
currentEditRow
=
row
this
.
currentEditRowWarehousesId
=
row
.
warehouseId
// 传递仓库ID给库位选择器
//
this.currentEditRowWarehousesId = row.warehouseId // 传递仓库ID给库位选择器
this
.
locationSelectorVisible
=
true
}
,
// 库位选择回调
...
...
ruoyi-admin-vue/src/views/inventory/inbound_items/index.vue
View file @
0a922691
...
...
@@ -157,7 +157,7 @@
v-model=
"scope.row.warehousesName"
size=
"small"
readonly
placeholder=
"请选择仓库"
placeholder=
"请选择
源
仓库"
@
focus=
"$emit('open-warehouse-selector', scope.row)"
:suffix-icon=
"''"
>
...
...
@@ -179,7 +179,6 @@
placeholder=
"请选择库位"
@
focus=
"$emit('open-location-selector', scope.row)"
:suffix-icon=
"''"
:disabled=
"!scope.row.warehouseId"
>
<template
v-if=
"scope.row.locationName"
#
suffix
>
<i
...
...
@@ -343,7 +342,7 @@ export default {
{
prop
:
'materialName'
,
label
:
'货物名称'
,
width
:
'150'
,
editable
:
false
},
{
prop
:
'warehousesName'
,
label
:
'仓库'
,
label
:
'
源
仓库'
,
width
:
'150'
,
editable
:
true
,
idProp
:
'warehouseId'
...
...
@@ -498,8 +497,6 @@ export default {
if
(
!
inboundOrderId
)
return
this
.
loading
=
true
this
.
queryParams
.
inboundOrderId
=
inboundOrderId
// 重置分页页码,避免切换入库单时使用之前的分页位置
this
.
queryParams
.
pageNum
=
1
listInbound_itemsAndMname
(
this
.
queryParams
).
then
(
response
=>
{
this
.
displayData
=
response
.
rows
.
map
(
item
=>
({
...
item
,
...
...
ruoyi-inventory/src/main/java/com/ruoyi/inventory/service/impl/InboundOrdersServiceImpl.java
View file @
0a922691
...
...
@@ -316,6 +316,7 @@ public class InboundOrdersServiceImpl implements IInboundOrdersService
"plannedPackages"
,
"materialUnit"
,
"materialRemark"
);
// 排除子表字段
// 填充主表必填字段
mainDO
.
setId
(
UUID
.
randomUUID
().
toString
());
mainDO
.
setInboundDate
(
now
);
mainDO
.
setOrderId
(
orderId
);
mainDO
.
setCreateBy
(
operId
);
mainDO
.
setCreateTime
(
now
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论