Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡宝山
template_vue
Commits
6da18ce7
Commit
6da18ce7
authored
Aug 02, 2023
by
CenXinYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化详情设置
Signed-off-by:
CenXinYi
<
2810162984@qq.com
>
parent
9484b7c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
24 deletions
+20
-24
index.vue
src/views/processManagement/inventoryRecord/index.vue
+6
-5
index.vue
src/views/sample/inventoryRecord/index.vue
+14
-19
No files found.
src/views/processManagement/inventoryRecord/index.vue
View file @
6da18ce7
...
...
@@ -9,7 +9,7 @@
v-model=
"queryEntity.entity.pn"
placeholder=
"请输入pn"
clearable
:maxlength=
"
20
"
:maxlength=
"
inputMaxLength
"
size=
"small"
@
keyup
.
enter
.
native=
"handleQuery"
/>
...
...
@@ -20,7 +20,7 @@
v-model=
"queryEntity.entity.lot"
placeholder=
"请输入lot"
clearable
:maxlength=
"
20
"
:maxlength=
"
inputMaxLength
"
size=
"small"
@
keyup
.
enter
.
native=
"handleQuery"
/>
...
...
@@ -31,7 +31,7 @@
v-model=
"queryEntity.entity.plocation"
placeholder=
"请输入plocation"
clearable
:maxlength=
"
20
"
:maxlength=
"
inputMaxLength
"
size=
"small"
@
keyup
.
enter
.
native=
"handleQuery"
/>
...
...
@@ -234,6 +234,9 @@ export default {
delIcon
:
'el-icon-delete'
,
exportIcon
:
'el-icon-download'
,
// TODO: 限制搜索输入框的最大能输入数
inputMaxLength
:
100
,
// TODO:遮罩层
loading
:
true
,
// 非多个禁用
...
...
@@ -599,8 +602,6 @@ export default {
}
}
/* TODO: 专门用来解决el-input边框的问题 */
.aboutSingleDetails
{
.el-form
{
...
...
src/views/sample/inventoryRecord/index.vue
View file @
6da18ce7
...
...
@@ -9,7 +9,7 @@
v-model=
"queryEntity.entity.pn"
placeholder=
"请输入pn"
clearable
:maxlength=
"
20
"
:maxlength=
"
inputMaxLength
"
size=
"small"
@
keyup
.
enter
.
native=
"handleQuery"
/>
...
...
@@ -20,7 +20,7 @@
v-model=
"queryEntity.entity.lot"
placeholder=
"请输入lot"
clearable
:maxlength=
"
20
"
:maxlength=
"
inputMaxLength
"
size=
"small"
@
keyup
.
enter
.
native=
"handleQuery"
/>
...
...
@@ -180,7 +180,8 @@ export default {
exportSize
:
'small'
,
delIcon
:
'el-icon-delete'
,
exportIcon
:
'el-icon-download'
,
// TODO: 限制搜索输入框的最大能输入数
inputMaxLength
:
100
,
// TODO:遮罩层
loading
:
true
,
// 非多个禁用
...
...
@@ -414,23 +415,17 @@ export default {
}
this
.
getList
()
},
/* TODO: 获取详情信息*/
handleDetail
:
function
(
row
)
{
/* TODO: 如果库状态为‘废弃’,即为‘4’时,则可以进入 */
if
(
row
.
poperate
!==
'4'
)
{
this
.
singleDetails
=
{
...
row
}
}
else
{
/* TODO: 设置单项详情的查询的条件 */
this
.
singleLogIdAndPn
[
'businessId'
]
=
row
.
businessId
this
.
singleLogIdAndPn
[
'pn'
]
=
row
.
pn
/* TODO: 进行单项详情的查询 */
findSingleLogDetail
(
this
.
singleLogIdAndPn
).
then
(
response
=>
{
this
.
title
=
'记录详情'
this
.
singleDetails
=
Object
.
assign
({},
response
.
data
,
{
...
row
})
}
)
}
this
.
singleDetails
=
{
...
row
}
/* TODO: 设置单项详情的查询的条件 */
this
.
singleLogIdAndPn
[
'businessId'
]
=
row
.
businessId
this
.
singleLogIdAndPn
[
'pn'
]
=
row
.
pn
/* TODO: 进行单项详情的查询 */
findSingleLogDetail
(
this
.
singleLogIdAndPn
).
then
(
response
=>
{
this
.
singleDetails
=
Object
.
assign
({},
response
.
data
,
{
...
row
})
}
)
this
.
title
=
'记录详情'
this
.
openDetails
=
true
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment