Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
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
mes
mes-ui
Commits
bcaa2995
Commit
bcaa2995
authored
Mar 19, 2025
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 退料申请查看详情查询优化
parent
ab790b82
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
15 deletions
+16
-15
returnItem.vue
src/components/MaterialReturn/returnItem.vue
+10
-11
index.vue
src/views/mes/pro/return/index.vue
+6
-4
No files found.
src/components/MaterialReturn/returnItem.vue
View file @
bcaa2995
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<
!-- <el-table-column label="申请退料数量" align="center" prop="backNum" /> --
>
<
el-table-column
label=
"申请退料数量"
align=
"center"
prop=
"backNum"
/
>
<el-table-column
label=
"已退料数量"
align=
"center"
prop=
"returnNum"
/>
<el-table-column
label=
"已退料数量"
align=
"center"
prop=
"returnNum"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
fixed=
"right"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -201,17 +201,14 @@
...
@@ -201,17 +201,14 @@
},
},
},
},
watch
:
{
watch
:
{
applyNos
:{
showFlag
(
newVal
,
oldVal
)
{
handler
(
newVal
,
oldVal
){
console
.
log
(
newVal
,
oldVal
)
if
(
newVal
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
if
(
this
.
applyNos
!=
''
&&
this
.
applyNos
!=
null
){
this
.
queryParams
.
applyNo
=
this
.
applyNos
?
this
.
applyNos
:
""
;
this
.
queryParams
.
applyNo
=
this
.
applyNos
;
this
.
getList
();
this
.
getList
();
}
})
})
},
}
immediate
:
true
,
deep
:
true
}
}
},
},
data
()
{
data
()
{
...
@@ -265,14 +262,16 @@
...
@@ -265,14 +262,16 @@
},
},
// 表单参数
// 表单参数
form
:
{},
form
:
{},
rules
:
{},
optType
:
""
};
};
},
},
created
()
{
created
()
{
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
handleSelectionChange
()
{},
submitForm
()
{},
// 取消按钮
// 取消按钮
cancel
()
{
cancel
()
{
...
...
src/views/mes/pro/return/index.vue
View file @
bcaa2995
...
@@ -17,9 +17,9 @@
...
@@ -17,9 +17,9 @@
<el-input
v-model=
"queryParams.arrangeCodes"
placeholder=
"请输入编排单号"
type=
"textarea"
:rows=
"2"
<el-input
v-model=
"queryParams.arrangeCodes"
placeholder=
"请输入编排单号"
type=
"textarea"
:rows=
"2"
resize=
"none"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
resize=
"none"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"材料名称"
prop=
"itemName
s
"
>
<el-form-item
label=
"材料名称"
prop=
"itemName"
>
<el-input
<el-input
v-model=
"queryParams.itemName
s
"
v-model=
"queryParams.itemName"
placeholder=
"请输入材料名称"
placeholder=
"请输入材料名称"
clearable
clearable
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
...
@@ -255,7 +255,7 @@ export default {
...
@@ -255,7 +255,7 @@ export default {
taskId
:
null
,
taskId
:
null
,
itemCode
:
null
,
itemCode
:
null
,
itemName
:
null
,
itemName
:
null
,
itemName
s
:
null
,
itemName
:
null
,
createBy
:
null
,
createBy
:
null
,
arrangeCodes
:
null
,
arrangeCodes
:
null
,
createTime
:
null
,
createTime
:
null
,
...
@@ -276,7 +276,8 @@ export default {
...
@@ -276,7 +276,8 @@ export default {
form
:
{},
form
:
{},
// 表单校验
// 表单校验
rules
:
{
rules
:
{
}
},
optType
:
""
,
};
};
},
},
created
()
{
created
()
{
...
@@ -345,6 +346,7 @@ export default {
...
@@ -345,6 +346,7 @@ export default {
showCombDetail
(
applyNo
)
{
showCombDetail
(
applyNo
)
{
this
.
$refs
.
requestitemsref
.
showFlag
=
true
;
this
.
$refs
.
requestitemsref
.
showFlag
=
true
;
this
.
applyNos
=
applyNo
;
this
.
applyNos
=
applyNo
;
// this.$refs.requestitemsref.getList();
},
},
/** 搜索按钮操作 */
/** 搜索按钮操作 */
...
...
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