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
6cce4175
Commit
6cce4175
authored
Aug 02, 2023
by
CenXinYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化重置
Signed-off-by:
CenXinYi
<
2810162984@qq.com
>
parent
7396c5eb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
checkProcess.vue
src/views/equipment/checkProcess.vue
+7
-7
index.vue
src/views/processManagement/inventoryRecord/index.vue
+6
-0
index.vue
src/views/sample/inventoryRecord/index.vue
+1
-0
No files found.
src/views/equipment/checkProcess.vue
View file @
6cce4175
...
@@ -37,12 +37,12 @@
...
@@ -37,12 +37,12 @@
<el-button
style=
"padding: 8px 7px;"
icon=
"el-icon-refresh"
size=
"small"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
style=
"padding: 8px 7px;"
icon=
"el-icon-refresh"
size=
"small"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form-item>
<div
style=
"float: right"
>
<div
style=
"float: right"
>
<el-form-item>
<el-form-item>
<el-button
style=
"padding: 8px 7px;"
:type=
"typePrimary"
:size=
"smallSize"
:icon=
"addIcon"
@
click=
"checkType"
>
开始盘点
</el-button>
<el-button
style=
"padding: 8px 7px;"
:type=
"typePrimary"
:size=
"smallSize"
:icon=
"addIcon"
@
click=
"checkType"
>
开始盘点
</el-button>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
style=
"padding: 8px 7px;"
type=
"danger"
:size=
"smallSize"
@
click=
"deleteByType"
icon=
"el-icon-minus"
>
结束盘点
</el-button>
<el-button
style=
"padding: 8px 7px;"
type=
"danger"
:size=
"smallSize"
@
click=
"deleteByType"
icon=
"el-icon-minus"
>
结束盘点
</el-button>
</el-form-item>
</el-form-item>
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
@@ -198,7 +198,7 @@
...
@@ -198,7 +198,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
...
@@ -213,7 +213,7 @@
...
@@ -213,7 +213,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
</el-dialog>
</el-dialog>
<el-dialog
<el-dialog
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
size=
"50%"
size=
"50%"
>
>
<el-table
v-loading=
"loading"
border
:data=
"tableList"
@
selection-change=
"handleSelectionChange"
style=
"padding: 0 10px;"
>
<el-table
v-loading=
"loading"
border
:data=
"tableList"
@
selection-change=
"handleSelectionChange"
style=
"padding: 0 10px;"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
label=
"pn"
prop=
"pn"
>
<el-table-column
label=
"pn"
prop=
"pn"
>
...
@@ -388,7 +388,7 @@ export default {
...
@@ -388,7 +388,7 @@ export default {
ptype
:
2
,
ptype
:
2
,
pstatus
:
0
,
pstatus
:
0
,
delFlag
:
0
delFlag
:
0
},
},
// 表单参数
// 表单参数
form
:
{
form
:
{
...
...
src/views/processManagement/inventoryRecord/index.vue
View file @
6cce4175
...
@@ -430,6 +430,11 @@ export default {
...
@@ -430,6 +430,11 @@ export default {
next
()
next
()
},
},
created
()
{
created
()
{
if
(
this
.
$store
.
getters
.
searchParams
[
this
.
$route
.
path
])
{
const
{
searchParams
}
=
this
.
$store
.
getters
;
const
{
path
}
=
this
.
$route
const
param
=
JSON
.
parse
(
searchParams
[
path
])
// 保留着的查询条件
this
.
queryParams
=
{
...
param
}
}
this
.
getList
()
this
.
getList
()
},
},
mounted
()
{
mounted
()
{
...
@@ -483,6 +488,7 @@ export default {
...
@@ -483,6 +488,7 @@ export default {
/** TODO: 重置按钮操作 */
/** TODO: 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
queryEntity
=
{
this
.
queryEntity
=
{
tableSortMark
:
0
,
entity
:
{
entity
:
{
pn
:
''
,
pn
:
''
,
lot
:
''
,
lot
:
''
,
...
...
src/views/sample/inventoryRecord/index.vue
View file @
6cce4175
...
@@ -389,6 +389,7 @@ export default {
...
@@ -389,6 +389,7 @@ export default {
/** TODO: 重置按钮操作 */
/** TODO: 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
queryEntity
=
{
this
.
queryEntity
=
{
tableSortMark
:
0
,
entity
:
{
entity
:
{
pn
:
''
,
pn
:
''
,
lot
:
''
,
lot
:
''
,
...
...
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