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 044552f3
authored
Feb 25, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
详情页面
1 parent
8eefbbf3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
513 additions
and
40 deletions
src/views/goods/shelfManage/components/detailCon/DivisionConfig.vue
src/views/goods/shelfManage/components/detailCon/FinanceConfig.vue
src/views/goods/shelfManage/components/editCon/DivisionConfig.vue
src/views/goods/shelfManage/contractDetail.vue
src/views/goods/shelfManage/components/detailCon/DivisionConfig.vue
View file @
044552f
<!-- 查看 - 分账配置 -->
<!-- 查看 - 分账配置 -->
<
template
>
<
template
>
<div
class=
"edit-page division-config"
>
<div
class=
"edit-page division-config"
>
<div
class=
"title"
>
<div
class=
"title"
>
<span>
分账配置
</span>
<span>
分账配置
</span>
</div>
</div>
<div
style=
"padding: 20px;"
>
<div
style=
"padding: 20px"
>
<div>
啦啦啦
</div>
<el-form
ref=
"divisionRuleRef"
:model=
"financialObj"
label-suffix=
":"
label-width=
"154px"
>
<el-form-item
label=
""
prop=
"autoFlag"
>
<span
class=
"tips-block"
slot=
"label"
>
<span
class=
"tips-label"
>
线上自动分账
</span>
<el-tooltip
popper-class=
"tooltip-class"
effect=
"dark"
content=
"产生交易后会自动打款给商户,开启及关闭操作第二天生效。"
placement=
"top"
>
<span
class=
"tips-icon"
/>
</el-tooltip
>
:
</span>
<el-switch
v-model=
"financialObj.autoFlag"
active-value=
"Y"
disabled
inactive-value=
"N"
/>
</el-form-item>
<el-form-item
label=
"结算时间方式"
>
<span
class=
"tips-block"
slot=
"label"
>
<span
class=
"tips-label"
>
分账周期
</span>
<el-tooltip
popper-class=
"tooltip-class"
effect=
"dark"
content=
"用户支付的款项可按T+1或指定日自动打款给商户。"
placement=
"top"
>
<span
class=
"tips-icon"
/>
</el-tooltip
>
:
</span>
<div
class=
"block_item"
style=
"margin-bottom: 20px"
>
<span>
分账周期 T+
{{
settleTimeObj
.
first
}}
日
<span
v-show=
"financialObj.settleTimeType == 1"
>
(分账后第2天到分账方对公账户)
</span
>
</span>
</div>
</el-form-item>
<el-form-item
label=
"流量方分账方"
>
<span>
{{
financialObj
.
realityShopMerchantName
}}
</span>
</el-form-item>
</el-form>
<el-tabs
v-model=
"editableTabsValue"
type=
"card"
class=
"my-tab-pane"
>
<!-- closable -->
<el-tab-pane
v-for=
"item in editableTabs"
:key=
"item.name"
:label=
"item.title"
:name=
"item.name"
>
<span
slot=
"label"
>
{{
item
.
title
}}
</span>
<div
class=
"classificationCptContainer"
>
<el-form
ref=
"divisionRuleRef"
:model=
"financialObj"
label-suffix=
":"
label-width=
"154px"
>
<el-form-item
label=
"分账品类"
>
{{
financialObj
.
goodsTypeGroupRules
[
editableTabsValue
]
.
categoryType
||
"--"
}}
</el-form-item
>
<el-form-item
label=
""
>
{{
financialObj
.
goodsTypeGroupRules
[
editableTabsValue
]
.
packageArrText
}}
</el-form-item
>
<template
v-for=
"(item, index) in financialObj.goodsTypeGroupRules[
editableTabsValue
].expenseCategoryRules"
>
<el-form-item
:key=
"index"
:label=
"item.expenseCategoryName"
>
<span>
{{
getExpenseCategoryCalculateType
(
item
.
expenseCategoryCalculateType
,
item
.
expenseCategoryValue
)
}}
</span>
</el-form-item>
</
template
>
<!-- <el-form-item
label="资源费"
prop="realityShopMerchantId"
required
>
<span>{{ financialObj.realityShopMerchantId }}</span>
</el-form-item>
<el-form-item
label="服务商分润"
prop="realityShopMerchantId"
required
>
<span>{{ financialObj.realityShopMerchantId }}</span>
</el-form-item> -->
</el-form>
</div>
</el-tab-pane>
</el-tabs>
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
deepClone
}
from
"@/common/util"
export
default
{
export
default
{
name
:
'DivisionConfig'
,
name
:
"DivisionConfig"
,
props
:
{},
props
:
{
divisiObj
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
data
()
{
//这里存放数据
//这里存放数据
return
{
return
{
settleTimeObj
:
{
first
:
"1"
,
second
:
"1"
},
financialObj
:
{},
editableTabs
:
[],
editableTabs
:
[],
editableTabsValue
:
"1"
}
},
watch
:
{
divisiObj
:
{
handler
(
val
,
oldVal
)
{
if
(
val
)
{
this
.
initData
(
val
)
}
},
immediate
:
true
,
deep
:
true
}
}
},
},
methods
:
{},
created
()
{},
};
methods
:
{
initData
(
data
)
{
let
result
=
data
result
.
autoFlag
=
result
.
autoFlag
?
result
.
autoFlag
:
"N"
result
.
settleTimeType
=
result
.
settleTimeType
?
result
.
settleTimeType
:
1
result
.
multiPlatformMerchantFlag
=
result
.
multiPlatformMerchantFlag
||
"N"
const
autoFlag
=
result
?.
autoFlag
==
"Y"
if
(
result
?.
settleTimeType
==
2
)
result
.
settleTimeType
=
1
result
&&
(
this
.
financialObj
=
result
)
result
.
goodsTypeGroupRules
&&
result
.
goodsTypeGroupRules
.
forEach
((
item
,
index
)
=>
{
const
upgradeArr
=
[]
const
packageArr
=
[]
const
textArr
=
[]
this
.
editableTabs
[
index
]
=
{
title
:
"特殊品类"
+
(
index
+
1
),
name
:
(
index
+
1
).
toString
(),
testFlag
:
item
.
testFlag
==
"Y"
&&
autoFlag
?
"Y"
:
"N"
,
groupDivisionRuleId
:
item
.
testFlag
==
"Y"
?
""
:
item
.
groupDivisionRuleId
||
""
}
// 按商品分类
if
(
item
.
goodsTypes
?.
length
&&
item
.
goodsTypes
[
0
]?.
categoryType
==
1
)
{
item
.
goodsTypes
=
deepClone
(
item
.
goodsTypes
)
item
.
categoryTypeText
=
"按商品分类"
item
.
categoryType
=
1
item
.
goodsTypes
?.
forEach
((
val
)
=>
{
textArr
.
push
(
val
.
upgradeGoodsName
)
})
item
.
packageArrText
=
textArr
.
join
(
","
)
item
.
upgradeGoods
=
[]
// 与具体商品互不干扰
item
.
packageGoods
=
[]
}
// 按具体商品
if
(
item
.
goodsTypes
?.
length
&&
item
.
goodsTypes
[
0
]?.
categoryType
==
2
)
{
item
.
upgradeGoods
=
deepClone
(
item
.
goodsTypes
)
item
.
categoryType
=
"按具体商品"
item
.
goodsTypes
?.
forEach
((
val
)
=>
{
upgradeArr
.
push
({
upgradeGoodsId
:
val
.
upgradeGoodsId
,
upgradeGoodsName
:
val
.
upgradeGoodsName
,
commodityCode
:
val
.
commodityCode
})
textArr
.
push
(
val
.
upgradeGoodsName
)
})
item
.
packageArrText
=
textArr
.
join
(
","
)
item
.
goodsTypes
=
[]
// 与分类互不干扰
item
.
packageGoods
=
[]
}
// 按套餐商品
if
(
item
.
goodsTypes
?.
length
&&
item
.
goodsTypes
[
0
]?.
categoryType
==
3
)
{
item
.
packageGoods
=
deepClone
(
item
.
goodsTypes
)
item
.
categoryType
=
3
item
.
categoryType
=
"按套餐商品"
item
.
goodsTypes
?.
forEach
((
val
)
=>
{
packageArr
.
push
({
packageCode
:
val
.
packageCode
,
packageName
:
val
.
packageName
// commodityCode: val.commodityCode
})
textArr
.
push
(
val
.
packageName
)
})
item
.
packageArrText
=
textArr
.
join
(
","
)
item
.
goodsTypes
=
[]
// 与分类互不干扰
item
.
upgradeGoods
=
[]
// 与具体商品互不干扰
}
})
this
.
financialObj
=
result
this
.
filterData
()
},
filterData
(
data
)
{
let
arrIdx
=
[
1
,
302
,
2
]
this
.
financialObj
.
forEach
((
item
)
=>
{
item
.
expenseCategoryTypeRules
=
[]
item
.
expenseCategoryRules
.
forEach
((
type
)
=>
{
if
(
arrIdx
.
includes
(
type
.
expenseCategoryId
))
{
if
(
type
.
expenseCategoryId
==
1100
)
type
.
expenseCategoryName
=
"一线阳光激励费"
if
(
type
.
expenseCategoryId
==
809
)
type
.
expenseCategoryName
=
"一线阳光2激励费"
item
.
expenseCategoryTypeRules
.
push
(
type
)
}
})
this
.
$set
(
item
,
"expenseCategoryTypeRules"
,
item
.
expenseCategoryTypeRules
)
})
this
.
financialObj
=
data
this
.
initSettleTimeObj
()
console
.
log
(
this
.
financialObj
,
76666
)
},
initSettleTimeObj
()
{
const
{
settleTimeType
,
settleTime
}
=
this
.
financialObj
this
.
settleTimeObj
[
settleTimeType
==
1
?
"first"
:
"second"
]
=
settleTime
},
getExpenseCategoryCalculateType
(
value
,
num
)
{
if
(
!
value
||
num
==
null
)
{
return
"-"
}
// console.log('num: ', num)
let
res
switch
(
value
)
{
case
1
:
res
=
"按毛利比例:"
break
case
2
:
res
=
"按收入比例:"
break
case
3
:
res
=
"按固定金额:"
break
case
4
:
res
=
"按(产值-流量成本):"
break
case
5
:
res
=
"按(产值-流量成本-其他费用不包含产品成本):"
break
case
6
:
res
=
"按(产值-流量成本-其他费用包含产品成本):"
break
case
8
:
res
=
"按(收入-自定义其他费用):"
break
case
9
:
res
=
"按(收入-其他费用):"
break
case
10
:
res
=
`按固定金额
${
num
}
元*购买数量`
break
}
res
=
value
==
10
?
res
:
res
+
num
+
(
value
==
3
?
"元"
:
"%"
)
return
res
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
@import
"../../style/editdetailCon.scss"
;
@import
"../../style/editdetailCon.scss"
;
...
...
src/views/goods/shelfManage/components/detailCon/FinanceConfig.vue
View file @
044552f
<!-- 查看 - 对账配置 -->
<!-- 查看 - 对账配置 -->
<
template
>
<
template
>
<div
class=
"edit-page finance-config"
>
<div
class=
"edit-page finance-config"
>
<div
class=
"title"
>
<div
class=
"title"
>
<span>
对账配置
</span>
<span>
对账配置
</span>
</div>
</div>
<div
style=
"padding: 20px;"
>
<div
style=
"padding: 20px"
>
<div>
啦啦啦
</div>
<el-tabs
v-model=
"editableTabsValue"
type=
"card"
class=
"my-tab-pane"
>
<el-tab-pane
v-for=
"(item, index) in editableTabs"
:key=
"index"
:label=
"item.title"
:name=
"item.name"
>
<div
class=
"classificationCptContainer"
>
<el-form
label-suffix=
":"
label-width=
"154px"
>
<el-form-item
label=
"分账品类"
>
{{
financialObj
[
editableTabsValue
].
categoryType
||
"--"
}}
</el-form-item
>
<el-form-item
label=
""
>
{{
financialObj
[
editableTabsValue
].
packageArrText
}}
</el-form-item
>
<template
v-for=
"(item, index) in financialObj[editableTabsValue]
.expenseCategoryTypeRules"
>
<el-form-item
:key=
"index"
:label=
"item.expenseCategoryName"
>
<span>
{{
getExpenseCategoryCalculateType
(
item
.
expenseCategoryCalculateType
,
item
.
expenseCategoryValue
)
}}
</span>
</el-form-item>
</
template
>
</el-form>
</div>
</el-tab-pane>
</el-tabs>
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
deepClone
}
from
"@/common/util"
export
default
{
export
default
{
name
:
'FinanceConfig'
,
name
:
"FinanceConfig"
,
props
:
{},
props
:
{
financeObj
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
watch
:
{
financeObj
:
{
handler
(
val
,
oldVal
)
{
if
(
val
)
{
this
.
initData
(
val
)
}
},
immediate
:
true
,
deep
:
true
}
},
data
()
{
data
()
{
//这里存放数据
//这里存放数据
return
{
return
{
editableTabsValue
:
"1"
,
editableTabs
:
[],
financialObj
:
[]
}
}
},
},
methods
:
{},
methods
:
{
};
getExpenseCategoryCalculateType
(
value
,
num
)
{
if
(
!
value
||
num
==
null
)
{
return
"-"
}
// console.log('num: ', num)
let
res
switch
(
value
)
{
case
1
:
res
=
"按毛利比例:"
break
case
2
:
res
=
"按收入比例:"
break
case
3
:
res
=
"按固定金额:"
break
case
4
:
res
=
"按(产值-流量成本):"
break
case
5
:
res
=
"按(产值-流量成本-其他费用不包含产品成本):"
break
case
6
:
res
=
"按(产值-流量成本-其他费用包含产品成本):"
break
case
8
:
res
=
"按(收入-自定义其他费用):"
break
case
9
:
res
=
"按(收入-其他费用):"
break
case
10
:
res
=
`按固定金额
${
num
}
元*购买数量`
break
}
res
=
value
==
10
?
res
:
res
+
num
+
(
value
==
3
?
"元"
:
"%"
)
return
res
},
initData
(
data
)
{
const
typeList
=
data
.
goodsTypeGroupReconciliationRules
this
.
editableTabs
=
[]
typeList
.
forEach
((
item
,
index
)
=>
{
const
upgradeArr
=
[]
const
packageArr
=
[]
const
textArr
=
[]
this
.
editableTabs
.
push
({
title
:
"特殊品类"
+
(
index
+
1
),
name
:
(
index
+
1
).
toString
()
})
// 按具体商品
if
(
item
.
goodsTypeGroupRelations
?.
length
&&
item
.
goodsTypeGroupRelations
[
0
]?.
categoryType
==
2
)
{
item
.
upgradeGoods
=
deepClone
(
item
.
goodsTypeGroupRelations
)
item
.
categoryType
=
"按具体商品"
item
.
goodsTypeGroupRelations
.
forEach
((
val
)
=>
{
upgradeArr
.
push
({
upgradeGoodsId
:
val
.
upgradeGoodsId
,
upgradeGoodsName
:
val
.
upgradeGoodsName
,
commodityCode
:
val
.
commodityCode
})
textArr
.
push
(
val
.
upgradeGoodsName
)
})
item
.
packageArrText
=
textArr
.
join
(
","
)
item
.
goodsTypeGroupRelations
=
[]
}
// 按套餐商品
if
(
item
.
goodsTypeGroupRelations
?.
length
&&
item
.
goodsTypeGroupRelations
[
0
]?.
categoryType
==
3
)
{
item
.
packageGoods
=
deepClone
(
item
.
goodsTypeGroupRelations
)
item
.
categoryType
=
3
item
.
categoryType
=
"按套餐商品"
item
.
goodsTypeGroupRelations
.
forEach
((
val
)
=>
{
packageArr
.
push
({
packageCode
:
val
.
packageCode
,
packageName
:
val
.
packageName
})
textArr
.
push
(
val
.
packageName
)
})
item
.
packageArrText
=
textArr
.
join
(
","
)
item
.
goodsTypeGroupRelations
=
[]
}
if
(
item
.
goodsTypeGroupRelations
?.
length
&&
item
.
goodsTypeGroupRelations
[
0
]?.
categoryType
==
1
)
{
item
.
goodsTypeGroupRelations
=
deepClone
(
item
.
goodsTypeGroupRelations
)
item
.
categoryType
=
1
item
.
categoryTypeText
=
"按商品分类"
item
.
goodsTypes
?.
forEach
((
val
)
=>
{
textArr
.
push
(
val
.
upgradeGoodsName
)
})
item
.
packageArrText
=
textArr
.
join
(
","
)
item
.
upgradeGoods
=
[]
}
})
this
.
financialObj
=
typeList
this
.
filterData
(
typeList
)
},
filterData
()
{
let
arrIdx
=
[
1100
,
810
,
809
,
807
,
811
]
this
.
financialObj
.
forEach
((
item
)
=>
{
item
.
expenseCategoryTypeRules
=
[]
item
.
expenseCategoryRules
.
forEach
((
type
)
=>
{
if
(
arrIdx
.
includes
(
type
.
expenseCategoryId
))
{
if
(
type
.
expenseCategoryId
==
1100
)
type
.
expenseCategoryName
=
"一线阳光激励费"
if
(
type
.
expenseCategoryId
==
809
)
type
.
expenseCategoryName
=
"一线阳光2激励费"
item
.
expenseCategoryTypeRules
.
push
(
type
)
}
})
this
.
$set
(
item
,
"expenseCategoryTypeRules"
,
item
.
expenseCategoryTypeRules
)
})
console
.
log
(
this
.
financialObj
,
76666
)
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
@import
"../../style/editdetailCon.scss"
;
@import
"../../style/editdetailCon.scss"
;
...
...
src/views/goods/shelfManage/components/editCon/DivisionConfig.vue
View file @
044552f
...
@@ -573,7 +573,11 @@ export default {
...
@@ -573,7 +573,11 @@ export default {
expenseType
:
""
expenseType
:
""
}
}
if
(
applicationObjectType
==
1
)
{
if
(
applicationObjectType
==
1
)
{
prev
.
trafficSide
.
push
(
obj
)
let
arrIdx
=
[
1
,
302
]
if
(
arrIdx
.
includes
(
obj
.
id
))
{
prev
.
trafficSide
.
push
(
obj
)
}
}
else
if
(
applicationObjectType
==
2
)
{
}
else
if
(
applicationObjectType
==
2
)
{
if
(
obj
.
id
==
2
)
{
if
(
obj
.
id
==
2
)
{
prev
.
trafficSide
.
push
(
obj
)
prev
.
trafficSide
.
push
(
obj
)
...
@@ -619,7 +623,6 @@ export default {
...
@@ -619,7 +623,6 @@ export default {
id
:
1
id
:
1
})
})
.
then
((
result
)
=>
{
.
then
((
result
)
=>
{
console
.
log
(
result
,
"88888888888888888"
)
// 判空处理
// 判空处理
// result.goodsTypeGroupRules = [...result?.goodsTypeGroupRules, ...result?.goodsTypeGroupRules, ...result?.goodsTypeGroupRules]
// result.goodsTypeGroupRules = [...result?.goodsTypeGroupRules, ...result?.goodsTypeGroupRules, ...result?.goodsTypeGroupRules]
...
@@ -646,10 +649,7 @@ export default {
...
@@ -646,10 +649,7 @@ export default {
const
upgradeArr
=
[]
const
upgradeArr
=
[]
const
packageArr
=
[]
const
packageArr
=
[]
console
.
log
(
goodsTypeGroupRules
,
"goodsTypeGroupRulesgoodsTypeGroupRules"
)
goodsTypeGroupRules
&&
goodsTypeGroupRules
&&
goodsTypeGroupRules
.
forEach
((
item
,
index
)
=>
{
goodsTypeGroupRules
.
forEach
((
item
,
index
)
=>
{
this
.
editableTabs
[
index
]
=
{
this
.
editableTabs
[
index
]
=
{
...
@@ -687,7 +687,6 @@ export default {
...
@@ -687,7 +687,6 @@ export default {
item
.
packageGoods
=
[]
item
.
packageGoods
=
[]
}
}
// 按套餐商品
// 按套餐商品
console
.
log
(
item
.
goodsTypes
,
"item.goodsTypes"
)
if
(
if
(
item
.
goodsTypes
?.
length
&&
item
.
goodsTypes
?.
length
&&
item
.
goodsTypes
[
0
]?.
categoryType
==
3
item
.
goodsTypes
[
0
]?.
categoryType
==
3
...
@@ -705,7 +704,6 @@ export default {
...
@@ -705,7 +704,6 @@ export default {
item
.
upgradeGoods
=
[]
// 与具体商品互不干扰
item
.
upgradeGoods
=
[]
// 与具体商品互不干扰
}
}
})
})
console
.
log
(
this
.
editableTabs
,
upgradeArr
,
"this.editableTabs"
)
// 获取商品
// 获取商品
this
.
getSelectingList
(
upgradeArr
)
this
.
getSelectingList
(
upgradeArr
)
this
.
getSelectingListPackage
(
packageArr
)
this
.
getSelectingListPackage
(
packageArr
)
...
...
src/views/goods/shelfManage/contractDetail.vue
View file @
044552f
...
@@ -8,31 +8,34 @@
...
@@ -8,31 +8,34 @@
<!-- 上架商品及测算 -->
<!-- 上架商品及测算 -->
<goods-info></goods-info>
<goods-info></goods-info>
<!-- 分账配置 -->
<!-- 分账配置 -->
<division-config></division-config>
<division-config
:divisiObj=
"divisiObj"
></division-config>
<!-- 对账配置 -->
<!-- 对账配置 -->
<finance-config></finance-config>
<finance-config
:financeObj=
"financialObj"
></finance-config>
<div
style=
"margin-top: 40px;text-align: center;"
>
<div
style=
"margin-top: 40px; text-align: center"
>
<el-button
type=
"primary"
@
click=
"handleBack()"
>
<el-button
type=
"primary"
@
click=
"handleBack()"
>
返回
</el-button>
返回
</el-button>
</div>
</div>
</d2-container>
</d2-container>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
mapActions
}
from
'vuex'
import
{
mapActions
}
from
"vuex"
import
BaseInfo
from
'./components/detailCon/BaseInfo.vue'
import
BaseInfo
from
"./components/detailCon/BaseInfo.vue"
import
ShopMerchantInfo
from
'./components/detailCon/ShopMerchantInfo'
import
ShopMerchantInfo
from
"./components/detailCon/ShopMerchantInfo"
import
GoodsInfo
from
'./components/detailCon/GoodsInfo.vue'
import
GoodsInfo
from
"./components/detailCon/GoodsInfo.vue"
import
DivisionConfig
from
'./components/detailCon/DivisionConfig.vue'
import
DivisionConfig
from
"./components/detailCon/DivisionConfig.vue"
import
FinanceConfig
from
'./components/detailCon/FinanceConfig.vue'
import
FinanceConfig
from
"./components/detailCon/FinanceConfig.vue"
import
{
merchantSettleDistributeRuleLastRule
}
from
"@api/shelfManage"
export
default
{
export
default
{
name
:
'contractDetail'
,
name
:
"contractDetail"
,
data
()
{
data
()
{
return
{
return
{
isLoad
:
true
,
isLoad
:
true
,
editData
:
{},
editData
:
{},
};
divisiObj
:
{},
financialObj
:
{}
}
},
},
components
:
{
components
:
{
...
@@ -42,24 +45,41 @@ export default {
...
@@ -42,24 +45,41 @@ export default {
DivisionConfig
,
DivisionConfig
,
FinanceConfig
FinanceConfig
},
},
computed
:
{
routerInfo
()
{
return
this
.
$route
.
query
.
params
?
JSON
.
parse
(
this
.
$route
.
query
.
params
)
:
""
}
},
mounted
()
{
mounted
()
{
this
.
getDetail
()
this
.
getDetail
()
this
.
getFinaceObj
()
},
},
//方法集合
//方法集合
methods
:
{
methods
:
{
...
mapActions
({
...
mapActions
({
close
:
'd2admin/page/close'
close
:
"d2admin/page/close"
}),
}),
getDetail
()
{
getDetail
()
{
this
.
isLoad
=
false
this
.
isLoad
=
false
},
},
getFinaceObj
()
{
// const { id } = this.routerInfo;
merchantSettleDistributeRuleLastRule
({
id
:
1
}).
then
((
result
)
=>
{
this
.
divisiObj
=
result
.
merchantSettleDistributeRule
this
.
financialObj
=
result
.
merchantReconciliationRule
})
},
handleBack
()
{
handleBack
()
{
this
.
close
({
tagName
:
'/shelfManage'
})
this
.
close
({
tagName
:
"/shelfManage"
})
this
.
$router
.
push
({
name
:
'shelfManage'
})
this
.
$router
.
push
({
name
:
"shelfManage"
})
this
.
close
({
tagName
:
'/contractDetail'
})
this
.
close
({
tagName
:
"/contractDetail"
})
}
}
}
,
}
}
;
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.cancel-btn
{
.cancel-btn
{
...
...
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