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