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
6aa319a0
Commit
6aa319a0
authored
Mar 07, 2024
by
YuY
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/project2024-3-5' into project2024-3-5
parents
2b026133
9cdd2591
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
7 deletions
+17
-7
index.vue
src/views/equipment/inventoryManagement/index.vue
+17
-7
No files found.
src/views/equipment/inventoryManagement/index.vue
View file @
6aa319a0
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
查询
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
查询
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form-item>
<el-form-item
style=
"float: right"
>
<el-form-item>
<el-button
<el-button
type=
"warning"
type=
"warning"
icon=
"el-icon-upload"
icon=
"el-icon-upload"
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
{{
scope
.
row
.
plocation
||
'-'
}}
{{
scope
.
row
.
plocation
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"厚度"
prop=
"厚度"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"厚度"
prop=
"厚度"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
phd
||
'-'
}}
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</
template
>
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
<span>
{{
scope
.
row
.
updateDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
<span>
{{
scope
.
row
.
updateDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"150px"
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"handleDetail(scope.row)"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"handleDetail(scope.row)"
>
详情
详情
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-delete
"
class=
"del-button
"
@
click=
"handleDelete(scope.row)"
@
click=
"handleDelete(scope.row)"
>
删除
>
删除
</el-button>
</el-button>
...
@@ -233,9 +233,9 @@
...
@@ -233,9 +233,9 @@
</div>
</div>
<div
slot=
"tip"
class=
"el-upload__tip"
>
<div
slot=
"tip"
class=
"el-upload__tip"
>
<el-checkbox
v-model=
"upload.updateSupport"
/>
是否更新已经存在的用户数据
<el-checkbox
v-model=
"upload.updateSupport"
/>
是否更新已经存在的用户数据
<el-link
type=
"info"
class=
"download
-template"
@
click=
"importTemplate"
>
下载模板
</el-link>
<el-link
type=
"info"
class=
"download
Tem"
@
click=
"importTemplate"
>
下载模板
</el-link>
</div>
</div>
<div
slot=
"tip"
class=
"el-upload__tip
"
style=
"color:
red"
>
提示:仅允许导入“xls”或“xlsx”格式文件!
</div>
<div
slot=
"tip"
class=
"el-upload__tip
__
red"
>
提示:仅允许导入“xls”或“xlsx”格式文件!
</div>
</el-upload>
</el-upload>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"upload.open = false"
>
取 消
</el-button>
<el-button
@
click=
"upload.open = false"
>
取 消
</el-button>
...
@@ -458,7 +458,7 @@ export default {
...
@@ -458,7 +458,7 @@ export default {
submitForm
:
function
()
{
submitForm
:
function
()
{
this
.
$refs
.
form
.
validate
((
valid
)
=>
{
this
.
$refs
.
form
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
$confirm
(
'是否确认
导出所有库存
信息?'
,
'提示'
,
{
this
.
$confirm
(
'是否确认
修改
信息?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -677,6 +677,16 @@ el-form.el-form-item.el-input{
...
@@ -677,6 +677,16 @@ el-form.el-form-item.el-input{
.el-link--inner
{
.el-link--inner
{
font-size
:
12px
;
font-size
:
12px
;
}
}
.el-upload__tip__red
{
color
:
red
;
}
.downloadTem
{
font-size
:
11px
;
margin-top
:
-2px
;
}
.del-button
{
color
:
rgba
(
255
,
38
,
0
,
0
.99
);
}
</
style
>
</
style
>
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