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
c2ea7e08
Commit
c2ea7e08
authored
Dec 18, 2025
by
yubin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
a885a8a9
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
65 行增加
和
13 行删除
+65
-13
ruoyi-admin-vue/src/views/inventory/locations/index.vue
+0
-0
ruoyi-admin-vue/src/views/inventory/orders/OutboundOrderFormWithItems.vue
+0
-0
ruoyi-admin-vue/src/views/inventory/orders/index.vue
+64
-12
ruoyi-admin-vue/src/views/inventory/owners/index.vue
+0
-0
ruoyi-admin-vue/src/views/inventory/warehouses/index.vue
+0
-0
ruoyi-inventory/src/main/resources/mapper/inventory/OutboundOrdersMapper.xml
+1
-1
没有找到文件。
ruoyi-admin-vue/src/views/inventory/locations/index.vue
View file @
c2ea7e08
差异被折叠。
点击展开。
ruoyi-admin-vue/src/views/inventory/orders/OutboundOrderFormWithItems.vue
View file @
c2ea7e08
差异被折叠。
点击展开。
ruoyi-admin-vue/src/views/inventory/orders/index.vue
View file @
c2ea7e08
...
@@ -54,13 +54,14 @@
...
@@ -54,13 +54,14 @@
<!-- 页面容器 -->
<!-- 页面容器 -->
<div
class=
"page-container"
>
<div
class=
"page-container"
>
<!-- 搜索区域 -->
<!-- 搜索区域 - 参考样式修改 -->
<page-wrapper-search
<el-form
:model=
"queryParams"
:model=
"queryParams"
ref=
"queryForm"
ref=
"queryForm"
size=
"small"
size=
"small"
@
search=
"handleQuery"
:inline=
"true"
@
reset=
"resetQuery"
v-show=
"showSearch"
label-width=
"100px"
>
>
<el-form-item
label=
"出库单号"
prop=
"orderId"
>
<el-form-item
label=
"出库单号"
prop=
"orderId"
>
<el-input
<el-input
...
@@ -96,7 +97,7 @@
...
@@ -96,7 +97,7 @@
v-model=
"queryParams.orderTypeId"
v-model=
"queryParams.orderTypeId"
placeholder=
"请输入出库类型"
placeholder=
"请输入出库类型"
clearable
clearable
style=
"width: 1
00%
"
style=
"width: 1
50px
"
>
>
<el-option
<el-option
v-for=
"dict in dict.type.inbound_outbound_type"
v-for=
"dict in dict.type.inbound_outbound_type"
...
@@ -120,7 +121,7 @@
...
@@ -120,7 +121,7 @@
v-model=
"queryParams.orderStatus"
v-model=
"queryParams.orderStatus"
placeholder=
"请选择订单状态"
placeholder=
"请选择订单状态"
clearable
clearable
style=
"width: 1
00%
"
style=
"width: 1
50px
"
>
>
<el-option
<el-option
v-for=
"dict in dict.type.outbound_order_status"
v-for=
"dict in dict.type.outbound_order_status"
...
@@ -150,7 +151,13 @@
...
@@ -150,7 +151,13 @@
</
template
>
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</page-wrapper-search>
<!-- 新增搜索和重置按钮 -->
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form>
<!-- 表格容器 -->
<!-- 表格容器 -->
<div
class=
"table-container"
>
<div
class=
"table-container"
>
...
@@ -1271,6 +1278,13 @@ export default {
...
@@ -1271,6 +1278,13 @@ export default {
ownerId
:
false
,
ownerId
:
false
,
outboundOrderId
:
false
outboundOrderId
:
false
}
}
// 核心修改:设置出库日期默认值为当前日期
const
today
=
new
Date
()
const
year
=
today
.
getFullYear
()
const
month
=
String
(
today
.
getMonth
()
+
1
).
padStart
(
2
,
'0'
)
const
day
=
String
(
today
.
getDate
()).
padStart
(
2
,
'0'
)
this
.
form
.
inboundDate
=
`${year
}
-${month
}
-${day
}
`
this
.
open
=
true
this
.
open
=
true
this
.
title
=
"添加出库单"
this
.
title
=
"添加出库单"
}
,
}
,
...
@@ -1562,4 +1576,42 @@ export default {
...
@@ -1562,4 +1576,42 @@ export default {
}
}
}
}
}
}
<
/script>
<
/script
>
\ No newline at end of file
<
style
scoped
>
.
page
-
container
{
padding
:
16
px
;
background
:
#
fff
;
border
-
radius
:
4
px
;
margin
-
bottom
:
16
px
;
display
:
flex
;
flex
-
direction
:
column
;
height
:
calc
(
100
vh
-
140
px
);
min
-
height
:
600
px
;
}
.
table
-
container
{
flex
:
1
;
min
-
height
:
0
;
margin
-
top
:
16
px
;
display
:
flex
;
flex
-
direction
:
column
;
overflow
-
x
:
auto
;
}
/* 补充样式,保持和参考页面一致 */
.
el
-
form
-
item
{
margin
-
bottom
:
16
px
;
}
.
material
-
group
{
margin
-
bottom
:
16
px
;
}
.
mb8
{
margin
-
bottom
:
8
px
;
}
.
mb10
{
margin
-
bottom
:
10
px
;
}
<
/style>
\ No newline at end of file
ruoyi-admin-vue/src/views/inventory/owners/index.vue
View file @
c2ea7e08
差异被折叠。
点击展开。
ruoyi-admin-vue/src/views/inventory/warehouses/index.vue
View file @
c2ea7e08
差异被折叠。
点击展开。
ruoyi-inventory/src/main/resources/mapper/inventory/OutboundOrdersMapper.xml
View file @
c2ea7e08
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
<if
test=
"orderId != null and orderId != ''"
>
and oo.order_id like concat('%', #{orderId}, '%')
</if>
<if
test=
"orderId != null and orderId != ''"
>
and oo.order_id like concat('%', #{orderId}, '%')
</if>
<if
test=
"batchCode != null and batchCode != ''"
>
and oo.batch_code like concat('%', #{batchCode}, '%')
</if>
<if
test=
"batchCode != null and batchCode != ''"
>
and oo.batch_code like concat('%', #{batchCode}, '%')
</if>
<if
test=
"systemNo != null and systemNo != ''"
>
and oo.system_no like concat('%', #{systemNo}, '%')
</if>
<if
test=
"systemNo != null and systemNo != ''"
>
and oo.system_no like concat('%', #{systemNo}, '%')
</if>
<if
test=
"orderTypeId != null and orderTypeId != ''"
>
and oo.order_type_id = {orderTypeId}
</if>
<if
test=
"orderTypeId != null and orderTypeId != ''"
>
and oo.order_type_id =
#
{orderTypeId}
</if>
<if
test=
"orderType != null and orderType != ''"
>
and oo.order_type = #{orderType}
</if>
<if
test=
"orderType != null and orderType != ''"
>
and oo.order_type = #{orderType}
</if>
<if
test=
"batchCode != null and batchCode != ''"
>
and oo.batch_code like concat('%', #{batchCode}, '%')
</if>
<if
test=
"batchCode != null and batchCode != ''"
>
and oo.batch_code like concat('%', #{batchCode}, '%')
</if>
<if
test=
"warehouseId != null and warehouseId != ''"
>
and oo.warehouse_id = #{warehouseId}
</if>
<if
test=
"warehouseId != null and warehouseId != ''"
>
and oo.warehouse_id = #{warehouseId}
</if>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论