Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jilinzhongdianrenqun-web
概览
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
吴超
jilinzhongdianrenqun-web
Commits
80c3f585
Commit
80c3f585
authored
Dec 31, 2025
by
yubin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
8c99187f
0fd78793
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
14 行增加
和
8 行删除
+14
-8
src/view/key-person/key_dm_inventory/inbound.vue
+12
-5
src/view/key-person/key_dm_inventory/index.vue
+2
-3
没有找到文件。
src/view/key-person/key_dm_inventory/inbound.vue
View file @
80c3f585
...
...
@@ -263,12 +263,14 @@ import {
}
from
'@/api/key-dm-inbound'
import
MaterialSelector
from
'@/view/key-person/key_dm_conf/materialSelector.vue'
import
{
normalizeVisitTimeValue
}
from
'@/view/key-person/key_dm_conf/dates.js'
import
axios
from
'axios'
export
default
{
name
:
'key-dm-inbound-index'
,
components
:
{
MaterialSelector
},
data
()
{
return
{
// 表单验证规则
importShow
:
false
,
impBtnDisabled
:
false
,
// 时间范围数组
...
...
@@ -505,11 +507,12 @@ export default {
created
()
{
this
.
fetchList
(
'inbound'
)
},
methods
:
{
showImport
()
{
// 简单权限控制:可根据需要替换
const
info
=
this
.
$store
.
state
.
user
.
otherUserInfo
||
{}
const
areaId
=
info
.
area_id
||
''
if
(
areaId
&&
areaId
.
startsWith
(
'2201'
))
return
true
return
false
// // 简单权限控制:可根据需要替换
// const info = this.$store.state.user.otherUserInfo || {}
// const areaId = info.area_id || ''
// if (areaId && areaId.startsWith('2201')) return true
// return false
return
true
},
async
tplDownload
()
{
// 下载入库导入模板
...
...
@@ -726,6 +729,10 @@ export default {
this
.
inboundModal
.
saving
=
false
return
}
if
(
this
.
inboundModal
.
details
===
null
||
this
.
inboundModal
.
details
.
length
<
1
)
{
this
.
$Message
.
warning
(
'请至少入库一条用品'
)
return
}
// 2. 验证明细数据
const
invalidDetails
=
this
.
inboundModal
.
details
.
filter
(
detail
=>
{
return
!
detail
.
inbound_quantity
||
detail
.
inbound_quantity
<=
0
...
...
src/view/key-person/key_dm_inventory/index.vue
View file @
80c3f585
...
...
@@ -506,8 +506,7 @@ export default {
}
}
},
{
title
:
'单位'
,
key
:
'unit'
},
{
title
:
'备注'
,
key
:
'issue_remark'
}
{
title
:
'单位'
,
key
:
'unit'
}
],
approveDetailColumns
:
[
{
title
:
'物料名称'
,
key
:
'material_name'
},
...
...
@@ -540,7 +539,7 @@ export default {
return
h
(
'span'
,
this
.
formatDateTime
(
row
.
create_time
)
||
row
.
create_time
||
'-'
)
}
},
{
title
:
'操作人'
,
key
:
'
create_by
'
}
{
title
:
'操作人'
,
key
:
'
name
'
}
],
// 选择器控制与已选明细
showMaterialSelector
:
false
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论