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
34ea55c1
Commit
34ea55c1
authored
Jan 01, 2026
by
wangchunyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文字调整
parent
471defb7
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
24 行增加
和
24 行删除
+24
-24
src/view/key-person/key_dm_inventory/inbound.vue
+16
-16
src/view/key-person/key_dm_inventory/index.vue
+0
-0
src/view/key-person/key_dm_inventory/stats.vue
+8
-8
src/view/key-person/key_dm_leave/index.vue
+0
-0
没有找到文件。
src/view/key-person/key_dm_inventory/inbound.vue
View file @
34ea55c1
...
@@ -127,17 +127,17 @@
...
@@ -127,17 +127,17 @@
<div
class=
"search-div"
>
<div
class=
"search-div"
>
<Row
type=
"flex"
:gutter=
"16"
>
<Row
type=
"flex"
:gutter=
"16"
>
<Col
span=
"18"
>
<Col
span=
"18"
>
<span>
物料
编码:
</span>
<span>
用品
编码:
</span>
<Input
<Input
v-model=
"filters.inventory.material_code"
v-model=
"filters.inventory.material_code"
placeholder=
"请输入
物料
编码"
placeholder=
"请输入
用品
编码"
class=
"mr10"
class=
"mr10"
style=
"width: 200px"
style=
"width: 200px"
/>
/>
<span>
物料
名称:
</span>
<span>
用品
名称:
</span>
<Input
<Input
v-model=
"filters.inventory.material_name"
v-model=
"filters.inventory.material_name"
placeholder=
"请输入
物料
名称"
placeholder=
"请输入
用品
名称"
class=
"mr10"
class=
"mr10"
style=
"width: 200px"
style=
"width: 200px"
/>
/>
...
@@ -177,7 +177,7 @@
...
@@ -177,7 +177,7 @@
<Input
type=
"textarea"
v-model=
"inboundModal.form.remark"
:rows=
"2"
/>
<Input
type=
"textarea"
v-model=
"inboundModal.form.remark"
:rows=
"2"
/>
</FormItem>
</FormItem>
<h4>
明细(从
物料
库选择)
<h4>
明细(从
用品
库选择)
<div
style=
"float: right;"
>
<div
style=
"float: right;"
>
<Button
size=
"small"
class=
"mr5"
type=
"primary"
@
click=
"showMaterialSelector = true"
>
添加
</Button>
<Button
size=
"small"
class=
"mr5"
type=
"primary"
@
click=
"showMaterialSelector = true"
>
添加
</Button>
<Button
size=
"small"
type=
"error"
@
click=
"deleteSelectedInboundDetails"
>
删除
</Button>
<Button
size=
"small"
type=
"error"
@
click=
"deleteSelectedInboundDetails"
>
删除
</Button>
...
@@ -219,7 +219,7 @@
...
@@ -219,7 +219,7 @@
</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>
<!-- 导入
物料
弹窗 -->
<!-- 导入
用品
弹窗 -->
<Modal
v-model=
"importShow"
title=
"入库导入"
width=
"360"
>
<Modal
v-model=
"importShow"
title=
"入库导入"
width=
"360"
>
<Row
type=
"flex"
justify=
"center"
align=
"middle"
>
<Row
type=
"flex"
justify=
"center"
align=
"middle"
>
<Col
span=
"10"
>
<Col
span=
"10"
>
...
@@ -364,8 +364,8 @@ export default {
...
@@ -364,8 +364,8 @@ export default {
],
],
inventoryColumns
:
[
inventoryColumns
:
[
{
type
:
'index'
,
title
:
'序号'
,
width
:
60
,
align
:
'center'
},
{
type
:
'index'
,
title
:
'序号'
,
width
:
60
,
align
:
'center'
},
{
title
:
'
物料
编码'
,
key
:
'material_code'
,
align
:
'center'
},
{
title
:
'
用品
编码'
,
key
:
'material_code'
,
align
:
'center'
},
{
title
:
'
物料
名称'
,
key
:
'material_name'
,
align
:
'center'
},
{
title
:
'
用品
名称'
,
key
:
'material_name'
,
align
:
'center'
},
{
title
:
'总量'
,
key
:
'total_quantity'
,
align
:
'center'
},
{
title
:
'总量'
,
key
:
'total_quantity'
,
align
:
'center'
},
{
title
:
'借出'
,
key
:
'borrowed_quantity'
,
align
:
'center'
},
{
title
:
'借出'
,
key
:
'borrowed_quantity'
,
align
:
'center'
},
{
{
...
@@ -380,8 +380,8 @@ export default {
...
@@ -380,8 +380,8 @@ export default {
// 模态窗口内表格列定义
// 模态窗口内表格列定义
inboundDetailColumns
:
[
inboundDetailColumns
:
[
{
type
:
'selection'
,
width
:
60
},
{
type
:
'selection'
,
width
:
60
},
{
title
:
'
物料
编码'
,
key
:
'material_code'
,
minWidth
:
120
},
{
title
:
'
用品
编码'
,
key
:
'material_code'
,
minWidth
:
120
},
{
title
:
'
物料
名称'
,
key
:
'material_name'
,
minWidth
:
150
},
{
title
:
'
用品
名称'
,
key
:
'material_name'
,
minWidth
:
150
},
{
title
:
'入库数量'
,
{
title
:
'入库数量'
,
key
:
'inbound_quantity'
,
key
:
'inbound_quantity'
,
minWidth
:
120
,
minWidth
:
120
,
...
@@ -444,19 +444,19 @@ export default {
...
@@ -444,19 +444,19 @@ export default {
}
}
],
],
returnDetailColumns
:
[
returnDetailColumns
:
[
{
title
:
'
物料
名称'
,
key
:
'material_name'
},
{
title
:
'
用品
名称'
,
key
:
'material_name'
},
{
title
:
'申请数量'
,
key
:
'apply_quantity'
},
{
title
:
'申请数量'
,
key
:
'apply_quantity'
},
{
title
:
'归还数量'
,
key
:
'returned_quantity'
}
{
title
:
'归还数量'
,
key
:
'returned_quantity'
}
],
],
detailDetailColumns
:
[
detailDetailColumns
:
[
{
title
:
'
物料
编码'
,
key
:
'material_code'
},
{
title
:
'
用品
编码'
,
key
:
'material_code'
},
{
title
:
'
物料
名称'
,
key
:
'material_name'
},
{
title
:
'
用品
名称'
,
key
:
'material_name'
},
{
title
:
'数量'
,
key
:
'inbound_quantity'
},
{
title
:
'数量'
,
key
:
'inbound_quantity'
},
{
title
:
'单价'
,
key
:
'unit_price'
}
{
title
:
'单价'
,
key
:
'unit_price'
}
],
],
detailLogsColumns
:
[
detailLogsColumns
:
[
{
{
title
:
'
物料
名称'
,
title
:
'
用品
名称'
,
key
:
'material_name'
key
:
'material_name'
},
},
{
{
...
@@ -645,9 +645,9 @@ export default {
...
@@ -645,9 +645,9 @@ export default {
this
.
inboundSelectedDetails
=
list
||
[]
this
.
inboundSelectedDetails
=
list
||
[]
},
},
handleInboundMaterialSelectorOk
(
selectedRows
)
{
handleInboundMaterialSelectorOk
(
selectedRows
)
{
console
.
log
(
'选择的
物料
信息'
+
selectedRows
)
console
.
log
(
'选择的
用品
信息'
+
selectedRows
)
if
(
!
Array
.
isArray
(
selectedRows
)
||
selectedRows
.
length
===
0
)
{
if
(
!
Array
.
isArray
(
selectedRows
)
||
selectedRows
.
length
===
0
)
{
this
.
$Message
.
warning
(
'未选择
物料
'
)
this
.
$Message
.
warning
(
'未选择
用品
'
)
return
return
}
}
selectedRows
.
forEach
(
sel
=>
{
selectedRows
.
forEach
(
sel
=>
{
...
...
src/view/key-person/key_dm_inventory/index.vue
View file @
34ea55c1
差异被折叠。
点击展开。
src/view/key-person/key_dm_inventory/stats.vue
View file @
34ea55c1
...
@@ -9,8 +9,8 @@
...
@@ -9,8 +9,8 @@
<DatePicker
v-model=
"usageStart"
type=
"date"
style=
"min-width:110px;margin-right:20px"
/>
<DatePicker
v-model=
"usageStart"
type=
"date"
style=
"min-width:110px;margin-right:20px"
/>
<span>
结束:
</span>
<span>
结束:
</span>
<DatePicker
v-model=
"usageEnd"
type=
"date"
style=
"min-width:110px;margin-right:20px"
/>
<DatePicker
v-model=
"usageEnd"
type=
"date"
style=
"min-width:110px;margin-right:20px"
/>
<span>
物料
:
</span>
<span>
用品
:
</span>
<Input
v-model=
"usageMaterial"
placeholder=
"
物料
名称或编码"
style=
"width: 150px"
/>
<Input
v-model=
"usageMaterial"
placeholder=
"
用品
名称或编码"
style=
"width: 150px"
/>
</Col>
</Col>
<Col
:span=
"4"
class=
"text-right"
>
<Col
:span=
"4"
class=
"text-right"
>
<Button
type=
"primary"
class=
"mr10"
@
click=
"loadUsage"
>
统计
</Button>
<Button
type=
"primary"
class=
"mr10"
@
click=
"loadUsage"
>
统计
</Button>
...
@@ -125,7 +125,7 @@ export default {
...
@@ -125,7 +125,7 @@ export default {
this
.
detailModal
.
columns
=
[
this
.
detailModal
.
columns
=
[
{
title
:
'部门'
,
key
:
'department_name'
,
align
:
'center'
},
{
title
:
'部门'
,
key
:
'department_name'
,
align
:
'center'
},
{
title
:
'人员'
,
key
:
'user_name'
,
align
:
'center'
},
{
title
:
'人员'
,
key
:
'user_name'
,
align
:
'center'
},
{
title
:
'
物料
'
,
key
:
'material_name'
,
align
:
'center'
},
{
title
:
'
用品
'
,
key
:
'material_name'
,
align
:
'center'
},
{
title
:
'申请数量'
,
key
:
'apply_quantity'
,
align
:
'center'
},
{
title
:
'申请数量'
,
key
:
'apply_quantity'
,
align
:
'center'
},
{
title
:
'已归还数量'
,
key
:
'returned_quantity'
,
align
:
'center'
}
{
title
:
'已归还数量'
,
key
:
'returned_quantity'
,
align
:
'center'
}
]
]
...
@@ -210,8 +210,8 @@ export default {
...
@@ -210,8 +210,8 @@ export default {
let
statusText
=
''
let
statusText
=
''
switch
(
status
)
{
switch
(
status
)
{
case
0
:
statusText
=
'未提交'
;
break
case
0
:
statusText
=
'未提交'
;
break
case
1
:
statusText
=
'审
核
中'
;
break
case
1
:
statusText
=
'审
批
中'
;
break
case
9
:
statusText
=
'审
核
通过'
;
break
case
9
:
statusText
=
'审
批
通过'
;
break
case
-
1
:
statusText
=
'驳回'
;
break
case
-
1
:
statusText
=
'驳回'
;
break
default
:
statusText
=
status
default
:
statusText
=
status
}
}
...
@@ -244,7 +244,7 @@ export default {
...
@@ -244,7 +244,7 @@ export default {
}
}
},
},
{
{
title
:
'
物料
'
,
title
:
'
用品
'
,
key
:
'material_name'
,
key
:
'material_name'
,
align
:
'center'
align
:
'center'
},
},
...
@@ -267,8 +267,8 @@ export default {
...
@@ -267,8 +267,8 @@ export default {
let
statusText
=
''
let
statusText
=
''
switch
(
status
)
{
switch
(
status
)
{
case
0
:
statusText
=
'待提交'
;
break
case
0
:
statusText
=
'待提交'
;
break
case
1
:
statusText
=
'审
核
中'
;
break
case
1
:
statusText
=
'审
批
中'
;
break
case
9
:
statusText
=
'审
核
通过'
;
break
case
9
:
statusText
=
'审
批
通过'
;
break
case
-
1
:
statusText
=
'驳回'
;
break
case
-
1
:
statusText
=
'驳回'
;
break
default
:
statusText
=
status
default
:
statusText
=
status
}
}
...
...
src/view/key-person/key_dm_leave/index.vue
View file @
34ea55c1
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论