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
37ad9c3e
authored
Sep 28, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
66f40c86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
36 deletions
src/views/Store/list.vue
src/views/Store/list.vue
View file @
37ad9c3e
...
...
@@ -56,44 +56,34 @@
</el-table-column>
<el-table-column
prop=
"stock"
label=
"库存数量"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"cn_ladder_price"
label=
"国内含税价(¥)"
width=
"1
40
"
>
<template
slot-scope=
"scope"
v-if=
"scope.row.cn_ladder_price
&&
scope.row.cn_ladder_price.length>0"
>
<el-table-column
prop=
"cn_ladder_price"
label=
"国内含税价(¥)"
width=
"1
30"
align=
"center
"
>
<template
slot-scope=
"scope"
v-if=
"scope.row.cn_ladder_price
&&
scope.row.cn_ladder_price.length>0"
>
<div
class=
"price-more"
>
<el-tooltip
placement=
"bottom"
effect=
"light"
>
<div
slot=
"content"
>
<div
class=
"boxxrth2021"
>
<p
class=
"clr"
v-for=
"item in scope.row.cn_ladder_price"
>
<span
class=
"fl"
>
{{
item
.
purchases
}}
+
</span>
<span
class=
"fl"
>
¥
{{
item
.
price
}}
</span>
</p>
</div>
<el-popover
effect=
"light"
trigger=
"hover"
placement=
"bottom-start"
popper-class=
"popper-class-box"
>
<div
class=
"boxxrth2021"
>
<p
class=
"clr"
v-for=
"item in scope.row.cn_ladder_price"
>
<span
class=
"fl"
>
{{
item
.
purchases
}}
+
</span>
<span
class=
"fl"
>
¥
{{
item
.
price
}}
</span>
</p>
</div>
<div
class=
"more-search-btn
"
>
查看更多
</div>
</el-
tooltip
>
<div
slot=
"reference"
class=
"more-search-btn"
style=
"margin: 0 auto;
"
>
查看更多
</div>
</el-
popover
>
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"hk_ladder_price"
label=
"香港交货价($)"
width=
"1
50
"
>
<el-table-column
prop=
"hk_ladder_price"
label=
"香港交货价($)"
width=
"1
20"
align=
"center
"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.hk_ladder_price&&scope.row.hk_ladder_price.length>0"
>
<div
class=
"price-more"
>
<el-tooltip
placement=
"bottom"
effect=
"light"
>
<div
slot=
"content"
>
<div
class=
"boxxrth2021"
>
<p
class=
"clr"
v-for=
"item in scope.row.hk_ladder_price"
>
<span
class=
"fl"
>
{{
item
.
purchases
}}
+
</span>
<span
class=
"fl"
>
$
{{
item
.
price
}}
</span>
</p>
</div>
<el-popover
effect=
"light"
trigger=
"hover"
placement=
"bottom-start"
popper-class=
"popper-class-box"
>
<div
class=
"boxxrth2021"
>
<p
class=
"clr"
v-for=
"item in scope.row.hk_ladder_price"
>
<span
class=
"fl"
>
{{
item
.
purchases
}}
+
</span>
<span
class=
"fl"
>
$
{{
item
.
price
}}
</span>
</p>
</div>
<div
class=
"more-search-btn
"
>
查看更多
</div>
</el-
tooltip
>
<div
slot=
"reference"
class=
"more-search-btn"
style=
"margin: 0 auto;
"
>
查看更多
</div>
</el-
popover
>
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"cn_delivery_time"
label=
"大陆交期"
width=
"150"
>
...
...
@@ -114,7 +104,6 @@
<el-dialog
title=
"修改库存"
:visible
.
sync=
"dialogVisible"
width=
"900px"
>
<div
class=
"kc-mask"
>
<el-table
:data=
"kucundata"
border
max-height=
"600"
>
<el-table-column
prop=
"goods_name"
label=
"型号"
min-width=
"25%"
>
</el-table-column>
<el-table-column
prop=
"brand_name"
label=
"品牌"
min-width=
"25%"
>
...
...
@@ -123,9 +112,7 @@
</el-table-column>
<el-table-column
label=
"修改库存"
min-width=
"25%"
>
<
template
slot-scope=
"scope"
>
<el-input
v-model=
"scope.row.updateStock"
placeholder=
"点击修改"
onkeyup=
"if(event.keyCode !=37 && event.keyCode != 39)
{if (!/^[\d]+$/ig.test(this.value)){this.value='';}}">
<el-input
v-model=
"scope.row.updateStock"
placeholder=
"点击修改"
onkeyup=
"if(event.keyCode !=37 && event.keyCode != 39)
{if (!/^[\d]+$/ig.test(this.value)){this.value='';}}">
</el-input>
</
template
>
</el-table-column>
...
...
@@ -174,7 +161,6 @@
<el-button
type=
"primary"
@
click=
"submitHq"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
<Menu/>
</div>
...
...
@@ -183,11 +169,11 @@
<
script
>
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
{
Autocomplete
,
Button
,
DatePicker
,
Dialog
,
Dropdown
,
DropdownItem
,
DropdownMenu
,
Form
,
FormItem
,
Input
,
Message
,
Option
,
Pagination
,
Select
,
Table
,
TableColumn
,
Tooltip
}
from
'element-ui'
import
{
Autocomplete
,
Button
,
DatePicker
,
Dialog
,
Dropdown
,
DropdownItem
,
DropdownMenu
,
Form
,
FormItem
,
Input
,
Message
,
Option
,
Pagination
,
Popover
,
Select
,
Table
,
TableColumn
,
Tooltip
}
from
'element-ui'
Vue
.
prototype
.
$message
=
Message
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Tooltip
).
use
(
Autocomplete
)
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
)
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
)
.
use
(
Popover
)
export
default
{
name
:
"list"
,
...
...
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