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
ede52623
Commit
ede52623
authored
Sep 19, 2023
by
shifangwuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bangding
parent
1737683a
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
442 additions
and
10 deletions
+442
-10
index.vue
src/views/production/craftsmanship/index.vue
+5
-5
index copy.vue
src/views/production/gfual/index copy.vue
+414
-0
index.vue
src/views/production/gfual/index.vue
+23
-5
No files found.
src/views/production/craftsmanship/index.vue
View file @
ede52623
...
@@ -80,6 +80,11 @@
...
@@ -80,6 +80,11 @@
{{
scope
.
row
.
jxpn
||
'-'
}}
{{
scope
.
row
.
jxpn
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"gx"
prop=
"gx"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
replace
(
scope
.
row
.
gx
)
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
<el-table-column
label=
"jbcode"
label=
"jbcode"
prop=
"jbcode"
prop=
"jbcode"
...
@@ -108,11 +113,6 @@
...
@@ -108,11 +113,6 @@
{{
scope
.
row
.
jl
||
'-'
}}
{{
scope
.
row
.
jl
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"gx"
prop=
"gx"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
replace
(
scope
.
row
.
gx
)
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
<el-table-column
label=
"操作人"
label=
"操作人"
prop=
"createName"
prop=
"createName"
...
...
src/views/production/gfual/index copy.vue
0 → 100644
View file @
ede52623
This diff is collapsed.
Click to expand it.
src/views/production/gfual/index.vue
View file @
ede52623
...
@@ -5,14 +5,14 @@
...
@@ -5,14 +5,14 @@
<el-row
:gutter=
"40"
>
<el-row
:gutter=
"40"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"pn:"
style=
"flex-basis: 50%;"
prop=
"pn"
>
<el-form-item
label=
"pn:"
style=
"flex-basis: 50%;"
prop=
"pn"
>
<el-input
ref=
"input1"
v-model=
"form.pn"
placeholder=
"请输入pn"
:minlength=
"3"
style=
"width: 400px"
:maxlength=
"100"
@
keyup
.
enter
.
native=
"hand
elTab(1,$event)
"
/>
<el-input
ref=
"input1"
v-model=
"form.pn"
placeholder=
"请输入pn"
:minlength=
"3"
style=
"width: 400px"
:maxlength=
"100"
@
keyup
.
enter
.
native=
"hand
leQuery
"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"40"
>
<el-row
:gutter=
"40"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"lot:"
style=
"flex-basis: 50%;"
prop=
"lot"
>
<el-form-item
label=
"lot:"
style=
"flex-basis: 50%;"
prop=
"lot"
>
<el-input
ref=
"input2"
v-model=
"form.lot"
placeholder=
"请输入lot"
style=
"width: 400px"
:maxlength=
"100"
@
keyup
.
enter
.
native=
"hand
elTab(2,$event)
"
/>
<el-input
ref=
"input2"
v-model=
"form.lot"
placeholder=
"请输入lot"
style=
"width: 400px"
:maxlength=
"100"
@
keyup
.
enter
.
native=
"hand
leQuery
"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"machine:"
prop=
"machine"
>
<el-form-item
label=
"machine:"
prop=
"machine"
>
<el-input
ref=
"input4"
v-model=
"form.machine"
placeholder=
"请输入machine"
style=
"width: 100%; max-width: 400px;"
:maxlength=
"10"
@
keyup
.
enter
.
native=
"hand
elTab(3,$event)
"
/>
<el-input
ref=
"input4"
v-model=
"form.machine"
placeholder=
"请输入machine"
style=
"width: 100%; max-width: 400px;"
:maxlength=
"10"
@
keyup
.
enter
.
native=
"hand
leQuery
"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -166,6 +166,12 @@ export default {
...
@@ -166,6 +166,12 @@ export default {
name
:
'Role'
,
name
:
'Role'
,
data
()
{
data
()
{
return
{
return
{
form
:
{
jbcode
:
''
,
// 输入的jbcode
jbtype
:
''
,
// 从jbcode中提取的jbtype
jbrank
:
''
,
// 从jbcode中提取的jbrank
jbLot
:
''
,
// 从jbcode中提取的jbLot
},
isRequired
:
false
,
isRequired
:
false
,
// 对应后端配置文件cy.init.pgxList的的内容
// 对应后端配置文件cy.init.pgxList的的内容
phdList
:
[
'003'
],
phdList
:
[
'003'
],
...
@@ -330,8 +336,20 @@ export default {
...
@@ -330,8 +336,20 @@ export default {
}
}
})
})
}
}
}
},
}
watch
:
{
'form.jbcode'
:
{
handler
(
newJbcode
)
{
// 当 jbcode 字段发生变化时,解析它并更新相关字段的值
const
parts
=
newJbcode
.
split
(
','
);
this
.
form
.
jbtype
=
parts
[
0
]
||
''
;
this
.
form
.
jbrank
=
parts
[
1
]
||
''
;
this
.
form
.
jbLot
=
parts
[
2
]
||
''
;
},
immediate
:
true
,
// 立即执行一次以处理初始值
},
},
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
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