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 8ed3cbf7
authored
Aug 26, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修改传参结构
1 parent
8ec22121
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
6 deletions
pages/boutique/components/OrderCard.vue
pages/boutique/tool/components/ConfirmOrder.vue
pages/boutique/tool/components/OrderDetail.vue
pages/boutique/components/OrderCard.vue
View file @
8ed3cbf
...
@@ -225,7 +225,7 @@ export default {
...
@@ -225,7 +225,7 @@ export default {
?
this
.
showSelectType
({
?
this
.
showSelectType
({
item
item
})
})
:
this
.
$emit
(
'jump'
,
name
,
{
...
this
.
orderCardDetail
,
type
:
name
==
'CreateOrder'
?
'createWithPay'
:
''
})
:
this
.
$emit
(
'jump'
,
name
,
{
paramsData
:
this
.
orderCardDetail
,
type
:
name
==
'CreateOrder'
?
'createWithPay'
:
''
})
}
else
{
}
else
{
utils
.
showNoAccess
()
utils
.
showNoAccess
()
}
}
...
@@ -269,9 +269,9 @@ export default {
...
@@ -269,9 +269,9 @@ export default {
if
(
this
.
selectType
==
1
)
{
if
(
this
.
selectType
==
1
)
{
console
.
log
(
await
this
.
inspectionOfProhibitionBill
())
console
.
log
(
await
this
.
inspectionOfProhibitionBill
())
if
(
await
this
.
inspectionOfProhibitionBill
())
return
if
(
await
this
.
inspectionOfProhibitionBill
())
return
this
.
$emit
(
'jump'
,
'CreateOrder'
,
{
...
this
.
orderCardDetail
,
type
:
'createWithPay'
})
this
.
$emit
(
'jump'
,
'CreateOrder'
,
{
paramsData
:
this
.
orderCardDetail
,
type
:
'createWithPay'
})
}
else
{
}
else
{
this
.
$emit
(
'jump'
,
'DefeatOrder'
,
{
...
this
.
orderCardDetail
,
type
:
'createWithPay'
})
this
.
$emit
(
'jump'
,
'DefeatOrder'
,
{
paramsData
:
this
.
orderCardDetail
,
type
:
'createWithPay'
})
}
}
},
},
cancelSelection
()
{
cancelSelection
()
{
...
...
pages/boutique/tool/components/ConfirmOrder.vue
View file @
8ed3cbf
...
@@ -394,7 +394,7 @@ export default {
...
@@ -394,7 +394,7 @@ export default {
this
.
checkPayType
()
this
.
checkPayType
()
},
},
edit
()
{
edit
()
{
this
.
$emit
(
'jump'
,
'CreateOrder'
,
{
...
this
.
orderInfo
,
type
:
'editWithPay'
})
this
.
$emit
(
'jump'
,
'CreateOrder'
,
{
paramsData
:
this
.
orderInfo
,
type
:
'editWithPay'
})
},
},
confirmDate
(
date
)
{
confirmDate
(
date
)
{
const
{
chooseContent
}
=
date
const
{
chooseContent
}
=
date
...
@@ -772,6 +772,9 @@ export default {
...
@@ -772,6 +772,9 @@ export default {
font-size
:
toRpx
(
32
);
font-size
:
toRpx
(
32
);
font-weight
:
400
;
font-weight
:
400
;
margin-bottom
:
toRpx
(
20
);
margin-bottom
:
toRpx
(
20
);
.price
{
font-weight
:
500
;
}
}
}
.meal-bd
{
.meal-bd
{
background
:
#f6f7fa
;
background
:
#f6f7fa
;
...
...
pages/boutique/tool/components/OrderDetail.vue
View file @
8ed3cbf
...
@@ -28,6 +28,29 @@
...
@@ -28,6 +28,29 @@
<!-- 商品信息 -->
<!-- 商品信息 -->
<view
class=
"box-shell"
>
<view
class=
"box-shell"
>
<view
class=
"box-shell-title"
>
商品信息
</view>
<view
class=
"box-shell-title"
>
商品信息
</view>
<!-- 套餐 -->
<view
class=
"meal-box"
v-for=
"(item, index) in orderInfo.packageGoodsList"
>
<view
class=
"meal-hd flex justify-between align-center"
>
<view>
{{
item
.
packageAlias
||
item
.
packageName
}}
</view>
<view
class=
"price"
>
¥
{{
item
.
totalPrice
}}
</view>
</view>
<view
class=
"meal-bd"
>
<view
class=
"meal-bd-box"
v-for=
"g in item.packageGoodsOrderList"
>
<view
class=
"meal-bd-head flex justify-between align-center"
>
<view
class=
"flex align-center"
>
<view
class=
"name"
>
{{
g
.
upgradeGoodsAlias
||
g
.
upgradeGoodsName
}}
</view>
<view
class=
"meal-bd-bottom flex align-center"
>
{{
g
.
upgradeGoodsType
===
1
?
g
.
positionStr
:
g
.
upgradeGoodsTypeName
}}
<view
class=
"count"
>
x
{{
g
.
number
}}
</view>
</view>
</view>
<view
class=
"price"
>
¥
{{
g
.
price
}}
</view>
</view>
</view>
</view>
</view>
<view
class=
"good-list"
>
<view
class=
"good-list"
>
<view
class=
"good"
v-for=
"(item, index) in orderInfo.subOrderList"
:key=
"index"
>
<view
class=
"good"
v-for=
"(item, index) in orderInfo.subOrderList"
:key=
"index"
>
<view
class=
"flex justify-between align-center"
>
<view
class=
"flex justify-between align-center"
>
...
@@ -180,7 +203,7 @@
...
@@ -180,7 +203,7 @@
</view>
</view>
</view>
</view>
<view
class=
"flex align-center footer-box justify-center"
>
<view
class=
"flex align-center footer-box justify-center"
v-if=
"isMake"
>
<view
class=
"edit btn flex-1"
@
click=
"repeal"
>
撤销工单
</view>
<view
class=
"edit btn flex-1"
@
click=
"repeal"
>
撤销工单
</view>
</view>
</view>
<!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 -->
<!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 -->
...
@@ -220,7 +243,8 @@ export default {
...
@@ -220,7 +243,8 @@ export default {
failCustomerService
:
'../images/kfrefresh.png'
,
failCustomerService
:
'../images/kfrefresh.png'
,
warrantyCardVisible
:
true
,
warrantyCardVisible
:
true
,
signatureSwitch
:
false
,
//不需要走签名逻辑 没有开启签名功能或则是战败订单
signatureSwitch
:
false
,
//不需要走签名逻辑 没有开启签名功能或则是战败订单
warrantyCardList
:
[]
warrantyCardList
:
[],
isMake
:
true
}
}
},
},
async
mounted
()
{
async
mounted
()
{
...
@@ -228,6 +252,9 @@ export default {
...
@@ -228,6 +252,9 @@ export default {
let
baseConfigData
=
await
this
.
setConfigInfo
(
getApp
().
globalData
)
let
baseConfigData
=
await
this
.
setConfigInfo
(
getApp
().
globalData
)
this
.
baseConfigData
=
baseConfigData
this
.
baseConfigData
=
baseConfigData
this
.
getDetail
(
this
.
transmissionOfData
.
orderCode
)
this
.
getDetail
(
this
.
transmissionOfData
.
orderCode
)
const
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
console
.
log
(
userInfo
)
this
.
isMake
=
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
||
userInfo
.
loginRole
==
5
||
userInfo
?.
loginRole
==
6
||
userInfo
?.
loginRole
==
7
)
},
},
methods
:
{
methods
:
{
replaceItemText
(
item
)
{
replaceItemText
(
item
)
{
...
@@ -649,6 +676,51 @@ export default {
...
@@ -649,6 +676,51 @@ export default {
color
:
#333333
;
color
:
#333333
;
font-weight
:
400
;
font-weight
:
400
;
}
}
.meal-box
{
border-radius
:
toRpx
(
24
);
border
:
toRpx
(
2
)
solid
#dce0e6
;
padding
:
toRpx
(
24
)
toRpx
(
32
);
box-sizing
:
border-box
;
margin-top
:
toRpx
(
16
);
.meal-hd
{
color
:
#333333
;
font-size
:
toRpx
(
32
);
font-weight
:
400
;
margin-bottom
:
toRpx
(
20
);
.price
{
font-weight
:
500
;
}
}
.meal-bd
{
background
:
#f6f7fa
;
border-radius
:
toRpx
(
16
);
padding
:
0
toRpx
(
32
);
box-sizing
:
border-box
;
.meal-bd-head
{
border-bottom
:
toRpx
(
2
)
solid
#dce0e6
;
padding
:
toRpx
(
24
)
0
;
.name
{
color
:
#333333
;
font-size
:
toRpx
(
28
);
font-weight
:
400
;
}
.meal-bd-bottom
{
color
:
#999999
;
font-size
:
toRpx
(
24
);
font-weight
:
400
;
margin-left
:
toRpx
(
8
);
}
.price
{
color
:
#333333
;
font-size
:
toRpx
(
28
);
font-weight
:
400
;
}
}
.meal-bd-box
:last-child
.meal-bd-head
{
border-bottom
:
none
;
}
}
}
.good-list
{
.good-list
{
margin-top
:
toRpx
(
16
);
margin-top
:
toRpx
(
16
);
.good
{
.good
{
...
...
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