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
27b33f24
Commit
27b33f24
authored
Dec 31, 2025
by
yubin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
b925cffd
f14c941b
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
24 行增加
和
6 行删除
+24
-6
src/view/key-person/key_dm_inventory/index.vue
+24
-6
没有找到文件。
src/view/key-person/key_dm_inventory/index.vue
View file @
27b33f24
...
@@ -391,8 +391,10 @@
...
@@ -391,8 +391,10 @@
<Row
class=
"mt8"
><Col
span=
"24"
><p><strong>
预计归还日期:
</strong>
{{ formatDate(detailModal.data.expected_return_date) }}
</p></Col></Row>
<Row
class=
"mt8"
><Col
span=
"24"
><p><strong>
预计归还日期:
</strong>
{{ formatDate(detailModal.data.expected_return_date) }}
</p></Col></Row>
<Row
class=
"mt8"
><Col
span=
"24"
><h4>
明细
</h4></Col></Row>
<Row
class=
"mt8"
><Col
span=
"24"
><h4>
明细
</h4></Col></Row>
<Table
:data=
"detailModal.details"
:columns=
"detailDetailColumns"
size=
"small"
border
/>
<Table
:data=
"detailModal.details"
:columns=
"detailDetailColumns"
size=
"small"
border
/>
<Row
class=
"mt8"
><Col
span=
"24"
><h4>
审批记录
</h4></Col></Row>
<Row
class=
"mt8"
><Col
span=
"24"
><h3><strong>
审批详情
</strong></h3></Col></Row><br>
<Table
:data=
"detailModal.logs"
:columns=
"detailLogsColumns"
size=
"small"
border
/>
<!-- <Table :data="detailModal.logs" :columns="detailLogsColumns" size="small" border /> -->
<Row
:gutter=
"16"
><Col
span=
"12"
><p><strong>
审批人:
</strong>
{{ detailModal.data.approver_name }}
</p></Col><Col
span=
"12"
><p><strong>
审批结果:
</strong>
{{ approvalStatusMap[detailModal.data.approval_status] }}
</p></Col></Row>
<Row
class=
"mt8"
><Col
span=
"24"
><p><strong>
审批意见:
</strong>
{{ detailModal.data.approval_opinion }}
</p></Col></Row>
</div>
</div>
<div
slot=
"footer"
><Button
type=
"primary"
@
click=
"detailModal.visible=false"
>
关闭
</Button></div>
<div
slot=
"footer"
><Button
type=
"primary"
@
click=
"detailModal.visible=false"
>
关闭
</Button></div>
</Modal>
</Modal>
...
@@ -1293,6 +1295,7 @@ export default {
...
@@ -1293,6 +1295,7 @@ export default {
this
.
$Message
.
success
(
'保存成功'
)
this
.
$Message
.
success
(
'保存成功'
)
this
.
applyModal
.
visible
=
false
this
.
applyModal
.
visible
=
false
this
.
fetchList
(
'apply'
)
this
.
fetchList
(
'apply'
)
console
.
log
(
this
.
applyModal
.
saving
)
}
else
{
}
else
{
this
.
$Notice
.
error
({
title
:
'保存失败'
,
desc
:
ret
.
data
&&
ret
.
data
.
errmsg
})
this
.
$Notice
.
error
({
title
:
'保存失败'
,
desc
:
ret
.
data
&&
ret
.
data
.
errmsg
})
}
}
...
@@ -1362,15 +1365,30 @@ export default {
...
@@ -1362,15 +1365,30 @@ export default {
},
},
confirmApprove
()
{
confirmApprove
()
{
this
.
approveModal
.
submitting
=
true
this
.
approveModal
.
submitting
=
true
approveBorrow
({
id
:
this
.
approveModal
.
record
.
id
}).
then
(
ret
=>
{
approveBorrow
({
id
:
this
.
approveModal
.
record
.
id
,
comment
:
this
.
approveModal
.
opinion
}).
then
(
ret
=>
{
if
(
ret
.
data
&&
ret
.
data
.
errcode
===
0
)
{
this
.
$Message
.
success
(
'已通过,已生成出库并更新库存'
);
this
.
approveModal
.
visible
=
false
;
this
.
fetchList
(
'pending'
);
this
.
fetchList
(
'apply'
)
}
else
this
.
$Notice
.
error
({
title
:
'操作失败'
,
desc
:
ret
.
data
&&
ret
.
data
.
errmsg
})
if
(
ret
.
data
&&
ret
.
data
.
errcode
===
0
)
{
this
.
$Message
.
success
(
'已通过,已生成出库并更新库存'
)
this
.
approveModal
.
visible
=
false
;
this
.
fetchList
(
'pending'
)
this
.
fetchList
(
'apply'
)
}
else
{
this
.
$Notice
.
error
({
title
:
'操作失败'
,
desc
:
ret
.
data
&&
ret
.
data
.
errmsg
})
}
}).
finally
(()
=>
{
this
.
approveModal
.
submitting
=
false
})
}).
finally
(()
=>
{
this
.
approveModal
.
submitting
=
false
})
},
},
confirmReject
()
{
confirmReject
()
{
if
(
!
this
.
approveModal
.
opinion
||
!
this
.
approveModal
.
opinion
.
trim
())
{
this
.
$Message
.
warning
(
'请输入驳回原因'
);
return
}
if
(
!
this
.
approveModal
.
opinion
||
!
this
.
approveModal
.
opinion
.
trim
())
{
this
.
$Message
.
warning
(
'请输入驳回原因'
)
return
}
this
.
approveModal
.
submitting
=
true
this
.
approveModal
.
submitting
=
true
rejectBorrow
({
id
:
this
.
approveModal
.
record
.
id
,
comment
:
this
.
approveModal
.
opinion
}).
then
(
ret
=>
{
rejectBorrow
({
id
:
this
.
approveModal
.
record
.
id
,
comment
:
this
.
approveModal
.
opinion
}).
then
(
ret
=>
{
if
(
ret
.
data
&&
ret
.
data
.
errcode
===
0
)
{
this
.
$Message
.
success
(
'已驳回'
);
this
.
approveModal
.
visible
=
false
;
this
.
fetchList
(
'pending'
)
}
else
this
.
$Notice
.
error
({
title
:
'驳回失败'
,
desc
:
ret
.
data
&&
ret
.
data
.
errmsg
})
if
(
ret
.
data
&&
ret
.
data
.
errcode
===
0
)
{
this
.
$Message
.
success
(
'已驳回'
)
this
.
approveModal
.
visible
=
false
this
.
fetchList
(
'pending'
)
}
else
{
this
.
$Notice
.
error
({
title
:
'驳回失败'
,
desc
:
ret
.
data
&&
ret
.
data
.
errmsg
})
}
}).
finally
(()
=>
{
this
.
approveModal
.
submitting
=
false
})
}).
finally
(()
=>
{
this
.
approveModal
.
submitting
=
false
})
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论