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
cf6168af
authored
May 12, 2021
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://119.23.72.7/xiaokang/cloudSystem
parents
4d64c8c5
4cf84174
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 @
cf6168af
...
...
@@ -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 @
cf6168af
This diff is collapsed.
Click to expand it.
src/views/List/inquire.vue
View file @
cf6168af
...
...
@@ -22,7 +22,7 @@
},
watch
:
{},
created
()
{
Message
(
'这是一条消息提示'
);
},
computed
:
{},
methods
:
{
...
...
src/views/Store/list.vue
View file @
cf6168af
...
...
@@ -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