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 f3c878ec
authored
Feb 13, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
嘀加上架-表格,确认
1 parent
3f3d80c9
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
297 additions
and
8 deletions
src/router/modules/903_productManagement.js
src/views/goods/shelfManage/components/editCon/BaseInfo.vue
src/views/goods/shelfManage/components/editCon/DivisionConfig.vue
src/views/goods/shelfManage/components/editCon/FinanceConfig.vue
src/views/goods/shelfManage/components/editCon/GoodsInfo.vue
src/views/goods/shelfManage/components/editCon/ShopMerchantInfo.vue
src/views/goods/shelfManage/editContract.vue
src/views/goods/shelfManage/index.vue
src/router/modules/903_productManagement.js
View file @
f3c878e
...
@@ -645,11 +645,11 @@ export const routerName = {
...
@@ -645,11 +645,11 @@ export const routerName = {
authId
:
"9031304"
,
authId
:
"9031304"
,
parentId
:
"90313"
,
parentId
:
"90313"
,
label
:
"查看"
,
label
:
"查看"
,
handle
:
"handleContract
View
"
,
handle
:
"handleContract
Detail
"
,
addRoutePath
:
[
addRoutePath
:
[
{
{
authId
:
"9031305"
,
authId
:
"9031305"
,
name
:
"
查看合同
"
,
name
:
"
运营确认
"
,
parentId
:
"90313"
parentId
:
"90313"
}
}
]
]
...
@@ -658,11 +658,11 @@ export const routerName = {
...
@@ -658,11 +658,11 @@ export const routerName = {
authId
:
"9031306"
,
authId
:
"9031306"
,
parentId
:
"90313"
,
parentId
:
"90313"
,
label
:
"确认"
,
label
:
"确认"
,
handle
:
"handle
ContractView
"
,
handle
:
"handle
EditContract
"
,
addRoutePath
:
[
addRoutePath
:
[
{
{
authId
:
"9031307"
,
authId
:
"9031307"
,
name
:
"
编辑合同
"
,
name
:
"
运营确认
"
,
parentId
:
"90313"
parentId
:
"90313"
}
}
]
]
...
@@ -705,8 +705,8 @@ export const routerName = {
...
@@ -705,8 +705,8 @@ export const routerName = {
path
:
"/contractDetail"
,
path
:
"/contractDetail"
,
name
:
"contractDetail"
,
name
:
"contractDetail"
,
meta
:
{
meta
:
{
title
:
"
查看合同
"
,
title
:
"
运营确认
"
,
authId
:
"903130
2
"
,
authId
:
"903130
5
"
,
parentId
:
"90313"
,
parentId
:
"90313"
,
sideHidden
:
true
,
sideHidden
:
true
,
activePath
:
"/shelfManage"
activePath
:
"/shelfManage"
...
@@ -717,8 +717,8 @@ export const routerName = {
...
@@ -717,8 +717,8 @@ export const routerName = {
path
:
"/editContract"
,
path
:
"/editContract"
,
name
:
"editContract"
,
name
:
"editContract"
,
meta
:
{
meta
:
{
title
:
"
编辑合同
"
,
title
:
"
运营确认
"
,
authId
:
"903130
2
"
,
authId
:
"903130
7
"
,
parentId
:
"90313"
,
parentId
:
"90313"
,
sideHidden
:
true
,
sideHidden
:
true
,
activePath
:
"/shelfManage"
activePath
:
"/shelfManage"
...
...
src/views/goods/shelfManage/components/editCon/BaseInfo.vue
0 → 100644
View file @
f3c878e
<
template
>
<div
class=
"base-info"
>
<div
class=
"title"
>
<span>
基础信息
</span>
</div>
<div
style=
"padding: 20px;"
>
<div>
啦啦啦
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'BaseInfo'
,
props
:
{},
data
()
{
//这里存放数据
return
{
}
},
methods
:
{},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.base-info
{
margin
:
0
0px
20px
;
background
:
#ffffff
;
.title
{
height
:
58px
;
line-height
:
58px
;
padding
:
0
20px
;
border-bottom
:
1px
solid
#e5e5e5
;
font-size
:
20px
;
font-weight
:
600
;
color
:
#333333
;
}
}
</
style
>
src/views/goods/shelfManage/components/editCon/DivisionConfig.vue
0 → 100644
View file @
f3c878e
<
template
>
<div
class=
"division-config"
>
<div
class=
"title"
>
<span>
分账配置
</span>
</div>
<div
style=
"padding: 20px;"
>
<div>
啦啦啦
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'DivisionConfig'
,
props
:
{},
data
()
{
//这里存放数据
return
{
}
},
methods
:
{},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.division-config
{
margin
:
0
0px
20px
;
background
:
#ffffff
;
.title
{
height
:
58px
;
line-height
:
58px
;
padding
:
0
20px
;
border-bottom
:
1px
solid
#e5e5e5
;
font-size
:
20px
;
font-weight
:
600
;
color
:
#333333
;
}
}
</
style
>
src/views/goods/shelfManage/components/editCon/FinanceConfig.vue
0 → 100644
View file @
f3c878e
<
template
>
<div
class=
"finance-config"
>
<div
class=
"title"
>
<span>
对账配置
</span>
</div>
<div
style=
"padding: 20px;"
>
<div>
啦啦啦
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'FinanceConfig'
,
props
:
{},
data
()
{
//这里存放数据
return
{
}
},
methods
:
{},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.finance-config
{
margin
:
0
0px
20px
;
background
:
#ffffff
;
.title
{
height
:
58px
;
line-height
:
58px
;
padding
:
0
20px
;
border-bottom
:
1px
solid
#e5e5e5
;
font-size
:
20px
;
font-weight
:
600
;
color
:
#333333
;
}
}
</
style
>
src/views/goods/shelfManage/components/editCon/GoodsInfo.vue
0 → 100644
View file @
f3c878e
<
template
>
<div
class=
"goods-info"
>
<div
class=
"title"
>
<span>
上架商品及测算
</span>
</div>
<div
style=
"padding: 20px;"
>
<div>
啦啦啦
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'GoodsInfo'
,
props
:
{},
data
()
{
//这里存放数据
return
{
}
},
methods
:
{},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.goods-info
{
margin
:
0
0px
20px
;
background
:
#ffffff
;
.title
{
height
:
58px
;
line-height
:
58px
;
padding
:
0
20px
;
border-bottom
:
1px
solid
#e5e5e5
;
font-size
:
20px
;
font-weight
:
600
;
color
:
#333333
;
}
}
</
style
>
src/views/goods/shelfManage/components/editCon/ShopMerchantInfo.vue
0 → 100644
View file @
f3c878e
<
template
>
<div
class=
"shop-merchant-info"
>
<div
class=
"title"
>
<span>
流量方信息
</span>
</div>
<div
style=
"padding: 20px;"
>
<div>
啦啦啦
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'ShopMerchantInfo'
,
props
:
{},
data
()
{
//这里存放数据
return
{
}
},
methods
:
{},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.shop-merchant-info
{
margin
:
0
0px
20px
;
background
:
#ffffff
;
.title
{
height
:
58px
;
line-height
:
58px
;
padding
:
0
20px
;
border-bottom
:
1px
solid
#e5e5e5
;
font-size
:
20px
;
font-weight
:
600
;
color
:
#333333
;
}
}
</
style
>
src/views/goods/shelfManage/editContract.vue
View file @
f3c878e
<!-- 编辑 - 运营确认 -->
<
template
>
<d2-container
class=
"edit-contract"
v-loading=
"isLoad"
>
<!-- 基础信息 -->
<base-info></base-info>
<!-- 流量方信息 -->
<shop-merchant-info></shop-merchant-info>
<!-- 上架商品及测算 -->
<goods-info></goods-info>
<!-- 分账配置 -->
<division-config></division-config>
<!-- 对账配置 -->
<finance-config></finance-config>
<div
style=
"margin-top: 40px;text-align: center;"
>
<el-button
type=
"primary"
@
click=
"handleConfirm(1)"
>
提交
</el-button>
<!-- 草稿状态/已下架/新增显示 -->
<el-button
type=
"primary"
plain
@
click=
"handleConfirm(2)"
>
暂存
</el-button>
<el-button
class=
"cancel-btn"
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</d2-container>
</
template
>
<
script
>
import
{
mapActions
}
from
'vuex'
import
BaseInfo
from
'./components/editCon/BaseInfo.vue'
import
ShopMerchantInfo
from
'./components/editCon/ShopMerchantInfo'
import
GoodsInfo
from
'./components/editCon/GoodsInfo.vue'
import
DivisionConfig
from
'./components/editCon/DivisionConfig.vue'
import
FinanceConfig
from
'./components/editCon/FinanceConfig.vue'
export
default
{
name
:
'EditContract'
,
data
()
{
return
{
isLoad
:
true
,
editData
:
{},
};
},
components
:
{
BaseInfo
,
ShopMerchantInfo
,
GoodsInfo
,
DivisionConfig
,
FinanceConfig
},
mounted
()
{
this
.
getDetail
()
},
//方法集合
methods
:
{
...
mapActions
({
close
:
'd2admin/page/close'
}),
getDetail
()
{
this
.
isLoad
=
false
},
handleConfirm
()
{},
handleCancel
()
{
this
.
close
({
tagName
:
'/shelfManage'
})
this
.
$router
.
push
({
name
:
'shelfManage'
})
this
.
close
({
tagName
:
'/editContract'
})
}
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.cancel-btn
{
width
:
70px
;
}
</
style
>
src/views/goods/shelfManage/index.vue
View file @
f3c878e
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
</d2-container>
</d2-container>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
mapActions
}
from
'vuex'
export
default
{
export
default
{
name
:
'ShelfManage'
,
name
:
'ShelfManage'
,
data
()
{
data
()
{
...
@@ -68,6 +69,7 @@ export default {
...
@@ -68,6 +69,7 @@ export default {
}]
}]
},
},
tableData
:
[{
tableData
:
[{
id
:
'1'
,
orderNum
:
'11'
orderNum
:
'11'
}],
}],
// 基本数据
// 基本数据
...
@@ -79,9 +81,25 @@ export default {
...
@@ -79,9 +81,25 @@ export default {
console
.
log
(
this
.
tableParams
,
'tableParams---'
)
console
.
log
(
this
.
tableParams
,
'tableParams---'
)
},
},
methods
:
{
methods
:
{
...
mapActions
({
close
:
'd2admin/page/close'
}),
getShelfManageList
()
{
},
getShelfManageList
()
{
},
beforeSearchFn
()
{
},
beforeSearchFn
()
{
},
handleReset
()
{
},
handleReset
()
{
},
// 编辑合同
handleEditContract
(
row
)
{
this
.
close
({
tagName
:
'/editContract'
})
this
.
$router
.
push
({
name
:
'editContract'
,
params
:
{
id
:
row
.
id
}
})
},
// 查看合同
handleContractDetail
()
{}
}
}
}
}
</
script
>
</
script
>
...
...
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