Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b2b78254
authored
Aug 28, 2025
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改战败
1 parent
934f8307
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
pages/boutique/tool/components/DefeatOrder.vue
pages/boutique/tool/components/DefeatOrder.vue
View file @
b2b7825
...
...
@@ -6,8 +6,25 @@
<view
class=
"box-content"
>
<GlCell
:formList=
"formList"
:formData=
"orderObj"
@
radioChange=
"radioChange"
@
inputBlur=
"inputBlur"
@
handleCell=
"handleCell"
>
<!-- 使用v-for循环渲染产品组件,减少重复代码 -->
<template
v-for=
"(_, slotName) in productSlots"
:slot=
"slotName"
>
<Product
:key=
"slotName"
:isDisabled=
"true"
v-if=
"orderObj[slotName] && orderObj[slotName].length"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj[slotName]"
:positionTypeList=
"positionTypeList"
:baseConfigData=
"baseConfigData"
></Product>
<template
slot=
"frontGear"
>
<Product
v-if=
"orderObj.frontGear"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.frontGear"
:positionTypeList=
"positionTypeList"
:baseConfigData=
"baseConfigData"
></Product>
</
template
>
<
template
slot=
"frontWindow"
>
<Product
v-if=
"orderObj.frontWindow"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.frontWindow"
:positionTypeList=
"positionTypeList"
:baseConfigData=
"baseConfigData"
></Product>
</
template
>
<
template
slot=
"rearWindow"
>
<Product
v-if=
"orderObj.rearWindow"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.rearWindow"
:positionTypeList=
"positionTypeList"
:baseConfigData=
"baseConfigData"
></Product>
</
template
>
<
template
slot=
"rearGear"
>
<Product
v-if=
"orderObj.rearGear"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.rearGear"
:positionTypeList=
"positionTypeList"
:baseConfigData=
"baseConfigData"
></Product>
</
template
>
<
template
slot=
"sunRoof"
>
<Product
v-if=
"orderObj.sunRoof"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.sunRoof"
:positionTypeList=
"positionTypeList"
:baseConfigData=
"baseConfigData"
></Product>
</
template
>
<
template
slot=
"package"
>
<Package
v-if=
"orderObj.package"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.package"
:positionTypeList=
"positionTypeList"
></Package>
...
...
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