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 907d210c
authored
Apr 25, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
绩效配置产品选择bug修复
1 parent
56e7eb27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
src/views/residentManage/salaryPerformance/components/social.vue
src/views/residentManage/salaryPerformance/components/warrantyPenetration.vue
src/views/residentManage/salaryPerformance/components/social.vue
View file @
907d210
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<el-cascader
style=
"width: 136px"
:ref=
"`cascader$
{colIndex}`" :options="v.productTypeFocus ? productGoodsTypeList : baseData.goodsTypeList" filterable
<el-cascader
style=
"width: 136px"
:ref=
"`cascader$
{colIndex}`" :options="v.productTypeFocus ? productGoodsTypeList : baseData.goodsTypeList" filterable
v-model="v['productType']"
v-model="v['productType']"
@visible-change="handleVisibleChange($event, colIndex)" aria-hidden="false"
@visible-change="handleVisibleChange($event, colIndex)" aria-hidden="false"
@change="changeGoodsType($event, colIndex)"
clearable
@change="changeGoodsType($event, colIndex)"
:props="{ checkStrictly: true, expandTrigger: 'hover', label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
:props="{ checkStrictly: true, expandTrigger: 'hover', label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
</el-cascader>
</el-cascader>
</el-form-item>
</el-form-item>
...
@@ -229,7 +229,7 @@ export default {
...
@@ -229,7 +229,7 @@ export default {
item1
?.
children
?.
forEach
((
item2
)
=>
{
item1
?.
children
?.
forEach
((
item2
)
=>
{
if
(
item
[
1
]
===
item2
?.
categoryType
)
item2
.
disabled
=
true
if
(
item
[
1
]
===
item2
?.
categoryType
)
item2
.
disabled
=
true
item2
?.
children
?.
forEach
((
item3
)
=>
{
item2
?.
children
?.
forEach
((
item3
)
=>
{
if
(
item
[
0
]
===
item1
?.
categoryType
)
{
if
(
item
[
1
]
===
item2
?.
categoryType
)
{
item3
.
disabled
=
true
item3
.
disabled
=
true
}
}
})
})
...
@@ -238,7 +238,7 @@ export default {
...
@@ -238,7 +238,7 @@ export default {
if
(
item
.
length
===
3
)
{
if
(
item
.
length
===
3
)
{
if
(
item
[
0
]
===
item1
?.
categoryType
)
item1
.
disabled
=
true
if
(
item
[
0
]
===
item1
?.
categoryType
)
item1
.
disabled
=
true
item1
?.
children
?.
forEach
((
item2
)
=>
{
item1
?.
children
?.
forEach
((
item2
)
=>
{
if
(
item
[
0
]
===
item1
.
categoryType
)
item2
.
disabled
=
true
if
(
item
[
1
]
===
item2
.
categoryType
)
item2
.
disabled
=
true
item2
?.
children
?.
forEach
(
item3
=>
{
item2
?.
children
?.
forEach
(
item3
=>
{
if
(
item
[
2
]
==
item3
?.
categoryType
)
item3
.
disabled
=
true
if
(
item
[
2
]
==
item3
?.
categoryType
)
item3
.
disabled
=
true
})
})
...
...
src/views/residentManage/salaryPerformance/components/warrantyPenetration.vue
View file @
907d210
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-form-item
:prop=
"`campusList[$
{scope.$index}].productType`" :rules="rules.productType" label-width="0">
<el-form-item
:prop=
"`campusList[$
{scope.$index}].productType`" :rules="rules.productType" label-width="0">
<el-cascader
style=
"width: 160px"
:options=
"scope.row.productTypeFocus ? productGoodsTypeList : baseData.goodsTypeList"
filterable
<el-cascader
style=
"width: 160px"
:options=
"scope.row.productTypeFocus ? productGoodsTypeList : baseData.goodsTypeList"
filterable
v-model=
"scope.row['productType']"
clearable
v-model=
"scope.row['productType']"
@
change=
"changeGoodsType($event, subIndex, scope.$index, 'productType')"
aria-hidden=
"false"
@
change=
"changeGoodsType($event, subIndex, scope.$index, 'productType')"
aria-hidden=
"false"
@
visible-change=
"handleVisibleChange($event, subIndex, scope.$index, 'productType')"
@
visible-change=
"handleVisibleChange($event, subIndex, scope.$index, 'productType')"
:props=
"
{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
:props=
"
{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
<el-form-item
:prop=
"`campusList[$
{scope.$index}].conditionProductType`" :rules="rules.conditionProductType" label-width="0">
<el-form-item
:prop=
"`campusList[$
{scope.$index}].conditionProductType`" :rules="rules.conditionProductType" label-width="0">
<el-cascader
style=
"width: 160px"
:options=
"scope.row.conditionProductTypeFocus ? conditionProductGoodsTypeList : baseData.goodsTypeList"
filterable
v-model=
"scope.row['conditionProductType']"
<el-cascader
style=
"width: 160px"
:options=
"scope.row.conditionProductTypeFocus ? conditionProductGoodsTypeList : baseData.goodsTypeList"
filterable
v-model=
"scope.row['conditionProductType']"
@
change=
"changeGoodsType($event, subIndex, scope.$index, 'conditionProductType')"
aria-hidden=
"false"
@
change=
"changeGoodsType($event, subIndex, scope.$index, 'conditionProductType')"
aria-hidden=
"false"
@
visible-change=
"handleVisibleChange($event, subIndex, scope.$index, 'conditionProductType')"
clearable
@
visible-change=
"handleVisibleChange($event, subIndex, scope.$index, 'conditionProductType')"
:props=
"
{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
:props=
"
{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
</el-cascader>
</el-cascader>
</el-form-item>
</el-form-item>
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
<el-form-item
:prop=
"`fixedList[$
{scope.$index}].productType`" :rules="rules.productType" label-width="0">
<el-form-item
:prop=
"`fixedList[$
{scope.$index}].productType`" :rules="rules.productType" label-width="0">
<el-cascader
style=
"width: 160px"
:options=
"scope.row.focusFlag ? fixedGoodsTypeList : baseData.goodsTypeList"
filterable
v-model=
"scope.row['productType']"
<el-cascader
style=
"width: 160px"
:options=
"scope.row.focusFlag ? fixedGoodsTypeList : baseData.goodsTypeList"
filterable
v-model=
"scope.row['productType']"
@
change=
"changeGoodsType($event, subIndex, scope.$index, 'productType', 'fixedList')"
aria-hidden=
"false"
@
change=
"changeGoodsType($event, subIndex, scope.$index, 'productType', 'fixedList')"
aria-hidden=
"false"
@
visible-change=
"handleVisibleChange($event, subIndex, scope.$index, 'fixedProductType')"
clearable
@
visible-change=
"handleVisibleChange($event, subIndex, scope.$index, 'fixedProductType')"
:props=
"
{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
:props=
"
{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
</el-cascader>
</el-cascader>
</el-form-item>
</el-form-item>
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
<el-form-item
:prop=
"`customerList[$
{scope.$index}].productType`" :rules="rules.productType" label-width="0">
<el-form-item
:prop=
"`customerList[$
{scope.$index}].productType`" :rules="rules.productType" label-width="0">
<el-cascader
style=
"width: 160px"
:options=
"scope.row.focusFlag ? customerGoodsTypeList : baseData.goodsTypeList"
filterable
v-model=
"scope.row['productType']"
<el-cascader
style=
"width: 160px"
:options=
"scope.row.focusFlag ? customerGoodsTypeList : baseData.goodsTypeList"
filterable
v-model=
"scope.row['productType']"
@
change=
"changeGoodsType($event, subIndex, scope.$index, 'productType', 'customerList')"
aria-hidden=
"false"
@
change=
"changeGoodsType($event, subIndex, scope.$index, 'productType', 'customerList')"
aria-hidden=
"false"
@
visible-change=
"handleVisibleChange($event, subIndex, scope.$index, 'cusProductType')"
clearable
@
visible-change=
"handleVisibleChange($event, subIndex, scope.$index, 'cusProductType')"
:props=
"
{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
:props=
"
{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
</el-cascader>
</el-cascader>
</el-form-item>
</el-form-item>
...
@@ -363,7 +363,7 @@ export default {
...
@@ -363,7 +363,7 @@ export default {
item1
?.
children
?.
forEach
((
item2
)
=>
{
item1
?.
children
?.
forEach
((
item2
)
=>
{
if
(
item
[
1
]
===
item2
?.
categoryType
&&
(
key
===
'customer'
||
oList
?.
includes
(
item
[
1
])))
item2
.
disabled
=
true
if
(
item
[
1
]
===
item2
?.
categoryType
&&
(
key
===
'customer'
||
oList
?.
includes
(
item
[
1
])))
item2
.
disabled
=
true
item2
?.
children
?.
forEach
((
item3
)
=>
{
item2
?.
children
?.
forEach
((
item3
)
=>
{
if
(
item
[
0
]
===
item1
?.
categoryType
)
{
if
(
item
[
1
]
===
item2
?.
categoryType
)
{
item3
.
disabled
=
true
item3
.
disabled
=
true
}
}
})
})
...
@@ -372,7 +372,7 @@ export default {
...
@@ -372,7 +372,7 @@ export default {
if
(
item
.
length
===
3
)
{
if
(
item
.
length
===
3
)
{
if
(
item
[
0
]
===
item1
?.
categoryType
)
item1
.
disabled
=
true
if
(
item
[
0
]
===
item1
?.
categoryType
)
item1
.
disabled
=
true
item1
?.
children
?.
forEach
((
item2
)
=>
{
item1
?.
children
?.
forEach
((
item2
)
=>
{
if
(
item
[
0
]
===
item1
.
categoryType
)
item2
.
disabled
=
true
if
(
item
[
1
]
===
item2
.
categoryType
)
item2
.
disabled
=
true
item2
?.
children
?.
forEach
(
item3
=>
{
item2
?.
children
?.
forEach
(
item3
=>
{
if
(
item
[
2
]
==
item3
?.
categoryType
&&
(
key
===
'customer'
||
oList
?.
includes
(
item
[
2
])))
item3
.
disabled
=
true
if
(
item
[
2
]
==
item3
?.
categoryType
&&
(
key
===
'customer'
||
oList
?.
includes
(
item
[
2
])))
item3
.
disabled
=
true
})
})
...
...
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