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
256f8c7b
Commit
256f8c7b
authored
Aug 02, 2023
by
wdy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/project1' into project1
parents
228f6dbf
48c87024
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
14 deletions
+32
-14
basicInfo.vue
src/views/equipment/basicInfo.vue
+5
-1
income.vue
src/views/equipment/income.vue
+24
-10
management.vue
src/views/equipment/management.vue
+2
-2
index.vue
src/views/processManagement/inventoryRecord/index.vue
+1
-1
No files found.
src/views/equipment/basicInfo.vue
View file @
256f8c7b
...
...
@@ -403,7 +403,11 @@ export default {
},
/** 重置按钮操作 */
resetQuery
()
{
// this.dateRange = []
this
.
queryParams
=
{
page
:
1
,
rows
:
10
,
ptype
:
''
}
this
.
resetForm
(
'queryForm'
)
this
.
handleQuery
()
},
...
...
src/views/equipment/income.vue
View file @
256f8c7b
...
...
@@ -27,7 +27,7 @@
</el-col>
</el-row>
</el-form>
<el-table
border
:data=
"tableData"
style=
"width: 86.4%; padding-left: 13
.6%;"
>
<el-table
border
:data=
"tableData"
:gutter=
"40"
style=
"width: 85%; margin-left: 80px; padding-left: 8
.6%;"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"50px"
/>
<el-table-column
label=
"pn"
prop=
"businessId"
>
<template
slot-scope=
"scope"
>
...
...
@@ -269,9 +269,9 @@ export default {
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
const
newRow
=
{
plocation
}
//
const newRow = {
//
plocation
//
}
this
.
$refs
.
form
.
validate
((
valid
)
=>
{
if
(
valid
)
{
console
.
log
(
'form'
,
this
.
form
)
...
...
@@ -286,15 +286,11 @@ export default {
this
.
form
.
plocation
=
''
}
else
if
(
res
.
code
===
null
)
{
this
.
$message
.
error
(
res
.
message
)
this
.
tableData
=
[]
this
.
form
.
plocation
=
''
//
this.tableData = []
//
this.form.plocation = ''
}
})
}
else
{
this
.
tableData
=
[]
this
.
tableData
.
push
(
newRow
)
// 清空输入框
this
.
from
.
plocation
=
''
// 校验失败,显示错误信息或进行其他操作
}
})
...
...
@@ -330,5 +326,23 @@ export default {
}
.form-table-container
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.form-table-container
>
.el-row
{
flex
:
1
1
100%
;
}
.form-table-container
>
.el-form-item
{
width
:
50%
;
}
.form-table-container
>
.el-table
{
width
:
100%
;
padding-left
:
8
.6%
;
}
</
style
>
src/views/equipment/management.vue
View file @
256f8c7b
...
...
@@ -127,7 +127,7 @@
<el-input
ref=
"input3"
v-model
.
trim=
"form.plocation"
:maxlength=
"30"
placeholder=
"请输入plocation"
@
keyup
.
enter
.
native=
"handelTab(3,$event)"
/>
</el-form-item>
<el-form-item
label=
"厚度"
prop=
"phd"
>
<el-input
ref=
"input4"
v-model
.
trim=
"form.phd"
:maxlength=
"
30
"
placeholder=
"请输入厚度"
@
keyup
.
enter
.
native=
"handelTab(4,$event)"
/>
<el-input
ref=
"input4"
v-model
.
trim=
"form.phd"
:maxlength=
"
9
"
placeholder=
"请输入厚度"
@
keyup
.
enter
.
native=
"handelTab(4,$event)"
/>
</el-form-item>
<el-form-item
label=
"psm"
prop=
"psm"
>
<el-input
ref=
"input5"
v-model
.
trim=
"form.psm"
:maxlength=
"30"
placeholder=
"请输入psm"
@
keyup
.
enter
.
native=
"handelTab(5,$event)"
/>
...
...
@@ -136,7 +136,7 @@
<el-input
ref=
"input6"
v-model
.
trim=
"form.pzl"
:maxlength=
"30"
placeholder=
"请输入pzl"
@
keyup
.
enter
.
native=
"handelTab(6,$event)"
/>
</el-form-item>
<el-form-item
label=
"parnk"
prop=
"prank"
>
<el-input
ref=
"input7"
v-model
.
trim=
"form.prank"
:maxlength=
"
30
"
placeholder=
"请输入prank"
@
keyup
.
enter
.
native=
"handelTab(7,$event)"
/>
<el-input
ref=
"input7"
v-model
.
trim=
"form.prank"
:maxlength=
"
9
"
placeholder=
"请输入prank"
@
keyup
.
enter
.
native=
"handelTab(7,$event)"
/>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
...
src/views/processManagement/inventoryRecord/index.vue
View file @
256f8c7b
...
...
@@ -4,6 +4,7 @@
<el-form
v-show=
"showSearch"
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
:model=
"queryEntity"
:inline=
"true"
>
<el-form-item
label=
"pn"
prop=
"pn"
>
<el-input
ref=
"autoGetFocusInput"
v-model=
"queryEntity.entity.pn"
...
...
@@ -474,7 +475,6 @@ export default {
return
''
}
},
/** TODO: 查询按钮操作 */
handleQuery
()
{
this
.
queryParams
.
page
=
1
...
...
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