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
83634f44
Commit
83634f44
authored
Oct 26, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改再利用页面逻辑
parent
d119c4ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
application.vue
src/views/equipment/application.vue
+1
-12
index.vue
src/views/production/barcodegeneration/index.vue
+1
-2
No files found.
src/views/equipment/application.vue
View file @
83634f44
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"phd"
style=
"flex-basis: 50%;"
prop=
"phd"
:rules=
"[
{ required: t
his.isRequired
, pattern: /^\d+$/, message: '仅能输入整数', trigger: 'blur' }]">
<el-form-item
label=
"phd"
style=
"flex-basis: 50%;"
prop=
"phd"
:rules=
"[
{ required: t
rue
, pattern: /^\d+$/, message: '仅能输入整数', trigger: 'blur' }]">
<el-input
ref=
"input2"
v-model=
"form.phd"
placeholder=
"请输入phd"
style=
"width: 400px"
:maxlength=
"10"
@
keyup
.
enter
.
native=
"handelTab(2,$event)"
/>
<el-input
ref=
"input2"
v-model=
"form.phd"
placeholder=
"请输入phd"
style=
"width: 400px"
:maxlength=
"10"
@
keyup
.
enter
.
native=
"handelTab(2,$event)"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -46,7 +46,6 @@
...
@@ -46,7 +46,6 @@
clearable
clearable
placeholder=
"请选择pgx"
placeholder=
"请选择pgx"
style=
"width: 400px"
style=
"width: 400px"
@
change=
"handlePgxChange"
>
>
<el-option
<el-option
v-for=
"(dict,index) in pissbList"
v-for=
"(dict,index) in pissbList"
...
@@ -87,9 +86,6 @@ export default {
...
@@ -87,9 +86,6 @@ export default {
name
:
'Role'
,
name
:
'Role'
,
data
()
{
data
()
{
return
{
return
{
isRequired
:
false
,
// 对应后端配置文件cy.init.pgxList的的内容
phdList
:
[
'003'
],
// 判断是否存在缓存
// 判断是否存在缓存
exist
:
false
,
exist
:
false
,
form
:
{
form
:
{
...
@@ -138,13 +134,6 @@ export default {
...
@@ -138,13 +134,6 @@ export default {
this
.
init
()
this
.
init
()
},
},
methods
:
{
methods
:
{
handlePgxChange
()
{
if
(
this
.
phdList
.
includes
(
this
.
form
.
pgx
)){
this
.
isRequired
=
true
}
else
{
this
.
isRequired
=
false
}
},
resetQuery
()
{
resetQuery
()
{
this
.
form
=
{
this
.
form
=
{
pn
:
''
,
pn
:
''
,
...
...
src/views/production/barcodegeneration/index.vue
View file @
83634f44
...
@@ -306,8 +306,7 @@ export default {
...
@@ -306,8 +306,7 @@ export default {
rows
:
10
,
rows
:
10
,
jbcode
:
''
,
jbcode
:
''
,
jblot
:
''
,
jblot
:
''
,
jbrank
:
''
,
jbrank
:
''
tempType
:
''
}
,
}
,
singleDetails
:
{
singleDetails
:
{
jbcode
:
''
,
jbcode
:
''
,
...
...
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