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 ef1a0f24
authored
Jul 25, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
财务规则去除品类限制
1 parent
a0ce1e46
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
11 deletions
src/store/modules/d2admin/modules/page.js
src/views/systemConfig/merchant/financialRules/components/classificationCpt.vue
src/views/systemConfig/merchant/financialRules/index.vue
src/store/modules/d2admin/modules/page.js
View file @
ef1a0f2
...
@@ -136,7 +136,7 @@ export default {
...
@@ -136,7 +136,7 @@ export default {
return
new
Promise
(
async
(
resolve
)
=>
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
try
{
// debugger
// debugger
console
.
log
(
state
,
dispatch
)
//
console.log(state, dispatch)
// 设置数据
// 设置数据
dispatch
(
dispatch
(
"d2admin/db/set"
,
"d2admin/db/set"
,
...
...
src/views/systemConfig/merchant/financialRules/components/classificationCpt.vue
View file @
ef1a0f2
...
@@ -650,10 +650,10 @@ export default {
...
@@ -650,10 +650,10 @@ export default {
// }
// }
},
},
goodsTypeGroupDivisionId
()
{
goodsTypeGroupDivisionId
()
{
console
.
log
(
//
console.log(
this
.
tabItem
.
groupDivisionRuleId
,
//
this.tabItem.groupDivisionRuleId,
"this.tabItem.groupDivisionRuleId"
//
"this.tabItem.groupDivisionRuleId"
)
//
)
const
id
=
const
id
=
this
.
tabItem
.
testFlag
!=
"Y"
?
this
.
tabItem
.
groupDivisionRuleId
:
false
this
.
tabItem
.
testFlag
!=
"Y"
?
this
.
tabItem
.
groupDivisionRuleId
:
false
return
id
||
false
return
id
||
false
...
@@ -826,10 +826,10 @@ export default {
...
@@ -826,10 +826,10 @@ export default {
// ...mapMutations('FinancialRules', ['toggle', 'set']),
// ...mapMutations('FinancialRules', ['toggle', 'set']),
resetGoodsTypeGroupDivisionId
()
{
resetGoodsTypeGroupDivisionId
()
{
// goodsTypeGroupDivisionId() {
// goodsTypeGroupDivisionId() {
console
.
log
(
//
console.log(
this
.
tabItem
.
groupDivisionRuleId
,
//
this.tabItem.groupDivisionRuleId,
"this.tabItem.groupDivisionRuleId"
//
"this.tabItem.groupDivisionRuleId"
)
//
)
// const id = this.tabItem.testFlag != 'Y' ? this.tabItem.groupDivisionRuleId : false
// const id = this.tabItem.testFlag != 'Y' ? this.tabItem.groupDivisionRuleId : false
// this.goodsTypeGroupDivisionId = id || false
// this.goodsTypeGroupDivisionId = id || false
// }
// }
...
...
src/views/systemConfig/merchant/financialRules/index.vue
View file @
ef1a0f2
...
@@ -210,6 +210,8 @@ export default {
...
@@ -210,6 +210,8 @@ export default {
const
length1
=
this
.
goodsTypeGroupRelations
.
length
const
length1
=
this
.
goodsTypeGroupRelations
.
length
const
length2
=
this
.
editableTabs
.
length
-
1
const
length2
=
this
.
editableTabs
.
length
-
1
const
length3
=
this
.
goodsSelectList
.
length
const
length3
=
this
.
goodsSelectList
.
length
console
.
log
(
length1
,
length2
,
length3
,
'addVisible'
)
console
.
log
((
length1
-
length3
)
>
0
&&
length1
>
length2
,
'addVisible'
)
return
(
length1
-
length3
)
>
0
&&
length1
>
length2
return
(
length1
-
length3
)
>
0
&&
length1
>
length2
},
},
//
//
...
@@ -291,8 +293,9 @@ export default {
...
@@ -291,8 +293,9 @@ export default {
this
.
settleTimeObj
[
settleTimeType
==
1
?
'first'
:
'second'
]
=
settleTime
this
.
settleTimeObj
[
settleTimeType
==
1
?
'first'
:
'second'
]
=
settleTime
},
},
getGoodsCategoryConfiguration
()
{
getGoodsCategoryConfiguration
()
{
const
{
scene
:
sceneType
}
=
this
.
routerInfo
// const { scene: sceneType } = this.routerInfo
getGoodsCategoryConfiguration
({
sceneType
}).
then
((
result
)
=>
{
// sceneType
getGoodsCategoryConfiguration
({}).
then
((
result
)
=>
{
const
{
list
}
=
result
const
{
list
}
=
result
if
(
list
.
length
)
{
if
(
list
.
length
)
{
this
.
productType
=
list
.
map
(({
categoryType
,
categoryName
})
=>
{
this
.
productType
=
list
.
map
(({
categoryType
,
categoryName
})
=>
{
...
...
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