Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4cf84174
authored
May 11, 2021
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
x
parent
152e3620
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
91 additions
and
12 deletions
src/assets/css/public/common.less
src/assets/css/public/common.min.css
src/views/List/inquire.vue
src/views/Store/list.vue
src/assets/css/public/common.less
View file @
4cf84174
...
...
@@ -292,7 +292,10 @@ body {
.el-table {
color: #646B78;
}
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: #1969F9;
border-color: #1969F9;
}
.el-table__header {
th {
font-weight: normal;
...
...
@@ -352,7 +355,7 @@ body {
//弹窗公共样式
.el-dialog__body {
padding:
0
20px !important;
padding:20px !important;
}
.el-dialog__title {
...
...
src/assets/css/public/common.min.css
View file @
4cf84174
This diff is collapsed.
Click to expand it.
src/views/List/inquire.vue
View file @
4cf84174
...
...
@@ -22,7 +22,7 @@
},
watch
:
{},
created
()
{
Message
(
'这是一条消息提示'
);
},
computed
:
{},
methods
:
{
...
...
src/views/Store/list.vue
View file @
4cf84174
...
...
@@ -43,7 +43,9 @@
<div
class=
"fl dcg heti xjk"
@
click=
"handleClose"
>
下架
</div>
</div>
<div
class=
"data-box"
>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
fixed
type=
"selection"
width=
"37"
>
</el-table-column>
<el-table-column
fixed
prop=
"inquiry_sn"
label=
"供应商内部型号编码"
width=
"200"
>
</el-table-column>
<el-table-column
fixed
prop=
"goods_name"
label=
"型号"
width=
"200"
>
...
...
@@ -70,9 +72,26 @@
</el-table>
</div>
<!--修改库存弹窗-->
<el-dialog
title=
"修改库存"
:visible
.
sync=
"dialogVisible"
width=
"30%"
>
<el-dialog
title=
"修改库存"
:visible
.
sync=
"dialogVisible"
width=
"30%"
>
<div
class=
"kc-mask"
>
修改库存
<el-table
:data=
"kucundata"
border
style=
"width: 100%"
>
<el-table-column
prop=
"goods_name"
label=
"型号"
min-width=
"25%"
>
</el-table-column>
<el-table-column
prop=
"brand_name"
label=
"品牌"
min-width=
"25%"
>
</el-table-column>
<el-table-column
prop=
"inquiry_number"
label=
"库存数量"
min-width=
"25%"
>
</el-table-column>
<el-table-column
label=
"修改库存"
min-width=
"25%"
>
<template
slot-scope=
"scope"
>
<el-input
v-model=
"updateKc"
placeholder=
"点击修改"
onkeyup=
"if(event.keyCode !=37 && event.keyCode != 39)
{if (!/^[\d]+$/ig.test(this.value)){this.value='';}}">
</el-input>
</
template
>
</el-table-column>
</el-table>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
...
...
@@ -80,9 +99,25 @@
</span>
</el-dialog>
<!--修改库存弹窗-->
<el-dialog
title=
"修改交期"
:visible
.
sync=
"dialogVisible2"
width=
"30%"
>
<el-dialog
title=
"修改交期"
:visible
.
sync=
"dialogVisible2"
width=
"30%"
>
<div
class=
"kc-mask"
>
修改货期
<el-table
:data=
"huoqidata"
border
style=
"width: 100%"
>
<el-table-column
prop=
"goods_name"
label=
"型号"
min-width=
"25%"
>
</el-table-column>
<el-table-column
prop=
"brand_name"
label=
"品牌"
min-width=
"25%"
>
</el-table-column>
<el-table-column
prop=
"inquiry_number"
label=
"库存数量"
min-width=
"25%"
>
</el-table-column>
<el-table-column
label=
"修改库存"
min-width=
"25%"
>
<
template
slot-scope=
"scope"
>
<el-input
v-model=
"updateHq"
placeholder=
"点击修改"
onkeyup=
"if(event.keyCode !=37 && event.keyCode != 39)
{if (!/^[\d]+$/ig.test(this.value)){this.value='';}}">
</el-input>
</
template
>
</el-table-column>
</el-table>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible2 = false"
>
取 消
</el-button>
...
...
@@ -123,14 +158,50 @@
data
()
{
return
{
dialogVisible
:
false
,
dialogVisible2
:
false
,
dialogVisible
:
false
,
dialogVisible2
:
false
,
formInline
:
{
goods_name
:
''
,
status
:
''
,
brand
:
''
,
date
:
''
},
multipleSelection
:
[],
updateKc
:
""
,
updateHq
:
""
,
huoqidata
:
[{
"id"
:
318
,
"inquiry_sn"
:
"X2021050609556"
,
"goods_name"
:
"M4"
,
"brand_name"
:
"TR FASTENINGS"
,
"inquiry_number"
:
1
,
"batch"
:
"1"
,
"delivery_time"
:
"1天"
,
"status_val"
:
"已报价(1)"
,
"quote_count"
:
1
,
"currency"
:
1
,
"status_a"
:
1
,
"user_name"
:
"admin"
,
"create_name"
:
"admin@ichunt.com"
,
"create_time"
:
"2021-05-08 09:41:42"
},
],
kucundata
:
[{
"id"
:
318
,
"inquiry_sn"
:
"X2021050609556"
,
"goods_name"
:
"M4"
,
"brand_name"
:
"TR FASTENINGS"
,
"inquiry_number"
:
1
,
"batch"
:
"1"
,
"delivery_time"
:
"1天"
,
"status_val"
:
"已报价(1)"
,
"quote_count"
:
1
,
"currency"
:
1
,
"status_a"
:
1
,
"user_name"
:
"admin"
,
"create_name"
:
"admin@ichunt.com"
,
"create_time"
:
"2021-05-08 09:41:42"
},
],
tableData
:
[{
"id"
:
318
,
"inquiry_sn"
:
"X2021050609556"
,
...
...
@@ -188,14 +259,19 @@
})
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
console
.
log
(
this
.
multipleSelection
)
},
handleCommand
(
command
)
{
console
.
log
(
command
)
if
(
command
==
1
)
{
//修改库存弹窗
this
.
dialogVisible
=
true
this
.
dialogVisible
=
true
}
else
{
//修改货期弹窗
this
.
dialogVisible2
=
true
this
.
dialogVisible2
=
true
}
},
handleClose
(
done
)
{
...
...
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