Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 44a77dcf
authored
Feb 24, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
36861bb7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
81 deletions
src/views/beforeSale/editEquity.vue
src/views/serviceConfig/addExtended.vue
src/views/serviceConfig/components/ServicesTable/index.vue
src/views/serviceConfig/components/brandDialog/index.vue
src/views/serviceConfig/components/multipleSpecificationForm.vue
src/views/serviceConfig/extendedWarranty.vue
src/views/beforeSale/editEquity.vue
View file @
44a77dc
...
@@ -1915,7 +1915,7 @@ export default {
...
@@ -1915,7 +1915,7 @@ export default {
// let _price = this.editForm.vehicle.invoicePrice
// let _price = this.editForm.vehicle.invoicePrice
_list
.
forEach
(
item
=>
{
_list
.
forEach
(
item
=>
{
// 套餐商品不做过滤 没有这个字段也给全部默认显示
// 套餐商品不做过滤 没有这个字段也给全部默认显示
if
(
!
item
.
vehicleSeriesConfigs
||
(
item
.
vehicleSeriesConfigs
&&
item
.
vehicleSeriesConfigs
.
some
(
ele
=>
ele
.
vehicleSeriesId
==
cartype
)))
{
if
(
item
.
parentId
||
!
item
.
vehicleSeriesConfigs
||
(
item
.
vehicleSeriesConfigs
&&
item
.
vehicleSeriesConfigs
.
some
(
ele
=>
ele
.
vehicleSeriesId
==
cartype
)))
{
list2
.
push
(
item
)
list2
.
push
(
item
)
}
else
{
}
else
{
if
(
this
.
autoPackageCodeList
.
includes
(
item
.
packageCode
))
{
if
(
this
.
autoPackageCodeList
.
includes
(
item
.
packageCode
))
{
...
@@ -1938,7 +1938,7 @@ export default {
...
@@ -1938,7 +1938,7 @@ export default {
let
_list
=
[]
let
_list
=
[]
this
.
copyCustomProductList
.
forEach
(
item
=>
{
this
.
copyCustomProductList
.
forEach
(
item
=>
{
// 套餐商品不做过滤 没有这个字段也给全部默认显示
// 套餐商品不做过滤 没有这个字段也给全部默认显示
if
(
!
item
.
vehicleSeriesConfigs
||
(
item
.
vehicleSeriesConfigs
&&
item
.
vehicleSeriesConfigs
.
some
(
ele
=>
ele
.
vehicleSeriesId
==
cartype
)))
{
if
(
item
.
parentId
||
!
item
.
vehicleSeriesConfigs
||
(
item
.
vehicleSeriesConfigs
&&
item
.
vehicleSeriesConfigs
.
some
(
ele
=>
ele
.
vehicleSeriesId
==
cartype
)))
{
_list
.
push
(
item
)
_list
.
push
(
item
)
}
else
{
}
else
{
if
(
this
.
autoPackageCodeList
.
includes
(
item
.
packageCode
))
{
if
(
this
.
autoPackageCodeList
.
includes
(
item
.
packageCode
))
{
...
...
src/views/serviceConfig/addExtended.vue
View file @
44a77dc
...
@@ -89,8 +89,8 @@ export default {
...
@@ -89,8 +89,8 @@ export default {
}
}
}
}
var
specificationDetailListOther
=
(
rule
,
value
,
callback
)
=>
{
var
specificationDetailListOther
=
(
rule
,
value
,
callback
)
=>
{
console
.
log
(
this
.
formObj
.
specificationDetailList
,
'this.formObj.specificationDetailList'
)
console
.
log
(
this
.
goodsInfoData
,
'this.formObj.specificationDetailList'
)
if
(
!
this
.
formObj
.
specificationDetailList
.
some
(
item
=>
item
.
useStatus
==
0
))
{
if
(
this
.
goodsInfoData
.
specificationDetailList
.
length
==
0
||
!
this
.
goodsInfoData
.
goodsSpecificationList
.
some
(
item
=>
item
.
useStatus
!=
1
))
{
callback
(
new
Error
(
'至少启用一个规格'
))
callback
(
new
Error
(
'至少启用一个规格'
))
}
else
{
}
else
{
callback
()
callback
()
...
@@ -117,8 +117,8 @@ export default {
...
@@ -117,8 +117,8 @@ export default {
],
],
contractList
:
[{
required
:
true
,
message
:
'请选择关联合同'
,
trigger
:
[
'blur'
,
'change'
]
}],
contractList
:
[{
required
:
true
,
message
:
'请选择关联合同'
,
trigger
:
[
'blur'
,
'change'
]
}],
specificationDetailList
:
[
specificationDetailList
:
[
{
required
:
true
,
message
:
'请选择规格'
,
trigger
:
[
'blur'
,
'change'
]
},
// { required: true, message: '请选择规格', trigger: [
'change'] },
{
validator
:
specificationDetailListOther
,
trigger
:
'
blur
'
}
{
validator
:
specificationDetailListOther
,
trigger
:
'
change
'
}
]
]
},
},
formObj
:
{
formObj
:
{
...
@@ -132,7 +132,7 @@ export default {
...
@@ -132,7 +132,7 @@ export default {
placeholder
:
'请输入服务项目名称'
,
placeholder
:
'请输入服务项目名称'
,
type
:
'input'
,
type
:
'input'
,
isDisabled
:
false
,
isDisabled
:
false
,
maxlength
:
5
0
maxlength
:
2
0
},
},
{
{
label
:
'服务介绍:'
,
label
:
'服务介绍:'
,
...
...
src/views/serviceConfig/components/ServicesTable/index.vue
View file @
44a77dc
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</el-tooltip>
-->
</el-tooltip>
-->
</th>
</th>
<th
:key=
"index"
>
<th
:key=
"index"
>
滴
加成本
嘀
加成本
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"提示待运营提供"
placement=
"top"
>
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"提示待运营提供"
placement=
"top"
>
<img
class=
"tip"
:src=
"require('@/assets/tip.png')"
/>
<img
class=
"tip"
:src=
"require('@/assets/tip.png')"
/>
</el-tooltip>
-->
</el-tooltip>
-->
...
...
src/views/serviceConfig/components/brandDialog/index.vue
View file @
44a77dc
...
@@ -139,11 +139,11 @@ export default {
...
@@ -139,11 +139,11 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.relateStore
.table
{
.relateStore
.table
{
margin
:
0
auto
20px
!important
;
margin
:
0
auto
20px
!important
;
}
}
.
relateStore
.
tableCon
{
.tableCon
{
width
:
100%
;
width
:
100%
;
margin-top
:
20px
;
margin-top
:
20px
;
display
:
flex
;
display
:
flex
;
...
@@ -168,26 +168,4 @@ export default {
...
@@ -168,26 +168,4 @@ export default {
.d2-form
.relateStore
.el-table--medium
td
{
.d2-form
.relateStore
.el-table--medium
td
{
padding
:
6px
8px
!important
;
padding
:
6px
8px
!important
;
}
}
.relateStore
.red
{
color
:
red
;
}
.relateStore
.tip-icon
{
position
:
absolute
;
display
:
inline-block
;
height
:
10px
;
width
:
10px
;
line-height
:
10px
;
color
:
#ffffff
;
background-color
:
red
;
border
:
1px
solid
red
;
border-radius
:
50%
;
cursor
:
pointer
;
font-size
:
6px
;
margin-left
:
2px
;
}
.pagination
{
.el-pager
{
line-height
:
20px
;
}
}
</
style
>
</
style
>
src/views/serviceConfig/components/multipleSpecificationForm.vue
View file @
44a77dc
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
</el-popover>
</el-popover>
</el-input>
</el-input>
</td>
</td>
<td>
<td
class=
"select"
>
<el-select
ref=
"chooseProjectName"
placeholder=
"车型"
:disabled=
"routeInfo.type == 2"
size=
"small"
multiple
collapse-tags
:class=
"
{ 'w-200-per': false }" v-model="subItem.seriesConfigList" @focus="carTypeSelect(false, subItem, subIndex)" value-key="seriesId">
<el-select
ref=
"chooseProjectName"
placeholder=
"车型"
:disabled=
"routeInfo.type == 2"
size=
"small"
multiple
collapse-tags
:class=
"
{ 'w-200-per': false }" v-model="subItem.seriesConfigList" @focus="carTypeSelect(false, subItem, subIndex)" value-key="seriesId">
<el-option
v-for=
"item in subItem.seriesConfigList"
:key=
"item.vehicleSeriesId"
:label=
"item.vehicleSeriesName"
:value=
"item"
></el-option>
<el-option
v-for=
"item in subItem.seriesConfigList"
:key=
"item.vehicleSeriesId"
:label=
"item.vehicleSeriesName"
:value=
"item"
></el-option>
</el-select>
</el-select>
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
<el-form-item
label=
"规格值:"
prop=
"specificationValueList"
>
<el-form-item
label=
"规格值:"
prop=
"specificationValueList"
>
<el-tag
style=
"margin-right: 10px"
v-for=
"(tag, i) in spescEditForm.specificationValueList"
:key=
"i"
@
click=
"changeValue(tag, i)"
closable
@
close=
"handleSpescDelete(tag)"
>
{{
tag
.
specificationValue
}}
</el-tag>
<el-tag
style=
"margin-right: 10px"
v-for=
"(tag, i) in spescEditForm.specificationValueList"
:key=
"i"
@
click=
"changeValue(tag, i)"
closable
@
close=
"handleSpescDelete(tag)"
>
{{
tag
.
specificationValue
}}
</el-tag>
<!--
<el-input
min=
"0"
max=
"100"
clearable
type=
"number"
step=
"0.0001"
class=
"!w-[120px]"
placeholder=
"输入检测值"
v-model=
"value"
@
input=
"value = value.replace(/^(100|[1-9]?\d)(\.\d
{0,4})?.*$/, '$1$2')">
</el-input>
-->
<!--
<el-input
min=
"0"
max=
"100"
clearable
type=
"number"
step=
"0.0001"
class=
"!w-[120px]"
placeholder=
"输入检测值"
v-model=
"value"
@
input=
"value = value.replace(/^(100|[1-9]?\d)(\.\d
{0,4})?.*$/, '$1$2')">
</el-input>
-->
<el-input
class=
"input-new-tag"
v-if=
"specsInputVisible && spescEditForm.type == 0"
v-model=
"spescInputVal"
maxlength=
"
1
0"
ref=
"saveSpescInput"
size=
"small"
@
keyup
.
enter
.
native=
"handleInputConfirm"
@
blur=
"handleInputConfirm"
></el-input>
<el-input
class=
"input-new-tag"
v-if=
"specsInputVisible && spescEditForm.type == 0"
v-model=
"spescInputVal"
maxlength=
"
2
0"
ref=
"saveSpescInput"
size=
"small"
@
keyup
.
enter
.
native=
"handleInputConfirm"
@
blur=
"handleInputConfirm"
></el-input>
<el-input
min=
"0"
max=
"100"
type=
"number"
class=
"input-new-tag"
v-else-if=
"specsInputVisible && spescEditForm.type != 3"
v-model=
"spescInputVal"
ref=
"saveSpescInput"
@
input=
"spescInputVal = spescInputVal.replace(/^(100|[1-9]?\d).*$/, '$1')"
size=
"small"
@
keyup
.
enter
.
native=
"handleInputConfirm"
@
blur=
"handleInputConfirm"
></el-input>
<el-input
min=
"0"
max=
"100"
type=
"number"
class=
"input-new-tag"
v-else-if=
"specsInputVisible && spescEditForm.type != 3"
v-model=
"spescInputVal"
ref=
"saveSpescInput"
@
input=
"spescInputVal = spescInputVal.replace(/^(100|[1-9]?\d).*$/, '$1')"
size=
"small"
@
keyup
.
enter
.
native=
"handleInputConfirm"
@
blur=
"handleInputConfirm"
></el-input>
<input-number-range
v-else-if=
"specsInputVisible && spescEditForm.type == 3"
:disabled=
"false"
:precision=
"num"
:spescInputVal=
"spescInputVal"
@
confirm=
"handleInputConfirmMue"
@
input=
"spescInputVal = spescInputVal.replace(/^(100|[1-9]?\d)(\.\d
{0,4})?.*$/, '$1$2')">
</input-number-range>
<input-number-range
v-else-if=
"specsInputVisible && spescEditForm.type == 3"
:disabled=
"false"
:precision=
"num"
:spescInputVal=
"spescInputVal"
@
confirm=
"handleInputConfirmMue"
@
input=
"spescInputVal = spescInputVal.replace(/^(100|[1-9]?\d)(\.\d
{0,4})?.*$/, '$1$2')">
</input-number-range>
<el-button
v-else
class=
"button-new-tag"
size=
"small"
@
click=
"showInput"
>
+ 规格值
</el-button>
<el-button
v-else
class=
"button-new-tag"
size=
"small"
@
click=
"showInput"
>
+ 规格值
</el-button>
...
@@ -178,22 +178,6 @@ export default {
...
@@ -178,22 +178,6 @@ export default {
specificationValueList
:
[]
specificationValueList
:
[]
}
}
],
],
equitySceneType
:
[],
// 权益类目
extendedPosiType
:
[],
// 延保类
batchObj
:
{
type
:
''
,
thirdPartyCode
:
''
,
upgradePrice
:
''
,
warningValue
:
''
,
warningValueMax
:
''
,
warrantyPeriod
:
''
,
purchasePrice
:
''
,
serviceYears
:
''
,
insuranceCost
:
''
,
// 投保成本,单位元
shelfCost
:
''
,
// 上架成本,单位元
salesCost
:
''
,
// salesCost
useStatus
:
0
},
batchSubmitted
:
{
batchSubmitted
:
{
upgradePriceEmpty
:
false
,
upgradePriceEmpty
:
false
,
purchasePriceEmpty
:
false
,
purchasePriceEmpty
:
false
,
...
@@ -290,7 +274,7 @@ export default {
...
@@ -290,7 +274,7 @@ export default {
let
_this
=
this
let
_this
=
this
console
.
log
(
_this
.
$refs
.
chooseProjectName
[
rowindex
])
console
.
log
(
_this
.
$refs
.
chooseProjectName
[
rowindex
])
_this
.
$refs
.
chooseProjectName
[
rowindex
].
blur
()
item
&&
_this
.
$refs
.
chooseProjectName
[
rowindex
].
blur
()
if
(
!
type
)
{
if
(
!
type
)
{
this
.
carSelectName
=
item
.
specsValueList
this
.
carSelectName
=
item
.
specsValueList
...
@@ -530,7 +514,6 @@ export default {
...
@@ -530,7 +514,6 @@ export default {
this
.
computedTableWidth
(
this
.
goodsInfoData
.
goodsType
)
this
.
computedTableWidth
(
this
.
goodsInfoData
.
goodsType
)
console
.
log
(
this
.
goodsInfoData
,
'goodsInfoData'
)
console
.
log
(
this
.
goodsInfoData
,
'goodsInfoData'
)
const
copySpecificationValueList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
goodsInfoData
.
goodsSpecificationList
))
const
copySpecificationValueList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
goodsInfoData
.
goodsSpecificationList
))
// const copySpecificationValueList = JSON.parse(JSON.stringify(this.goodsInfoData.goodsSpecificationList))
const
copyDetailLength
=
this
.
goodsInfoData
.
goodsSpecificationNameList
?.
length
const
copyDetailLength
=
this
.
goodsInfoData
.
goodsSpecificationNameList
?.
length
const
copyDetailData
=
this
.
goodsInfoData
.
goodsSpecificationNameList
const
copyDetailData
=
this
.
goodsInfoData
.
goodsSpecificationNameList
this
.
goodsInfoData
.
goodsSpecificationList
=
[]
this
.
goodsInfoData
.
goodsSpecificationList
=
[]
...
@@ -541,6 +524,7 @@ export default {
...
@@ -541,6 +524,7 @@ export default {
markIdx
=
0
markIdx
=
0
// 规格名有变化 需清空id
// 规格名有变化 需清空id
if
(
copyDetailLength
&&
this
.
goodsInfoData
.
specificationDetailList
[
i
]?.
specificationName
!==
copyDetailData
[
i
]?.
specificationName
)
{
if
(
copyDetailLength
&&
this
.
goodsInfoData
.
specificationDetailList
[
i
]?.
specificationName
!==
copyDetailData
[
i
]?.
specificationName
)
{
console
.
log
(
this
.
goodsInfoData
.
specificationDetailList
[
i
]?.
specificationName
,
copyDetailData
[
i
]?.
specificationName
)
flag
=
false
flag
=
false
delete
this
.
goodsInfoData
.
specificationDetailList
[
i
]?.
id
delete
this
.
goodsInfoData
.
specificationDetailList
[
i
]?.
id
}
}
...
@@ -554,16 +538,10 @@ export default {
...
@@ -554,16 +538,10 @@ export default {
specsValueList
:
[
this
.
goodsInfoData
.
specificationDetailList
[
i
]?.
specificationValueList
[
j
]?.
specificationValue
],
specsValueList
:
[
this
.
goodsInfoData
.
specificationDetailList
[
i
]?.
specificationValueList
[
j
]?.
specificationValue
],
type
:
''
,
type
:
''
,
thirdPartyCode
:
''
,
thirdPartyCode
:
''
,
// upgradePrice: this.equitySceneType.includes(this.goodsInfoData.goodsType) && this.baseConfig.supplierCode.includes(`${this.goodsInfoData.supplierCode}`) ? 0 : '',
upgradePrice
:
this
.
equitySceneType
.
includes
(
this
.
goodsInfoData
.
goodsType
)
?
0
:
''
,
warningValue
:
''
,
warningValue
:
''
,
warningValueMax
:
''
,
warningValueMax
:
''
,
warrantyPeriod
:
'5'
,
warrantyPeriod
:
'5'
,
editGoodNameInput
:
false
,
editGoodNameInput
:
false
,
serviceItemArr
:
[],
serviceYears
:
''
,
entityCardFlag
:
false
,
extendServiceItemArr
:
[],
insuranceCost
:
''
,
// 投保成本,单位元
insuranceCost
:
''
,
// 投保成本,单位元
shelfCost
:
''
,
// 上架成本,单位元
shelfCost
:
''
,
// 上架成本,单位元
salesCost
:
''
,
// salesCost
salesCost
:
''
,
// salesCost
...
@@ -574,8 +552,11 @@ export default {
...
@@ -574,8 +552,11 @@ export default {
var
targetValLen
=
this
.
goodsInfoData
.
specificationDetailList
[
i
]?.
specificationValueList
?.
length
var
targetValLen
=
this
.
goodsInfoData
.
specificationDetailList
[
i
]?.
specificationValueList
?.
length
var
loopNum
=
0
var
loopNum
=
0
var
tempMarkIdx
=
0
var
tempMarkIdx
=
0
// debugger
if
(
j
==
0
&&
targetValLen
>
1
)
{
if
(
j
==
0
&&
targetValLen
>
1
)
{
var
obj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
goodsInfoData
.
goodsSpecificationList
))
var
obj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
goodsInfoData
.
goodsSpecificationList
))
console
.
log
(
obj
,
'obj'
)
this
.
goodsInfoData
.
goodsSpecificationList
=
[]
this
.
goodsInfoData
.
goodsSpecificationList
=
[]
obj
.
forEach
(
item
=>
{
obj
.
forEach
(
item
=>
{
for
(
var
k
=
0
;
k
<
targetValLen
;
k
++
)
{
for
(
var
k
=
0
;
k
<
targetValLen
;
k
++
)
{
...
@@ -593,28 +574,15 @@ export default {
...
@@ -593,28 +574,15 @@ export default {
}
}
}
}
}
}
this
.
batchObj
=
{
upgradePrice
:
''
,
warningValue
:
''
,
warningValueMax
:
''
,
warrantyPeriod
:
''
,
type
:
''
,
thirdPartyCode
:
''
,
purchasePrice
:
''
,
serviceYears
:
''
,
insuranceCost
:
''
,
// 投保成本,单位元
shelfCost
:
''
,
// 上架成本,单位元
salesCost
:
''
,
// salesCost
useStatus
:
0
}
this
.
goodsInfoData
.
goodsSpecificationList
.
forEach
(
item
=>
{
this
.
goodsInfoData
.
goodsSpecificationList
.
forEach
(
item
=>
{
for
(
var
i
=
0
;
i
<
copySpecificationValueList
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
copySpecificationValueList
.
length
;
i
++
)
{
var
temp
=
copySpecificationValueList
[
i
]
var
temp
=
copySpecificationValueList
[
i
]
console
.
log
(
flag
,
!
restData
,
temp
.
specificationData
,
item
.
specsValueList
.
join
(
';~;'
),
'!restData'
)
console
.
log
(
temp
.
specificationData
)
console
.
log
(
item
.
specsValueList
.
join
(
';~;'
))
if
(
temp
.
specificationData
==
item
.
specsValueList
.
join
(
';~;'
)
&&
flag
&&
!
restData
)
{
if
(
temp
.
specificationData
==
item
.
specsValueList
.
join
(
';~;'
)
&&
flag
&&
!
restData
)
{
console
.
log
(
temp
,
item
,
flag
,
!
restData
,
temp
.
specificationData
,
item
.
specsValueList
.
join
(
';~;'
),
'!restData'
)
item
.
id
=
temp
.
id
?
temp
.
id
:
''
item
.
id
=
temp
.
id
?
temp
.
id
:
''
// item.upgradePrice = this.equitySceneType.includes(this.goodsInfoData.goodsType) && this.baseConfig.supplierCode.includes(`${this.goodsInfoData.supplierCode}`) ? 0 : temp.upgradePrice
item
.
upgradePrice
=
this
.
equitySceneType
.
includes
(
this
.
goodsInfoData
.
goodsType
)
?
0
:
temp
.
upgradePrice
item
.
warningValue
=
temp
.
warningValue
item
.
warningValue
=
temp
.
warningValue
item
.
warningValueMax
=
temp
.
warningValueMax
item
.
warningValueMax
=
temp
.
warningValueMax
item
.
position
=
temp
.
position
item
.
position
=
temp
.
position
...
@@ -622,20 +590,17 @@ export default {
...
@@ -622,20 +590,17 @@ export default {
item
.
thirdPartyCode
=
temp
.
thirdPartyCode
item
.
thirdPartyCode
=
temp
.
thirdPartyCode
item
.
purchasePrice
=
temp
.
purchasePrice
item
.
purchasePrice
=
temp
.
purchasePrice
item
.
warrantyPeriod
=
temp
.
warrantyPeriod
||
'5'
item
.
warrantyPeriod
=
temp
.
warrantyPeriod
||
'5'
;(
item
.
serviceItemArr
=
temp
.
upgradeGoodsServiceItemsList
?.
map
(
v
=>
{
return
v
.
serviceCode
})),
(
item
.
serviceYears
=
temp
.
serviceYears
)
item
.
entityCardFlag
=
temp
.
entityCardFlag
item
.
insuranceCost
=
temp
.
insuranceCost
item
.
insuranceCost
=
temp
.
insuranceCost
item
.
shelfCost
=
temp
.
shelfCost
item
.
shelfCost
=
temp
.
shelfCost
item
.
salesCost
=
temp
.
salesCost
item
.
salesCost
=
temp
.
salesCost
item
.
useStatus
=
temp
.
useStatus
item
.
useStatus
=
temp
.
useStatus
item
.
seriesConfigList
=
temp
.
seriesConfigList
item
.
seriesConfigList
=
temp
.
seriesConfigList
item
.
specificationData
=
temp
.
specificationData
break
break
}
}
}
}
})
})
console
.
log
(
this
.
goodsInfoData
.
goodsSpecificationList
,
'this.goodsInfoData.goodsSpecificationList'
)
},
},
// 校验型号
// 校验型号
handleTypeInput
(
newValue
,
index
)
{
handleTypeInput
(
newValue
,
index
)
{
...
@@ -780,6 +745,11 @@ export default {
...
@@ -780,6 +745,11 @@ export default {
color
:
#999999
;
color
:
#999999
;
}
}
}
}
.select
{
::v-deep
.el-select
.el-tag
{
max-width
:
77%
;
}
}
.w-320
{
.w-320
{
width
:
320px
!important
;
width
:
320px
!important
;
}
}
...
...
src/views/serviceConfig/extendedWarranty.vue
View file @
44a77dc
...
@@ -316,7 +316,7 @@ export default {
...
@@ -316,7 +316,7 @@ export default {
})
})
} else {
} else {
val?.detailList?.forEach((v, index) => {
val?.detailList?.forEach((v, index) => {
val.content = `
【
$
{
val
.
recordType
==
1
?
'删除'
:
'修改'
}
】
状态
:
$
{
val
.
useStatus
?
'禁用'
:
'启用'
}
,
`
val.content = `
【
$
{
val
.
recordType
==
1
?
'删除'
:
'修改'
}
】,
`
childContent = `
$
{
v
.
fieldName
}
由
$
{
v
.
beforeValue
}
$
{
v
.
valueUnit
||
''
}
变为
$
{
v
.
afterValue
}
$
{
v
.
valueUnit
||
''
}
$
{
index
<
val
?.
detailList
?.
length
-
1
?
','
:
''
}
`
childContent = `
$
{
v
.
fieldName
}
由
$
{
v
.
beforeValue
}
$
{
v
.
valueUnit
||
''
}
变为
$
{
v
.
afterValue
}
$
{
v
.
valueUnit
||
''
}
$
{
index
<
val
?.
detailList
?.
length
-
1
?
','
:
''
}
`
val.content += childContent
val.content += childContent
})
})
...
...
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