Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-discover
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 6dfbfaf2
authored
Jul 12, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
自测bug修复
1 parent
06a1f751
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
src/views/case/add.vue
src/views/goods/add.vue
src/views/goods/components/selectGoods.vue
src/views/goods/components/selectMerchantDialog.vue
src/views/store/edit.vue
src/views/case/add.vue
View file @
6dfbfaf
...
@@ -69,7 +69,7 @@ export default {
...
@@ -69,7 +69,7 @@ export default {
},
trigger
:
'change'
}],
},
trigger
:
'change'
}],
introduction
:
[{
required
:
true
,
message
:
'请输入宣传文案'
,
trigger
:
'change'
}],
introduction
:
[{
required
:
true
,
message
:
'请输入宣传文案'
,
trigger
:
'change'
}],
brand
:
[{
required
:
true
,
validator
:
(
rule
,
value
,
callback
)
=>
{
brand
:
[{
required
:
true
,
validator
:
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
brandType
!=
1
&&
!
this
.
brandList
?.
length
)
{
if
(
this
.
formObj
.
brandType
==
2
&&
!
this
.
brandList
?.
length
)
{
callback
(
new
Error
(
`请选择品牌`
))
callback
(
new
Error
(
`请选择品牌`
))
}
else
{
}
else
{
callback
()
callback
()
...
...
src/views/goods/add.vue
View file @
6dfbfaf
...
@@ -412,14 +412,14 @@ export default {
...
@@ -412,14 +412,14 @@ export default {
id
:
res
.
associationClassifySecondId
id
:
res
.
associationClassifySecondId
}
}
this
.
formObj
.
coverList
=
[
res
.
goodsImage
]
this
.
formObj
.
coverList
=
[
res
.
goodsImage
]
this
.
merchantRequestList
=
res
.
merchantList
.
map
(
item
=>
{
this
.
merchantRequestList
=
res
.
merchantList
?
.
map
(
item
=>
{
let
activityPrice
=
item
.
activityPrice
?
Number
(
Number
(
item
.
activityPrice
/
100
).
toFixed
(
2
))
:
0
let
activityPrice
=
item
.
activityPrice
?
Number
(
Number
(
item
.
activityPrice
/
100
).
toFixed
(
2
))
:
0
return
{...
item
,
activityPrice
}
return
{...
item
,
activityPrice
}
})
})
||
[]
this
.
vehicleSeriesRequestList
=
res
.
vehicleSeriesList
.
map
(
item
=>
{
this
.
vehicleSeriesRequestList
=
res
?.
vehicleSeriesList
?
.
map
(
item
=>
{
const
{
brandId
,
brandName
,
childBrandId
,
childBrandName
,
vehicleSeriesId
,
vehicleSeriesName
}
=
item
const
{
brandId
,
brandName
,
childBrandId
,
childBrandName
,
vehicleSeriesId
,
vehicleSeriesName
}
=
item
return
{
brandId
,
brandName
,
childBrandId
,
childBrandName
,
vehicleSeriesId
,
vehicleSeriesName
}
return
{
brandId
,
brandName
,
childBrandId
,
childBrandName
,
vehicleSeriesId
,
vehicleSeriesName
}
})
})
||
[]
}
}
})
})
}
}
...
...
src/views/goods/components/selectGoods.vue
View file @
6dfbfaf
<
template
>
<
template
>
<div
class=
"select-store"
>
<div
class=
"select-store"
>
<GLDialog
bigTitle=
"选择
门店
"
<GLDialog
bigTitle=
"选择
商品
"
mode=
"big"
mode=
"big"
:visible
.
sync=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
:before-close=
"handleClose"
:before-close=
"handleClose"
...
...
src/views/goods/components/selectMerchantDialog.vue
View file @
6dfbfaf
<
template
>
<
template
>
<GLDialog
bigTitle=
"选择
商品优惠券
"
mode=
"big"
:visible
.
sync=
"isVisible"
:show-close=
"true"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
@
onOk=
"onOk"
@
onCancel=
"handleClose"
>
<GLDialog
bigTitle=
"选择
门店
"
mode=
"big"
:visible
.
sync=
"isVisible"
:show-close=
"true"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
@
onOk=
"onOk"
@
onCancel=
"handleClose"
>
<div
class=
"dialog_body"
>
<div
class=
"dialog_body"
>
<!--
<GLCombiForm
:rowNumber=
"1"
class=
"dialog_search"
ref=
"searchRef"
:formObj=
"dialogSearchForm"
:formData=
"dialogFormData"
@
handleOk=
"handleOk"
@
handleRest=
"handleRest"
></GLCombiForm>
-->
<!--
<GLCombiForm
:rowNumber=
"1"
class=
"dialog_search"
ref=
"searchRef"
:formObj=
"dialogSearchForm"
:formData=
"dialogFormData"
@
handleOk=
"handleOk"
@
handleRest=
"handleRest"
></GLCombiForm>
-->
<div
class=
"dialog_table"
>
<div
class=
"dialog_table"
>
...
...
src/views/store/edit.vue
View file @
6dfbfaf
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<div>
<div>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleEdit"
>
频道设置
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleEdit"
>
频道设置
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleAdd"
>
编辑频道
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleAdd"
>
编辑频道
</el-button>
<el-button
type=
"primary"
plain
size=
"small"
@
click=
"handleAddContent()"
>
新增内容
</el-button>
<el-button
v-if=
"activeName!=5"
type=
"primary"
plain
size=
"small"
@
click=
"handleAddContent()"
>
新增内容
</el-button>
</div>
</div>
</div>
</div>
<GLTable
ref=
"editRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:beforeSearchFn=
"beforeSearchFn"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"editRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:beforeSearchFn=
"beforeSearchFn"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
@
setTableFinishFun=
"setTableFinishFun"
>
...
...
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