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
afd9f9ee
Commit
afd9f9ee
authored
Oct 23, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改再利用页面逻辑
parent
89576c5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
14 deletions
+21
-14
index.vue
src/views/processManagement/deviceReuse/index.vue
+21
-14
No files found.
src/views/processManagement/deviceReuse/index.vue
View file @
afd9f9ee
...
@@ -34,23 +34,26 @@
...
@@ -34,23 +34,26 @@
<el-form-item
label=
"psm:"
style=
"flex-basis: 50%;"
prop=
"psm"
>
<el-form-item
label=
"psm:"
style=
"flex-basis: 50%;"
prop=
"psm"
>
<el-input
ref=
"input5"
v-model=
"form.psm"
placeholder=
"请输入psm"
clearable
style=
"width: 400px"
:maxlength=
"8"
@
keyup
.
enter
.
native=
"handelTab(5,$event)"
/>
<el-input
ref=
"input5"
v-model=
"form.psm"
placeholder=
"请输入psm"
clearable
style=
"width: 400px"
:maxlength=
"8"
@
keyup
.
enter
.
native=
"handelTab(5,$event)"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"当前psm:"
v-if=
"form.exitPsm"
>
<span>
{{
form
.
currentPsm
}}
</span>
</el-form-item>
</el-col>
</el-col>
<!--
<el-col
:span=
"12"
>
-->
<el-col
:span=
"12"
>
<!--
<el-form-item
label=
"pzl:"
style=
"flex-basis: 50%;"
prop=
"pzl"
>
-->
<!--
<el-input
ref=
"input6"
v-model=
"form.pzl"
placeholder=
"请输入pzl"
clearable
style=
"width: 400px"
:maxlength=
"8"
@
keyup
.
enter
.
native=
"handelTab(6,$event)"
/>
-->
<!--
</el-form-item>
-->
<!--
</el-col>
-->
</el-row>
<el-row>
<el-col
:span=
"24"
style=
"padding-left: 9%;"
>
<el-form-item
label=
"pzl:"
style=
"flex-basis: 50%;"
prop=
"pzl"
>
<el-form-item
label=
"pzl:"
style=
"flex-basis: 50%;"
prop=
"pzl"
>
<el-input
ref=
"input6"
v-model=
"form.pzl"
placeholder=
"请输入pzl"
clearable
style=
"width: 400px"
:maxlength=
"8"
@
keyup
.
enter
.
native=
"handelTab(6,$event)"
/>
<el-input
ref=
"input6"
v-model=
"form.pzl"
placeholder=
"请输入pzl"
clearable
style=
"width: 400px"
:maxlength=
"8"
@
keyup
.
enter
.
native=
"handelTab(6,$event)"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"当前pzl:"
>
<span>
{{
form
.
currentPzl
}}
</span>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<!--
<el-row>
-->
<!--
<el-col
:span=
"24"
style=
"padding-left: 9%;"
>
-->
<!--
<el-form-item
label=
"pzl:"
style=
"flex-basis: 50%;"
prop=
"pzl"
>
-->
<!--
<el-input
ref=
"input6"
v-model=
"form.pzl"
placeholder=
"请输入pzl"
clearable
style=
"width: 400px"
:maxlength=
"8"
@
keyup
.
enter
.
native=
"handelTab(6,$event)"
/>
-->
<!--
</el-form-item>
-->
<!--
<el-form-item
label=
"当前pzl:"
>
-->
<!--
<span>
{{
form
.
currentPzl
}}
</span>
-->
<!--
</el-form-item>
-->
<!--
</el-col>
-->
<!--
</el-row>
-->
<el-row
:gutter=
"40"
>
<el-row
:gutter=
"40"
>
<el-col
:span=
"12"
style=
"padding-left: 10%;"
>
<el-col
:span=
"12"
style=
"padding-left: 10%;"
>
<el-form-item
label=
"prank:"
style=
"flex-basis: 50%;"
prop=
"prank"
>
<el-form-item
label=
"prank:"
style=
"flex-basis: 50%;"
prop=
"prank"
>
...
@@ -88,13 +91,14 @@ export default {
...
@@ -88,13 +91,14 @@ export default {
// 缓存判断
// 缓存判断
recycleexist
:
false
,
recycleexist
:
false
,
form
:
{
form
:
{
exitPsm
:
false
,
pn
:
''
,
pn
:
''
,
lot
:
''
,
lot
:
''
,
plocation
:
'工序网板库'
,
plocation
:
'工序网板库'
,
phd
:
''
,
phd
:
''
,
psm
:
''
,
psm
:
''
,
pzl
:
''
,
pzl
:
''
,
currentP
zl
:
''
,
currentP
sm
:
''
,
prank
:
''
,
prank
:
''
,
fq_ys
:
''
,
fq_ys
:
''
,
flag
:
1
,
flag
:
1
,
...
@@ -157,12 +161,14 @@ export default {
...
@@ -157,12 +161,14 @@ export default {
console
.
log
(
'res'
,
res
)
console
.
log
(
'res'
,
res
)
this
.
form
.
pn
=
res
.
data
.
pn
this
.
form
.
pn
=
res
.
data
.
pn
this
.
form
.
plocation
=
'工序网板库'
this
.
form
.
plocation
=
'工序网板库'
this
.
form
.
currentPzl
=
res
.
data
.
pzl
this
.
form
.
currentPsm
=
res
.
data
.
psm
this
.
form
.
exitPsm
=
true
})
})
}
}
},
},
resetQuery
()
{
resetQuery
()
{
this
.
form
=
{
this
.
form
=
{
exitPsm
:
false
,
pn
:
''
,
pn
:
''
,
lot
:
''
,
lot
:
''
,
plocation
:
'工序网板库'
,
plocation
:
'工序网板库'
,
...
@@ -172,7 +178,7 @@ export default {
...
@@ -172,7 +178,7 @@ export default {
prank
:
''
,
prank
:
''
,
flag
:
1
,
flag
:
1
,
ptype
:
''
,
ptype
:
''
,
currentP
zl
:
''
,
currentP
sm
:
''
,
pstatus
:
0
pstatus
:
0
}
}
sessionStorage
.
setItem
(
'recycleform'
,
JSON
.
stringify
(
this
.
form
))
sessionStorage
.
setItem
(
'recycleform'
,
JSON
.
stringify
(
this
.
form
))
...
@@ -206,6 +212,7 @@ export default {
...
@@ -206,6 +212,7 @@ export default {
// 提价时要调的接口
// 提价时要调的接口
recycle
(
this
.
form
).
then
(
res
=>
{
recycle
(
this
.
form
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
form
.
exitPsm
=
false
this
.
$message
.
success
(
'操作成功'
)
this
.
$message
.
success
(
'操作成功'
)
this
.
resetFrom
()
this
.
resetFrom
()
}
else
if
(
res
.
code
===
null
)
{
}
else
if
(
res
.
code
===
null
)
{
...
...
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