Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 978dbc7d
authored
Mar 23, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 嘀加上架 - 运营确认 - 流量方模块 - 支持 新建 流量方
1 parent
6a81d875
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
24 deletions
src/views/goods/shelfManage/components/editCon/AddMerchant.vue
src/views/goods/shelfManage/components/trafficSource/components/modify/index.vue
src/views/goods/shelfManage/view/editMultilateralContract.vue
src/views/goods/shelfManage/components/editCon/AddMerchant.vue
View file @
978dbc7
<
template
>
<
template
>
<el-drawer
v-loading=
"loading"
<el-drawer
v-loading=
"loading"
:before-close=
"handleClose"
:before-close=
"handleClose"
class=
"drawer
C
ontainer"
class=
"drawer
-c
ontainer"
direction=
"rtl"
direction=
"rtl"
size=
"50%"
size=
"600px"
:append-to-body=
"true"
:visible
.
sync=
"addMerVisible"
:visible
.
sync=
"addMerVisible"
:wrapper-closable=
"
wrapperClosabl
e"
>
:wrapper-closable=
"
fals
e"
>
<template
#
title
>
<template
#
title
>
<div
class=
"title"
>
<div
class=
"title"
>
新增商户
新增商户
...
@@ -107,13 +108,15 @@ export default {
...
@@ -107,13 +108,15 @@ export default {
},
},
},
},
props
:
{
props
:
{
addMerVisible
:
false
,
addMerVisible
:
{
type
:
Boolean
,
default
:
false
,
},
},
},
data
()
{
data
()
{
// 这里存放数据
// 这里存放数据
return
{
return
{
loading
:
false
,
loading
:
false
,
wrapperClosable
:
false
,
storeCurrentPage
:
1
,
// 流量方 - 4s店数据分页
storeCurrentPage
:
1
,
// 流量方 - 4s店数据分页
pageSize
:
50
,
pageSize
:
50
,
merchantLoading
:
false
,
merchantLoading
:
false
,
...
@@ -460,6 +463,9 @@ export default {
...
@@ -460,6 +463,9 @@ export default {
// this.$refs.brandListTree.getCheckList(this.editData.merchantBrandMain)
// this.$refs.brandListTree.getCheckList(this.editData.merchantBrandMain)
},
},
brandList
()
{
brandList
()
{
if
(
!
this
.
$refs
.
brandListTree
)
{
return
;
}
this
.
$refs
.
brandListTree
.
loading
=
true
;
this
.
$refs
.
brandListTree
.
loading
=
true
;
// const brandListTree = await brandList({})
// const brandListTree = await brandList({})
brandList
({}).
then
((
res
)
=>
{
brandList
({}).
then
((
res
)
=>
{
...
@@ -560,18 +566,28 @@ export default {
...
@@ -560,18 +566,28 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
::v-deep
.drawer
C
ontainer
{
::v-deep
.drawer
-c
ontainer
{
.el-drawer__header
{
.el-drawer__header
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
height
:
60px
;
height
:
60px
;
line-height
:
60px
;
line-height
:
60px
;
border-bottom
:
1px
solid
#e5e5e5
;
border-bottom
:
1px
solid
#e5e5e5
;
padding
:
0
0
0
20px
;
padding
:
0
0
0
20px
;
margin-bottom
:
16px
;
}
}
.el-drawer__body
{
.el-drawer__body
{
overflow
:
scroll
;
overflow
:
scroll
;
}
}
.add-merchant-page
{
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
.edit-form-container
{
flex
:
1
;
flex-shrink
:
0
;
}
}
.title
{
.title
{
color
:
#333333
;
color
:
#333333
;
...
...
src/views/goods/shelfManage/components/trafficSource/components/modify/index.vue
View file @
978dbc7
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<el-input
v-model=
"form.merchantName"
disabled
></el-input>
<el-input
v-model=
"form.merchantName"
disabled
></el-input>
</div>
</div>
<div
v-if=
"shelfType === 1"
class=
"actions-wrapper"
>
<div
v-if=
"shelfType === 1"
class=
"actions-wrapper"
>
<el-button
type=
"text"
>
<el-button
type=
"text"
@
click=
"handleAppendTraffic"
>
新建
新建
</el-button>
</el-button>
</div>
</div>
...
@@ -28,12 +28,21 @@
...
@@ -28,12 +28,21 @@
</div>
</div>
</
template
>
</
template
>
</glsx-combi-form>
</glsx-combi-form>
<AddMerchant
:add-mer-visible=
"dialog.appendTraffic.show"
@
handleClose=
"handleAppendTraffic"
>
</AddMerchant>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
AddMerchant
from
"@/views/goods/shelfManage/components/editCon/AddMerchant.vue"
;
export
default
{
export
default
{
name
:
"ShopMerchantInfo"
,
name
:
"ModifyTrafficSource"
,
components
:
{
AddMerchant
,
},
props
:
{
props
:
{
schema
:
{
schema
:
{
type
:
Array
,
type
:
Array
,
...
@@ -57,6 +66,11 @@ export default {
...
@@ -57,6 +66,11 @@ export default {
data
()
{
data
()
{
return
{
return
{
form
:
{},
form
:
{},
dialog
:
{
appendTraffic
:
{
show
:
false
,
},
},
};
};
},
},
...
@@ -74,6 +88,9 @@ export default {
...
@@ -74,6 +88,9 @@ export default {
},
},
methods
:
{
methods
:
{
handleAppendTraffic
()
{
this
.
dialog
.
appendTraffic
.
show
=
!
this
.
dialog
.
appendTraffic
.
show
;
},
// TODO: 运营模式:直营,默认,且不可编辑
// TODO: 运营模式:直营,默认,且不可编辑
dealPartnerMer
()
{
dealPartnerMer
()
{
...
...
src/views/goods/shelfManage/view/editMultilateralContract.vue
View file @
978dbc7
...
@@ -11,14 +11,6 @@
...
@@ -11,14 +11,6 @@
</el-steps>
</el-steps>
</div>
</div>
<div
v-if=
"shelveId && shelvingData.shelfType && businessCode"
class=
"wrapper"
>
<div
v-if=
"shelveId && shelvingData.shelfType && businessCode"
class=
"wrapper"
>
<el-carousel
ref=
"carouselRef"
arrow=
"never"
:autoplay=
"false"
indicator-position=
"none"
:initial-index=
"steps.active"
:loop=
"false"
trigger=
"click"
>
<el-carousel-item>
<template
v-if=
"steps.active === 0"
>
<template
v-if=
"steps.active === 0"
>
<!-- 基础信息 -->
<!-- 基础信息 -->
<BaseInfo
:shelve-id=
"shelveId"
/>
<BaseInfo
:shelve-id=
"shelveId"
/>
...
@@ -27,8 +19,6 @@
...
@@ -27,8 +19,6 @@
:shelf-type=
"shelvingData.shelfType"
:shelf-type=
"shelvingData.shelfType"
:business-code=
"businessCode"
/>
:business-code=
"businessCode"
/>
</
template
>
</
template
>
</el-carousel-item>
<el-carousel-item>
<div
v-if=
"steps.active === 1"
>
<div
v-if=
"steps.active === 1"
>
<!-- 上架商品及测算 -->
<!-- 上架商品及测算 -->
<ProductShelving
ref=
"productShelvingRef"
<ProductShelving
ref=
"productShelvingRef"
...
@@ -36,8 +26,6 @@
...
@@ -36,8 +26,6 @@
:shelf-type=
"shelvingData.shelfType"
:shelf-type=
"shelvingData.shelfType"
:business-code=
"businessCode"
/>
:business-code=
"businessCode"
/>
</div>
</div>
</el-carousel-item>
<el-carousel-item>
<div
v-if=
"steps.active === 2"
>
<div
v-if=
"steps.active === 2"
>
<!-- 分账配置 -->
<!-- 分账配置 -->
<ProfitSharingConfig
ref=
"profitSharingConfigRef"
<ProfitSharingConfig
ref=
"profitSharingConfigRef"
...
@@ -45,9 +33,6 @@
...
@@ -45,9 +33,6 @@
:shelf-type=
"shelvingData.shelfType"
:shelf-type=
"shelvingData.shelfType"
:business-code=
"businessCode"
/>
:business-code=
"businessCode"
/>
</div>
</div>
</el-carousel-item>
<el-carousel-item>
<div
v-if=
"steps.active === 3"
>
<div
v-if=
"steps.active === 3"
>
<!-- 对账配置 -->
<!-- 对账配置 -->
<ReconciliationConfig
ref=
"reconciliationConfigRef"
<ReconciliationConfig
ref=
"reconciliationConfigRef"
...
@@ -55,8 +40,27 @@
...
@@ -55,8 +40,27 @@
:shelf-type=
"shelvingData.shelfType"
:shelf-type=
"shelvingData.shelfType"
:business-code=
"businessCode"
/>
:business-code=
"businessCode"
/>
</div>
</div>
<!-- <el-carousel ref="carouselRef"
arrow="never"
:autoplay="false"
indicator-position="none"
:initial-index="steps.active"
:loop="false"
trigger="click">
<el-carousel-item>
</el-carousel-item>
<el-carousel-item>
</el-carousel-item>
<el-carousel-item>
</el-carousel-item>
<el-carousel-item>
</el-carousel-item>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<!-- 流量方信息 - 新增 - 新增商户 -->
<!-- 流量方信息 - 新增 - 新增商户 -->
<!-- <AddMerchant v-if="addMerVisible"
<!-- <AddMerchant v-if="addMerVisible"
...
...
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