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 3f99d20b
authored
Aug 27, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 工单确认修改参数
1 parent
ee62ac81
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
components/PublishPopup.vue
pages/boutique/tool/components/ConfirmOrder.vue
pages/boutique/tool/components/OrderDetail.vue
components/PublishPopup.vue
View file @
3f99d20
...
@@ -90,7 +90,7 @@ export default {
...
@@ -90,7 +90,7 @@ export default {
closePopup
()
{
closePopup
()
{
this
.
$refs
.
publishPopup
.
close
()
this
.
$refs
.
publishPopup
.
close
()
if
(
this
.
reject
)
{
if
(
this
.
reject
)
{
this
.
re
ject
(
)
this
.
re
solve
(
'关闭'
)
}
}
this
.
$emit
(
'close'
)
this
.
$emit
(
'close'
)
},
},
...
...
pages/boutique/tool/components/ConfirmOrder.vue
View file @
3f99d20
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</view>
</view>
</view>
</view>
<view
class=
"good-list"
>
<view
class=
"good-list"
>
<view
class=
"good"
v-for=
"(item, index) in orderInfo.subOrderList"
>
<view
class=
"good
pt-16
"
v-for=
"(item, index) in orderInfo.subOrderList"
>
<view
class=
"flex justify-between align-center"
>
<view
class=
"flex justify-between align-center"
>
<text
class=
"good-name"
>
商品名称:
{{
replaceItemText
(
item
.
upgradeGoodsName
)
||
''
}}
</text>
<text
class=
"good-name"
>
商品名称:
{{
replaceItemText
(
item
.
upgradeGoodsName
)
||
''
}}
</text>
<text
class=
"good-price"
>
¥
{{
item
.
price
}}
</text>
<text
class=
"good-price"
>
¥
{{
item
.
price
}}
</text>
...
@@ -305,6 +305,12 @@ export default {
...
@@ -305,6 +305,12 @@ export default {
})
})
total_price
+=
item
.
totalPrice
total_price
+=
item
.
totalPrice
})
})
// 处理subOrderList 商品为空的情况
data
.
subOrderList
=
data
.
subOrderList
.
filter
(
item
=>
item
.
merchantGoodsId
)
if
(
data
.
packageGoodsList
&&
data
.
packageGoodsList
.
length
)
{
data
.
subOrderList
=
data
.
subOrderList
.
concat
(
data
.
packageGoodsList
)
}
data
=
{
data
=
{
...
data
.
customer
,
...
data
.
customer
,
...
data
.
payOrder
,
...
data
.
payOrder
,
...
@@ -369,7 +375,7 @@ export default {
...
@@ -369,7 +375,7 @@ export default {
let
params
=
{
let
params
=
{
orderCode
orderCode
}
}
let
{
total_price
}
=
this
.
data
.
orderInfo
let
{
total_price
}
=
this
.
orderInfo
uni
.
$api
.
boutiqueApi
.
getPackageGoodsDetail
(
params
).
then
(
res
=>
{
uni
.
$api
.
boutiqueApi
.
getPackageGoodsDetail
(
params
).
then
(
res
=>
{
res
.
data
?.
packageGoodsList
.
forEach
(
item
=>
{
res
.
data
?.
packageGoodsList
.
forEach
(
item
=>
{
...
...
pages/boutique/tool/components/OrderDetail.vue
View file @
3f99d20
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<view
class=
"box-shell"
>
<view
class=
"box-shell"
>
<view
class=
"box-shell-title"
>
工单信息
</view>
<view
class=
"box-shell-title"
>
工单信息
</view>
<view
class=
"order-info pt-16"
>
<view
class=
"order-info pt-16"
>
<view
v-for=
"(item, index) in orderObj"
:key=
"index"
class=
"flex align-center pt-
8
"
>
<view
v-for=
"(item, index) in orderObj"
:key=
"index"
class=
"flex align-center pt-
16
"
>
<view
class=
"label"
>
{{
item
.
label
}}
</view>
<view
class=
"label"
>
{{
item
.
label
}}
</view>
<view
v-if=
"item.key == 'status'"
>
<view
v-if=
"item.key == 'status'"
>
<view
class=
"value"
:style=
"
{ color: status[orderInfo.status].color || '' }">
<view
class=
"value"
:style=
"
{ color: status[orderInfo.status].color || '' }">
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
<view
class=
"box-shell"
>
<view
class=
"box-shell"
>
<view
class=
"box-shell-title"
>
客户信息
</view>
<view
class=
"box-shell-title"
>
客户信息
</view>
<view
class=
"order-info pt-16"
>
<view
class=
"order-info pt-16"
>
<view
class=
"flex align-center pt-
8
"
v-for=
"(item, index) in customerObj"
:key=
"index"
>
<view
class=
"flex align-center pt-
16
"
v-for=
"(item, index) in customerObj"
:key=
"index"
>
<view
class=
"label"
>
{{
item
.
label
}}
</view>
<view
class=
"label"
>
{{
item
.
label
}}
</view>
<view
class=
"value"
:style=
"
{ color: item.color || '#333' }">
<view
class=
"value"
:style=
"
{ color: item.color || '#333' }">
<view
v-if=
"item.arr"
>
<view
v-if=
"item.arr"
>
...
...
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