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 24a82070
authored
Jun 03, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix 嘀加上架线上问题
1 parent
6022f252
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
27 deletions
src/views/goods/shelfManage/components/detailCon/DivisionConfig.vue
src/views/goods/shelfManage/components/editCon/components/classificationCpt.vue
src/views/goods/shelfManage/components/detailCon/DivisionConfig.vue
View file @
24a8207
...
@@ -5,26 +5,49 @@
...
@@ -5,26 +5,49 @@
<span>
分账配置
</span>
<span>
分账配置
</span>
</div>
</div>
<div
style=
"padding: 20px"
>
<div
style=
"padding: 20px"
>
<el-form
ref=
"divisionRuleRef"
:model=
"financialObj"
label-suffix=
":"
label-width=
"154px"
>
<el-form
ref=
"divisionRuleRef"
:model=
"financialObj"
label-suffix=
":"
label-width=
"154px"
>
<el-form-item
label=
""
prop=
"autoFlag"
>
<el-form-item
label=
""
prop=
"autoFlag"
>
<span
class=
"tips-block"
slot=
"label"
>
<span
class=
"tips-block"
slot=
"label"
>
<span
class=
"tips-label"
>
线上自动分账
</span>
<span
class=
"tips-label"
>
线上自动分账
</span>
<el-tooltip
popper-class=
"tooltip-class"
effect=
"dark"
content=
"产生交易后会自动打款给商户,开启及关闭操作第二天生效。"
<el-tooltip
placement=
"top"
>
popper-class=
"tooltip-class"
<span
class=
"tips-icon"
/>
</el-tooltip>
:
effect=
"dark"
content=
"产生交易后会自动打款给商户,开启及关闭操作第二天生效。"
placement=
"top"
>
<span
class=
"tips-icon"
/>
</el-tooltip
>
:
</span>
</span>
<el-switch
v-model=
"financialObj.autoFlag"
active-value=
"Y"
disabled
inactive-value=
"N"
/>
<el-switch
v-model=
"financialObj.autoFlag"
active-value=
"Y"
disabled
inactive-value=
"N"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"结算时间方式"
>
<el-form-item
label=
"结算时间方式"
>
<span
class=
"tips-block"
slot=
"label"
>
<span
class=
"tips-block"
slot=
"label"
>
<span
class=
"tips-label"
>
分账周期
</span>
<span
class=
"tips-label"
>
分账周期
</span>
<el-tooltip
popper-class=
"tooltip-class"
effect=
"dark"
content=
"用户支付的款项可按T+1或指定日自动打款给商户。"
placement=
"top"
>
<el-tooltip
<span
class=
"tips-icon"
/>
</el-tooltip>
:
popper-class=
"tooltip-class"
effect=
"dark"
content=
"用户支付的款项可按T+1或指定日自动打款给商户。"
placement=
"top"
>
<span
class=
"tips-icon"
/>
</el-tooltip
>
:
</span>
</span>
<div
class=
"block_item"
style=
"margin-bottom: 20px"
>
<div
class=
"block_item"
style=
"margin-bottom: 20px"
>
<span>
<span>
分账周期 T+
{{
settleTimeObj
.
first
}}
日
分账周期 T+
{{
settleTimeObj
.
first
}}
日
<span
v-show=
"financialObj.settleTimeType == 1"
>
(分账后第2天到分账方对公账户)
</span>
<span
v-show=
"financialObj.settleTimeType == 1"
>
(分账后第2天到分账方对公账户)
</span
>
</span>
</span>
</div>
</div>
</el-form-item>
</el-form-item>
...
@@ -34,14 +57,26 @@
...
@@ -34,14 +57,26 @@
</el-form>
</el-form>
<el-tabs
v-model=
"editableTabsValue"
type=
"card"
class=
"my-tab-pane"
>
<el-tabs
v-model=
"editableTabsValue"
type=
"card"
class=
"my-tab-pane"
>
<!-- closable -->
<!-- closable -->
<el-tab-pane
v-for=
"item in editableTabs"
:key=
"item.name"
:label=
"item.title"
:name=
"item.name"
>
<el-tab-pane
v-for=
"item in editableTabs"
:key=
"item.name"
:label=
"item.title"
:name=
"item.name"
>
<span
slot=
"label"
>
{{
item
.
title
}}
</span>
<span
slot=
"label"
>
{{
item
.
title
}}
</span>
<div
class=
"classificationCptContainer"
>
<div
class=
"classificationCptContainer"
>
<el-form
ref=
"divisionRuleRef"
:model=
"financialObj"
label-suffix=
":"
label-width=
"154px"
>
<el-form
<h3
v-if=
"
ref=
"divisionRuleRef"
:model=
"financialObj"
label-suffix=
":"
label-width=
"154px"
>
<h3
v-if=
"
financialObj.goodsTypeGroupRules[editableTabsValue - 1]
financialObj.goodsTypeGroupRules[editableTabsValue - 1]
.groupType == 1
.groupType == 1
"
>
"
>
全部品类
全部品类
</h3>
</h3>
...
@@ -50,17 +85,21 @@
...
@@ -50,17 +85,21 @@
{{
{{
financialObj
.
goodsTypeGroupRules
[
editableTabsValue
-
1
]
financialObj
.
goodsTypeGroupRules
[
editableTabsValue
-
1
]
.
categoryType
||
"--"
.
categoryType
||
"--"
}}
</el-form-item>
}}
</el-form-item
>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
{{
{{
financialObj
.
goodsTypeGroupRules
[
editableTabsValue
-
1
]
financialObj
.
goodsTypeGroupRules
[
editableTabsValue
-
1
]
.
packageArrText
.
packageArrText
}}
</el-form-item>
}}
</el-form-item
>
</div>
</div>
<template
v-for=
"(item, index) in financialObj.goodsTypeGroupRules[
<template
v-for=
"(item, index) in financialObj.goodsTypeGroupRules[
editableTabsValue - 1
editableTabsValue - 1
].expenseCategoryRules"
>
].expenseCategoryRules"
>
<el-form-item
:key=
"index"
:label=
"item.expenseCategoryName"
>
<el-form-item
:key=
"index"
:label=
"item.expenseCategoryName"
>
<span>
{{
<span>
{{
getExpenseCategoryCalculateType
(
getExpenseCategoryCalculateType
(
...
@@ -72,9 +111,15 @@
...
@@ -72,9 +111,15 @@
</
template
>
</
template
>
</el-form>
</el-form>
</div>
</div>
<tableAccount
ref=
"tableAccount"
:merchant-distribution-rules=
"financialObj.goodsTypeGroupRules[editableTabsValue - 1]
<tableAccount
ref=
"tableAccount"
:merchant-distribution-rules=
"
financialObj.goodsTypeGroupRules[editableTabsValue - 1]
.merchantDistributionRules
.merchantDistributionRules
"
:table-select-options=
"tableSelectOptions"
:classification-obj-select=
"tableClassificationObjSelect"
/>
"
:table-select-options=
"tableSelectOptions"
:classification-obj-select=
"tableClassificationObjSelect"
/>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
</div>
</div>
...
@@ -92,12 +137,12 @@ export default {
...
@@ -92,12 +137,12 @@ export default {
props
:
{
props
:
{
divisiObj
:
{
divisiObj
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
{
}
default
:
()
=>
{}
},
},
basicInfo
:
{
basicInfo
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
{
}
default
:
()
=>
{}
}
,
}
},
},
data
()
{
data
()
{
// 这里存放数据
// 这里存放数据
...
@@ -150,8 +195,8 @@ export default {
...
@@ -150,8 +195,8 @@ export default {
merchantSideobj
=
{
merchantSideobj
=
{
merchantId
:
info
.
realityShopMerchantId
,
// 实际分账商户方商户id(嘀加智慧云为-1)
merchantId
:
info
.
realityShopMerchantId
,
// 实际分账商户方商户id(嘀加智慧云为-1)
merchantName
:
info
.
realityShopMerchantName
,
merchantName
:
info
.
realityShopMerchantName
,
targetMerchantType
:
3
,
targetMerchantType
:
3
targetMerchantLevel
:
1
//
targetMerchantLevel: 1
}
}
platformSideobj
=
{
platformSideobj
=
{
merchantId
:
info
.
realityPlatformMerchantId
,
// 实际分账平台方商户id(嘀加智慧云为-1)
merchantId
:
info
.
realityPlatformMerchantId
,
// 实际分账平台方商户id(嘀加智慧云为-1)
...
@@ -169,20 +214,20 @@ export default {
...
@@ -169,20 +214,20 @@ export default {
}
else
{
}
else
{
merchantSideobj
=
{
merchantSideobj
=
{
merchantId
:
3
,
merchantId
:
3
,
merchantName
:
info
.
realityShopLevel
==
1
?
'流量方'
:
'上级流量方'
,
merchantName
:
info
.
realityShopLevel
==
1
?
"流量方"
:
"上级流量方"
,
targetMerchantType
:
3
,
targetMerchantType
:
3
,
targetMerchantLevel
:
info
.
realityShopLevel
targetMerchantLevel
:
info
.
realityShopLevel
}
}
platformSideobj
=
{
platformSideobj
=
{
merchantId
:
1
,
// 实际分账平台方商户id(嘀加智慧云为-1)
merchantId
:
1
,
// 实际分账平台方商户id(嘀加智慧云为-1)
merchantName
:
'平台方'
,
merchantName
:
"平台方"
,
targetMerchantType
:
1
,
targetMerchantType
:
1
,
targetMerchantLevel
:
1
targetMerchantLevel
:
1
}
}
// 服务商
// 服务商
serviceObj
=
{
serviceObj
=
{
merchantId
:
2
,
merchantId
:
2
,
merchantName
:
'服务商'
,
merchantName
:
"服务商"
,
targetMerchantType
:
2
,
targetMerchantType
:
2
,
targetMerchantLevel
:
1
targetMerchantLevel
:
1
}
}
...
@@ -203,7 +248,7 @@ export default {
...
@@ -203,7 +248,7 @@ export default {
deep
:
true
deep
:
true
}
}
},
},
created
()
{
},
created
()
{},
methods
:
{
methods
:
{
initData
(
data
)
{
initData
(
data
)
{
...
...
src/views/goods/shelfManage/components/editCon/components/classificationCpt.vue
View file @
24a8207
This diff is collapsed.
Click to expand it.
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