Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
web-ci-test
Commits
345ba470
提交
345ba470
authored
7月 06, 2023
作者:
ZhangLingKun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
功能:租赁商品下单显示价格
上级
b2ab0329
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
+5
-5
index.tsx
...quipmentLeasing/detail/components/orderForGoods/index.tsx
+5
-5
没有找到文件。
pages/equipmentLeasing/detail/components/orderForGoods/index.tsx
浏览文件 @
345ba470
...
@@ -52,11 +52,11 @@ export default function OrderForGoods(props: PropsBox) {
...
@@ -52,11 +52,11 @@ export default function OrderForGoods(props: PropsBox) {
takeName
:
list
[
value
]?.
takeName
,
takeName
:
list
[
value
]?.
takeName
,
takePhone
:
Number
(
list
[
value
]?.
takePhone
),
takePhone
:
Number
(
list
[
value
]?.
takePhone
),
},
},
rentPrice
:
discount
?.
specPrice
[
0
]?.
price
!
*
shopDetail
?.
num
!
*
days
!
||
0
,
rentPrice
:
getSpecPrice
()
*
shopDetail
?.
num
!
*
days
!
||
0
,
returnDate
:
moment
(
new
Date
(
shopDetail
.
dateDetail
[
1
]).
getTime
()
+
864
e5
).
format
(
returnDate
:
moment
(
new
Date
(
shopDetail
.
dateDetail
[
1
]).
getTime
()
+
864
e5
).
format
(
'YYYY-MM-DD'
,
'YYYY-MM-DD'
,
),
),
shouldPay
:
discount
?.
specPrice
[
0
]?.
price
!
*
shopDetail
?.
num
!
*
days
!
||
0
,
shouldPay
:
getSpecPrice
()
*
shopDetail
?.
num
!
*
days
!
||
0
,
specsId
:
wareSkuList
[
0
].
productSpec
,
specsId
:
wareSkuList
[
0
].
productSpec
,
startDate
:
moment
(
new
Date
(
shopDetail
.
dateDetail
[
0
]
!
)).
format
(
'YYYY-MM-DD'
),
startDate
:
moment
(
new
Date
(
shopDetail
.
dateDetail
[
0
]
!
)).
format
(
'YYYY-MM-DD'
),
wareDescription
:
detailData
.
goodsName
,
wareDescription
:
detailData
.
goodsName
,
...
@@ -70,12 +70,12 @@ export default function OrderForGoods(props: PropsBox) {
...
@@ -70,12 +70,12 @@ export default function OrderForGoods(props: PropsBox) {
api
.
FeignAddLease
(
pushList
).
then
((
res
)
=>
{
api
.
FeignAddLease
(
pushList
).
then
((
res
)
=>
{
if
(
res
.
code
===
'200'
)
{
if
(
res
.
code
===
'200'
)
{
message
.
success
(
'提交成功'
);
message
.
success
(
'提交成功'
)
.
then
()
;
setPaymentDetail
(
res
.
result
);
setPaymentDetail
(
res
.
result
);
// setIsPaymentOpen(true)
// setIsPaymentOpen(true)
setIsOrderForGoods
(
false
);
setIsOrderForGoods
(
false
);
}
else
{
}
else
{
message
.
error
(
res
.
message
);
message
.
error
(
res
.
message
)
.
then
()
;
}
}
});
});
}
}
...
@@ -262,7 +262,7 @@ export default function OrderForGoods(props: PropsBox) {
...
@@ -262,7 +262,7 @@ export default function OrderForGoods(props: PropsBox) {
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
'body-item'
style=
{
{
width
:
130
}
}
>
<
div
className=
'body-item'
style=
{
{
width
:
130
}
}
>
{
discount
?.
specPrice
[
0
]?.
price
||
0
}
{
getSpecPrice
()
||
0
}
</
div
>
</
div
>
<
div
className=
'body-item'
style=
{
{
width
:
130
}
}
>
<
div
className=
'body-item'
style=
{
{
width
:
130
}
}
>
{
shopDetail
?.
num
||
1
}
{
shopDetail
?.
num
||
1
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论