Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 d8e5fa34
authored
Apr 20, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
商品编辑,bug修复
1 parent
d5635299
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
6 deletions
src/assets/css/public.scss
src/views/newCarManage/index.vue
src/views/productGroup/editProduct.vue
src/views/takeGood/index.vue
src/assets/css/public.scss
View file @
d8e5fa3
...
@@ -168,6 +168,15 @@ html {
...
@@ -168,6 +168,15 @@ html {
border
:
0
;
border
:
0
;
}
}
.marketing
.table-show-img
{
width
:
160px
;
height
:
160px
;
}
.marketing
.img-w-100
{
width
:
100%
;
}
.marketing
.img-60
{
.marketing
.img-60
{
width
:
60px
;
width
:
60px
;
height
:
60px
;
height
:
60px
;
...
...
src/views/newCarManage/index.vue
View file @
d8e5fa3
...
@@ -17,10 +17,10 @@
...
@@ -17,10 +17,10 @@
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"zoneRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"zoneRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
slot=
"logoUrl"
class=
"table-image"
slot-scope=
"scope"
>
<div
slot=
"logoUrl"
class=
"table-image"
slot-scope=
"scope"
>
<img
class=
"img-60"
:src=
"scope.scope.
goodsImage
"
/>
<img
class=
"img-60"
:src=
"scope.scope.
logoUrl
"
/>
</div>
</div>
<div
slot=
"showImageUrl"
class=
"table-image"
slot-scope=
"scope"
>
<div
slot=
"showImageUrl"
class=
"table-image"
slot-scope=
"scope"
>
<img
class=
"img-60"
:src=
"scope.scope.
goodsImage
"
/>
<img
class=
"img-60"
:src=
"scope.scope.
showImageUrl
"
/>
</div>
</div>
<!--
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<!--
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<GLButton
type=
"text"
fn=
"编辑"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</GLButton>
<GLButton
type=
"text"
fn=
"编辑"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</GLButton>
...
...
src/views/productGroup/editProduct.vue
View file @
d8e5fa3
...
@@ -499,7 +499,7 @@ export default {
...
@@ -499,7 +499,7 @@ export default {
// specificationDetailList: [],
// specificationDetailList: [],
retailPrice
:
''
,
retailPrice
:
''
,
originalPrice
:
''
,
originalPrice
:
''
,
takeType
:
'
1
'
,
takeType
:
'
0
'
,
takeFee
:
''
,
takeFee
:
''
,
supplyPrice
:
''
,
supplyPrice
:
''
,
memberPrice
:
''
,
memberPrice
:
''
,
...
@@ -672,8 +672,8 @@ export default {
...
@@ -672,8 +672,8 @@ export default {
editRule
:
{
editRule
:
{
retailPrice
:
[{
required
:
true
,
message
:
'请输入零售价'
,
trigger
:
'change'
}],
retailPrice
:
[{
required
:
true
,
message
:
'请输入零售价'
,
trigger
:
'change'
}],
originalPrice
:
[{
required
:
true
,
message
:
'请输入划线价'
,
trigger
:
'change'
}],
originalPrice
:
[{
required
:
true
,
message
:
'请输入划线价'
,
trigger
:
'change'
}],
takeFee
:
[{
required
:
fals
e
,
message
:
'请输入分润比例'
,
trigger
:
'change'
}],
takeFee
:
[{
required
:
tru
e
,
message
:
'请输入分润比例'
,
trigger
:
'change'
}],
supplyPrice
:
[{
required
:
tru
e
,
message
:
'请输入供货价'
,
trigger
:
'change'
}],
supplyPrice
:
[{
required
:
fals
e
,
message
:
'请输入供货价'
,
trigger
:
'change'
}],
goodsStock
:
[{
required
:
true
,
message
:
'请输入库存'
,
trigger
:
'change'
}]
goodsStock
:
[{
required
:
true
,
message
:
'请输入库存'
,
trigger
:
'change'
}]
},
},
editFormData
:
[
editFormData
:
[
...
@@ -1382,6 +1382,7 @@ export default {
...
@@ -1382,6 +1382,7 @@ export default {
this
.
editForm
.
goodsDescList
.
length
&&
this
.
recoveryDescribe
()
this
.
editForm
.
goodsDescList
.
length
&&
this
.
recoveryDescribe
()
this
.
editForm
.
supplyMerchantList
.
length
&&
this
.
recoveryMerchantList
()
this
.
editForm
.
supplyMerchantList
.
length
&&
this
.
recoveryMerchantList
()
this
.
handleTypeChange
(
this
.
editForm
.
deliveryType
)
this
.
handleTypeChange
(
this
.
editForm
.
deliveryType
)
this
.
handleTakeTypeChange
(
this
.
editForm
.
takeType
)
this
.
getWechatImgList
()
this
.
getWechatImgList
()
// console.log(this.editForm)
// console.log(this.editForm)
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
src/views/takeGood/index.vue
View file @
d8e5fa3
...
@@ -15,8 +15,13 @@
...
@@ -15,8 +15,13 @@
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"takeGoodRef"
class=
"table-img"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"takeGoodRef"
class=
"table-img"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
slot=
"goodsImage"
class=
"table-image"
slot-scope=
"scope"
>
<div
slot=
"goodsImage"
slot-scope=
"scope"
>
<el-tooltip
placement=
"top"
trigger=
"hover"
popper-class=
"table-show-img"
effect=
"light"
:visible-arrow=
"false"
>
<div
slot=
"content"
class=
"table-show-img"
>
<img
class=
"img-w-100"
:src=
"scope.scope.goods.goodsImage"
/>
</div>
<img
class=
"img-60"
:src=
"scope.scope.goods.goodsImage"
/>
<img
class=
"img-60"
:src=
"scope.scope.goods.goodsImage"
/>
</el-tooltip>
</div>
</div>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
v-if=
"!scope.scope.taked"
type=
"text"
@
click=
"handleSingleTakeGood(scope.scope)"
>
带货
</el-button>
<el-button
v-if=
"!scope.scope.taked"
type=
"text"
@
click=
"handleSingleTakeGood(scope.scope)"
>
带货
</el-button>
...
...
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