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
ab52550c
Commit
ab52550c
authored
Dec 17, 2025
by
wangchunyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
盘点样式调整
parent
d04916a9
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
21 行增加
和
23 行删除
+21
-23
ruoyi-admin-vue/src/views/inventory/stocktakes/stocktakeItemsTable.vue
+21
-23
没有找到文件。
ruoyi-admin-vue/src/views/inventory/stocktakes/stocktakeItemsTable.vue
View file @
ab52550c
...
...
@@ -44,7 +44,6 @@
readonly
@
focus=
"openLocationSelector"
:suffix-icon=
"''"
:disabled=
"!searchParams.warehouseId"
>
<
template
v-if=
"queryLocationName"
#
suffix
>
<i
...
...
@@ -84,13 +83,13 @@
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"批次编号"
align=
"center"
prop=
"batchCode"
min-width=
"150px"
>
<
!-- <
el-table-column label="批次编号" align="center" prop="batchCode" min-width="150px" >
<template slot-scope="scope">
<div class="disabled-input">
{{ scope.row.batchCode }}
</div>
</template>
</el-table-column>
</el-table-column>
-->
<el-table-column
label=
"仓库"
align=
"center"
prop=
"warehouseName"
min-width=
"150px"
>
<
template
slot-scope=
"scope"
>
<div
class=
"disabled-input"
>
...
...
@@ -157,19 +156,16 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"adjustedType"
align=
"center"
label=
"调整原因类型"
min-width=
"150px"
>
<
template
v-if=
"isConfirm"
slot-scope=
"scope"
>
<div
class=
"disabled-input"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"isConfirm"
>
<div>
{{
getAdjustReasonName
(
scope
.
row
.
adjustedType
)
}}
</div>
</
template
>
<
template
v-else
slot-scope=
"scope"
>
<!--
<template
slot-scope=
"scope"
>
-->
<
template
v-if=
"!isConfirm"
>
<el-select
v-model=
"scope.row.adjustedType"
placeholder=
"请选择调整原因类型"
:disabled=
"isConfirm"
:style=
"getAdjustTypeErrorStyle(scope.row)"
@
change=
"handleItemChange(scope.row)"
clearable
...
...
@@ -183,17 +179,16 @@
/>
</el-select>
</
template
>
</template>
</el-table-column>
<el-table-column
label=
"调整原因"
align=
"center"
prop=
"adjustmentReason"
min-width=
"150px"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"isConfirm"
>
<div
class=
"disabled-input"
>
<div>
{{
scope
.
row
.
adjustmentReason
}}
</div>
</
template
>
<
template
v-
else
>
<
template
v-
if=
"!isConfirm"
>
<el-input
v-model=
"scope.row.adjustmentReason"
placeholder=
"请输入调整原因"
...
...
@@ -204,7 +199,7 @@
</
template
>
</template>
</el-table-column>
<el-table-column
label=
"调整人"
align=
"center"
prop=
"adjustedBy"
v-if=
"isConfirm"
min-width=
"150px"
>
<
!-- <
el-table-column label="调整人" align="center" prop="adjustedBy" v-if="isConfirm" min-width="150px" >
<template slot-scope="scope">
<div class="disabled-input">
{{ scope.row.adjustedBy }}
...
...
@@ -217,7 +212,7 @@
{{ scope.row.adjustedAt }}
</div>
</template>
</el-table-column>
</el-table-column>
-->
</el-table>
</div>
<pagination
...
...
@@ -307,7 +302,8 @@ export default {
:
true
return
matchMaterial
&&
matchWarehouse
&&
matchLocation
})
console
.
log
(
'itemlist'
,
filtered
)
console
.
log
(
this
.
isConfirm
)
// 更新总数+分页
this
.
total
=
filtered
.
length
const
start
=
(
this
.
searchParams
.
pageNum
-
1
)
*
this
.
searchParams
.
pageSize
...
...
@@ -339,9 +335,9 @@ export default {
// 供列表筛选:存仓库编码333(匹配列表里的warehouseId:333
this
.
searchParams
.
warehouseId
=
warehouse
.
warehouseId
this
.
queryWarehouseName
=
warehouse
.
warehousesName
||
warehouse
.
warehouseId
// 仓库选择后,清空库位信息
this
.
queryLocationName
=
null
this
.
searchParams
.
locationId
=
null
//
//
仓库选择后,清空库位信息
//
this.queryLocationName = null
//
this.searchParams.locationId = null
this
.
handleQuery
()
},
...
...
@@ -349,9 +345,9 @@ export default {
clearQueryWarehouse
()
{
this
.
queryWarehouseName
=
null
this
.
searchParams
.
warehouseId
=
null
// 清空仓库时,同时清空库位
this
.
queryLocationName
=
null
this
.
searchParams
.
locationId
=
null
//
//
清空仓库时,同时清空库位
//
this.queryLocationName = null
//
this.searchParams.locationId = null
this
.
handleQuery
()
},
...
...
@@ -495,6 +491,8 @@ export default {
},
/** 获取调整原因名称 */
getAdjustReasonName
(
status
)
{
console
.
log
(
'status'
,
status
)
console
.
log
(
'typelist'
,
this
.
dict
.
type
.
adjusted_type
)
const
item
=
this
.
dict
.
type
.
adjusted_type
.
find
(
item
=>
item
.
value
===
status
)
return
item
?
item
.
label
:
'未知'
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论