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 6b20968c
authored
Jan 19, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式和功能修改
1 parent
f28d57d2
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
12 deletions
src/views/systemConfig/costCategoryManage/editLedger.vue
src/views/systemConfig/costCategoryManage/editReconciliation.vue
src/views/systemConfig/merchant/financialRules/components/classificationCpt.vue
src/views/systemConfig/merchant/financialRules/components/merchantTestDialog.vue
src/views/systemConfig/merchant/financialRules/components/tableAccount.vue
src/views/systemConfig/merchant/financialRules/index.vue
src/views/systemConfig/merchant/merchantStep/components/classificationCpt.vue
src/views/systemConfig/merchant/merchantStep/merchantCheck.vue
src/views/systemConfig/costCategoryManage/editLedger.vue
View file @
6b20968
...
...
@@ -218,6 +218,7 @@ export default {
console
.
log
(
res
)
// res = res[0]
this
.
form
.
feeCategoryName
=
res
.
feeCategoryName
this
.
form
.
feeCategoryNameId
=
res
?.
feeCategoryNameId
||
''
// const scenes = res.feeCategorySceneList
// if (scenes && scenes.length > 0) {
// const list = scenes.map(item => {
...
...
src/views/systemConfig/costCategoryManage/editReconciliation.vue
View file @
6b20968
...
...
@@ -181,6 +181,7 @@ export default {
this
.
form
.
applicationObjectType
=
res
.
applicationObjectType
// this.form.tableData = res[0].feeCategoryNameList
this
.
form
.
tableData
=
res
.
feeCategoryChildren
// this.form.feeCategoryNameId = res?.feeCategoryNameId || ''
})
},
...
...
src/views/systemConfig/merchant/financialRules/components/classificationCpt.vue
View file @
6b20968
...
...
@@ -1217,6 +1217,8 @@ export default {
expenseCategoryRules
.
find
(
(
el
)
=>
el
.
expenseCategoryId
==
item
.
expenseCategoryId
)
||
{}
// 解决 类目更新名字历史财务会覆盖掉的问题
editObj
.
expenseCategoryName
=
item
.
applicationObjectName
editObj
.
children
=
editObj
.
children
||
[]
// console.log(editObj)
const
obj
=
{
...
...
@@ -1251,7 +1253,8 @@ export default {
editObj
.
children
?.
find
(
(
el
)
=>
el
.
expenseCategoryId
==
ele
.
expenseCategoryId
)
||
{}
// 解决 类目更新名字历史财务会覆盖掉的问题
editChildrenObj
.
expenseCategoryName
=
ele
.
applicationObjectName
// console.log(ele, 'ele')
const
childrenObj
=
{
expenseCategoryCalculateType
:
""
,
// 计算方式
...
...
src/views/systemConfig/merchant/financialRules/components/merchantTestDialog.vue
View file @
6b20968
...
...
@@ -39,13 +39,13 @@
<el-table
:header-cell-style=
"
{ background: '#F2F4F7', 'text-align': 'center', 'color': '#333333' }"
:cell-style="{ 'text-align': 'center', 'color': '#666666;' }" border :span-method="objectSpanMethod"
:data="categoryTableData.expenseCategoryCalculatedLevelItemForRuleTestsResults">
<el-table-column
prop=
"targetType"
label=
"类型"
width=
"1
43
"
>
<el-table-column
prop=
"targetType"
label=
"类型"
width=
"1
00
"
>
<template
slot-scope=
"scope"
>
{{
targetType
[
scope
.
row
.
targetType
]
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"expenseCategoryName"
label=
"分账类目"
width=
"143"
/>
<el-table-column
prop=
"calculateMode"
label=
"计算模式"
width=
"1
43
"
>
<el-table-column
prop=
"calculateMode"
label=
"计算模式"
width=
"1
00
"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
calculateMode
==
1
?
'按品类计算'
:
scope
.
row
.
calculateMode
==
2
?
'按整单计算'
:
'-'
}}
</span>
</
template
>
...
...
@@ -83,7 +83,7 @@
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"calculateMode"
label=
"分账规则"
width=
"
143
"
>
<el-table-column
prop=
"calculateMode"
label=
"分账规则"
width=
""
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.nodeType == 2"
>
<!--
<div
class=
"detail-i more"
>
...
...
src/views/systemConfig/merchant/financialRules/components/tableAccount.vue
View file @
6b20968
...
...
@@ -287,6 +287,7 @@ export default {
border-spacing
:
0
;
text-align
:
center
;
min-width
:
100px
;
white-space
:
nowrap
;
/* white-space: nowrap; */
/* overflow: hidden; */
/* text-overflow: ellipsis; */
...
...
src/views/systemConfig/merchant/financialRules/index.vue
View file @
6b20968
...
...
@@ -357,7 +357,7 @@ export default {
// debugger
queryFeeCategoryByType
({
feeCategoryType
:
1
,
applicationSceneType
:
this
.
routerInfo
.
scene
,
orderBy
:
2
,
pageSize
:
100000
}).
then
((
result
)
=>
{
result
=
result
.
list
//
console.log(result, 'result')
console
.
log
(
result
,
'result'
)
this
.
classificationObj
=
result
.
reduce
((
prev
,
item
)
=>
{
// console.log(item, 'item')
const
{
applicationObjectType
,
feeCategoryChildren
,
formType
,
feeCategoryNameId
,
targetType
,
nodeType
}
=
item
...
...
src/views/systemConfig/merchant/merchantStep/components/classificationCpt.vue
View file @
6b20968
...
...
@@ -818,7 +818,7 @@ export default {
item
=
{
targetType
:
innerItem
.
targetType
,
expenseCategoryId
:
innerItem
.
expenseCategoryId
,
expenseCategoryName
:
innerItem
.
expenseCategoryName
,
expenseCategoryName
:
i
tem
?.
expenseCategoryName
||
i
nnerItem
.
expenseCategoryName
,
expenseCategoryCalculateType
:
innerItem
.
expenseCategoryCalculateType
,
expenseCategoryValue
:
innerItem
.
expenseCategoryValue
,
...
...
src/views/systemConfig/merchant/merchantStep/merchantCheck.vue
View file @
6b20968
...
...
@@ -83,7 +83,7 @@
import
{
deepClone
}
from
"@/common/util"
import
{
defaultSelectOptions
,
sev
erSelectOptions
oth
erSelectOptions
}
from
"@/common/constant/merchant"
import
{
sceneList
}
from
"@/common/constants"
import
{
...
...
@@ -104,8 +104,6 @@ export default {
},
data
()
{
return
{
// defaultSelectOptions,
// severSelectOptions,
sceneList
,
verificationCodeVisible
:
false
,
smsCode
:
''
,
...
...
@@ -202,7 +200,7 @@ export default {
pageSize
:
10000
}
getQueryFeeCategoryByTypeApi
(
params
).
then
((
result
)
=>
{
console
.
log
(
result
,
'result'
)
console
.
log
(
result
,
[...
defaultSelectOptions
,
...
otherSelectOptions
],
'result'
)
this
.
queryFeeCategoryByTypeFlow
=
result
.
list
// if (condition) {
result
.
list
.
length
&&
this
.
formObjConfig
.
unshift
({
...
...
@@ -210,7 +208,7 @@ export default {
valueName
:
'shopMerchantExpenseCategoryValue'
,
message
:
'请选择流量方总对账费'
,
label
:
'流量方总对账费用'
,
options
:
defaultSelectOptions
options
:
[...
defaultSelectOptions
,
...
otherSelectOptions
]
})
// }
})
...
...
@@ -230,7 +228,7 @@ export default {
valueName
:
'partnerMerchantExpenseCategoryValue'
,
label
:
'服务商总对账费用'
,
message
:
'请选择服务商总对账费用'
,
options
:
defaultSelectOptions
options
:
[...
defaultSelectOptions
,
...
otherSelectOptions
]
// options: severSelectOptions
})
})
...
...
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