Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
merchant-manage-ui
Commits
509670c5
Commit
509670c5
authored
Aug 25, 2022
by
李腾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 我的订单增加商品id字段展示
parent
98c01432
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
11 deletions
+17
-11
env.config.js
config/env.config.js
+7
-7
const.js
src/pages/orderManage/queryOrder/const.js
+4
-0
index.jsx
src/pages/orderManage/queryOrder/index.jsx
+3
-4
index.less
src/pages/orderManage/queryOrder/index.less
+3
-0
No files found.
config/env.config.js
View file @
509670c5
...
@@ -2,17 +2,17 @@ const isProduction = process.env.NODE_ENV === 'production';
...
@@ -2,17 +2,17 @@ const isProduction = process.env.NODE_ENV === 'production';
const
isPre
=
process
.
env
.
PRE_ENV
===
'
pre
'
;
const
isPre
=
process
.
env
.
PRE_ENV
===
'
pre
'
;
const
envAPi
=
{
const
envAPi
=
{
api
:
'
https://backstms-
ds
.liangkebang.net
'
,
api
:
'
https://backstms-
xyqb
.liangkebang.net
'
,
kdspOpApi
:
'
https://sc-merchant-api-
ds
.liangkebang.net
'
,
kdspOpApi
:
'
https://sc-merchant-api-
xyqb
.liangkebang.net
'
,
kdspApi
:
'
https://sc-merchant-api-
ds
.liangkebang.net
'
,
kdspApi
:
'
https://sc-merchant-api-
xyqb
.liangkebang.net
'
,
goodsApi
:
'
https://sc-merchant-api-
ds
.liangkebang.net
'
,
goodsApi
:
'
https://sc-merchant-api-
xyqb
.liangkebang.net
'
,
// kdspOpApi: 'https://kdsp-operation-xyqb.liangkebang.net',
// kdspOpApi: 'https://kdsp-operation-xyqb.liangkebang.net',
// kdspApi: 'https://sc-op-api-xyqb.liangkebang.net',
// kdspApi: 'https://sc-op-api-xyqb.liangkebang.net',
// goodsApi: 'https://sc-op-api-xyqb.liangkebang.net',
// goodsApi: 'https://sc-op-api-xyqb.liangkebang.net',
querysApi
:
'
https://sc-settlement-api-
ds
.liangkebang.net
'
,
querysApi
:
'
https://sc-settlement-api-
xyqb
.liangkebang.net
'
,
prologueDomain
:
'
https://mall-
ds
.liangkebang.net
'
,
prologueDomain
:
'
https://mall-
xyqb
.liangkebang.net
'
,
qiniuHost
:
'
https://kdspstatic.q-gp.com/
'
,
qiniuHost
:
'
https://kdspstatic.q-gp.com/
'
,
opapiHost
:
'
https://opapi-
ds
.liangkebang.net
'
,
opapiHost
:
'
https://opapi-
xyqb
.liangkebang.net
'
,
};
};
const
prodApi
=
{
const
prodApi
=
{
...
...
src/pages/orderManage/queryOrder/const.js
View file @
509670c5
...
@@ -24,6 +24,10 @@ export const ORDER_SEARCH_TYPE = [
...
@@ -24,6 +24,10 @@ export const ORDER_SEARCH_TYPE = [
value
:
'
userMobile4
'
,
value
:
'
userMobile4
'
,
name
:
'
买家手机号后四位
'
,
name
:
'
买家手机号后四位
'
,
},
},
{
value
:
'
receiverMobile
'
,
name
:
'
收货人手机号
'
,
},
{
{
value
:
'
receiverMobile4
'
,
value
:
'
receiverMobile4
'
,
name
:
'
收货人手机号后四位
'
,
name
:
'
收货人手机号后四位
'
,
...
...
src/pages/orderManage/queryOrder/index.jsx
View file @
509670c5
...
@@ -61,10 +61,8 @@ const OrderList = ref => {
...
@@ -61,10 +61,8 @@ const OrderList = ref => {
skuName
,
skuName
,
productType
,
productType
,
orderStatus
,
orderStatus
,
// 测试字段
...
pagination
,
...
pagination
,
};
};
console
.
log
(
searchParams
);
setLoading
(
true
);
setLoading
(
true
);
queryOrderList
(
searchParams
).
then
(
res
=>
{
queryOrderList
(
searchParams
).
then
(
res
=>
{
setLoading
(
false
);
setLoading
(
false
);
...
@@ -223,13 +221,14 @@ const OrderList = ref => {
...
@@ -223,13 +221,14 @@ const OrderList = ref => {
align
:
'
left
'
,
align
:
'
left
'
,
width
:
350
,
width
:
350
,
render
:
({
value
,
subRecord
})
=>
{
render
:
({
value
,
subRecord
})
=>
{
const
{
primaryImage
,
skuSpec
}
=
subRecord
;
const
{
primaryImage
,
skuSpec
,
spuId
}
=
subRecord
;
return
(
return
(
<
div
className=
{
style
[
'
sku-info
'
]
}
>
<
div
className=
{
style
[
'
sku-info
'
]
}
>
<
img
src=
{
primaryImage
}
width=
"50px"
height=
"50px"
alt=
""
/>
<
img
src=
{
primaryImage
}
width=
"50px"
height=
"50px"
alt=
""
/>
<
div
className=
{
style
[
'
sku-info__box
'
]
}
>
<
div
className=
{
style
[
'
sku-info__box
'
]
}
>
<
p
className=
{
style
[
'
sku-info__box--name
'
]
}
>
{
value
}
</
p
>
<
p
className=
{
style
[
'
sku-info__box--name
'
]
}
>
{
value
}
</
p
>
<
p
className=
{
style
[
'
sku-info__box--spec
'
]
}
>
{
skuSpec
}
</
p
>
<
p
className=
{
style
[
'
sku-info__box--spec
'
]
}
>
规格:
{
skuSpec
}
</
p
>
<
p
className=
{
style
[
'
sku-info__box--id
'
]
}
>
商品id:
{
spuId
}
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
);
);
...
...
src/pages/orderManage/queryOrder/index.less
View file @
509670c5
...
@@ -42,6 +42,9 @@
...
@@ -42,6 +42,9 @@
&--spec {
&--spec {
color: #999;
color: #999;
}
}
&--id {
color: #999;
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment