Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
陈婉清
/
scrm-micro-mall
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7321f4ca
authored
Apr 21, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
商品详情补充
1 parent
119f57fc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
13 deletions
src/views/goodsOrder/index.vue
src/views/goodsWarehouse/detail.vue
src/views/goodsWarehouse/index.vue
src/views/goodsWarehouse/warehouse.vue
src/views/saleOrder/index.vue
src/views/goodsOrder/index.vue
View file @
7321f4c
...
...
@@ -11,8 +11,8 @@
<GLTable
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<img
:src=
"scope.scope.goodsImageUrl"
alt=
""
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"
scope.scope.goodsSkuName
"
placement=
"top"
>
<span
class=
"name"
>
{{
scope
.
scope
.
goodsSkuName
||
'--'
}}
</span>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"
(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')
"
placement=
"top"
>
<span
class=
"name"
>
{{
scope
.
scope
.
brandName
}}{{
scope
.
scope
.
goodsSkuName
}}
</span>
</el-tooltip>
</div>
<div
slot=
"userInfoSlot"
class=
"userInfoSlot"
slot-scope=
"scope"
>
...
...
src/views/goodsWarehouse/detail.vue
View file @
7321f4c
...
...
@@ -13,7 +13,7 @@
</div>
</div>
<div
class=
"info-wrap"
>
<p
class=
"info-title"
>
{{
goodsInfo
.
brandName
}}
{{
goodsInfo
.
goodsSkuName
}}
{{
goodsInfo
.
goodsSkuTitle
}}
</p>
<p
class=
"info-title"
>
{{
goodsInfo
.
brandName
}}
{{
goodsInfo
.
goodsSkuName
}}
{{
goodsInfo
.
goodsSkuTitle
}}
</p>
<p
class=
"classify"
>
分类:
{{
goodsInfo
.
firstCategoryName
}}
/
{{
goodsInfo
.
secondCategoryName
}}
/
{{
goodsInfo
.
lastCategoryName
}}
</p>
<div
class=
"sale-price"
>
<div
class=
"set-price"
>
...
...
@@ -28,10 +28,10 @@
<span
class=
"attr-label"
>
{{
item
.
label
}}
</span>
<span
class=
"attr-key"
>
{{
goodsInfo
[
item
.
key
]
||
'--'
}}
</span>
</li>
<
!--
<li
>
<span
class=
"attr-label"
>
规格名称
</span>
<span
class=
"attr-key"
>
{{
goodsInfo
?.
specificationResponses
?.
specNam
e
||
'--'
}}
</span>
</li>
-->
<
li
v-if=
" goodsInfo.specificationResponses && goodsInfo.specificationResponses[0] && goodsInfo.specificationResponses[0].specName"
>
<span
class=
"attr-label"
>
{{
goodsInfo
.
specificationResponses
[
0
].
specName
}}
</span>
<span
class=
"attr-key"
>
{{
goodsInfo
.
specificationResponses
[
0
].
specValu
e
||
'--'
}}
</span>
</li>
</ul>
<div
class=
"operate-btn"
>
<el-button
type=
"primary"
v-if=
"goodsInfo.goodsPosition==1"
@
click=
"handleSale"
>
上架销售
</el-button>
...
...
@@ -62,6 +62,10 @@
<
script
>
const
attrList
=
[
{
label
:
'商品特点'
,
key
:
'goodsCharacteristic'
},
{
label
:
'供货价(元)'
,
key
:
'sellPrice'
},
...
...
src/views/goodsWarehouse/index.vue
View file @
7321f4c
...
...
@@ -22,8 +22,8 @@
<GLTable
ref=
"tableRef"
:pageConf=
"pageConf"
@
sortChange=
"sortChange"
:searchForm=
"goodsFormObj"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<img
:src=
"scope.scope.goodsImgUrl"
alt=
""
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"
scope.scope.goodsSkuName
"
placement=
"top"
>
<span
class=
"name"
>
{{
scope
.
scope
.
goodsSkuName
}}
</span>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"
(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')
"
placement=
"top"
>
<span
class=
"name"
>
{{
scope
.
scope
.
brandName
}}
{{
scope
.
scope
.
goodsSkuName
}}
</span>
</el-tooltip>
</div>
<div
class=
"setPriceSlot"
slot=
"setPriceSlot"
slot-scope=
"scope"
>
...
...
src/views/goodsWarehouse/warehouse.vue
View file @
7321f4c
...
...
@@ -23,8 +23,8 @@
<GLTable
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<img
:src=
"scope.scope.goodsImgUrl"
alt=
""
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"
scope.scope.goodsSkuName
"
placement=
"top"
>
<span
class=
"name"
>
{{
scope
.
scope
.
goodsSkuName
}}
</span>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"
(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')
"
placement=
"top"
>
<span
class=
"name"
>
{{
scope
.
scope
.
brandName
}}
{{
scope
.
scope
.
goodsSkuName
}}
</span>
</el-tooltip>
</div>
<div
slot=
"setPriceSlot"
slot-scope=
"scope"
>
...
...
src/views/saleOrder/index.vue
View file @
7321f4c
...
...
@@ -11,8 +11,8 @@
<GLTable
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"orderFormObj"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<img
:src=
"scope.scope.goodsImageUrl"
alt=
""
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"
scope.scope.goodsSkuName
"
placement=
"top"
>
<span
class=
"name"
>
{{
scope
.
scope
.
goodsSkuName
||
'--'
}}
</span>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"
(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')
"
placement=
"top"
>
<span
class=
"name"
>
{{
scope
.
scope
.
brandName
}}
{{
scope
.
scope
.
goodsSkuName
}}
</span>
</el-tooltip>
</div>
<div
slot=
"userInfoSlot"
class=
"userInfoSlot"
slot-scope=
"scope"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment