Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
黄庭坚
jinfa-platform
Commits
54df55d8
Commit
54df55d8
authored
May 27, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix: 修复物流单BUG
parent
c52bac5f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
144 additions
and
142 deletions
+144
-142
confirmModal.tsx
src/pages/logistics/components/confirmModal.tsx
+5
-1
orderSearchDetail.tsx
src/pages/logistics/components/orderSearchDetail.tsx
+0
-0
basicInfo.tsx
...ion/inquiryQuote/addInquiryOrder/components/basicInfo.tsx
+2
-3
index.tsx
src/pages/transaction/inquiryQuote/enquiryOrder/index.tsx
+137
-138
No files found.
src/pages/logistics/components/confirmModal.tsx
View file @
54df55d8
import
React
,
{
Component
,
useState
,
useEffect
}
from
'react'
;
import
{
Modal
,
Button
,
Form
}
from
'antd'
import
{
Modal
,
Button
,
Form
,
message
}
from
'antd'
import
{
SchemaForm
,
SchemaMarkupField
as
Field
,
createFormActions
,
...
...
@@ -28,6 +28,10 @@ const comfirmDialog: React.FC<Params> = (props) => {
if
(
props
.
freightPrice
)
{
value
.
freightPrice
=
props
.
freightPrice
}
if
(
value
.
status
===
4
&&
!
props
.
freightPrice
)
{
message
.
warning
(
'请关闭弹框,输入运费'
)
return
}
PublicApi
.
postLogisticsOrderWaitConfirmConfirm
(
value
).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
props
.
onOK
()
...
...
src/pages/logistics/components/orderSearchDetail.tsx
View file @
54df55d8
This diff is collapsed.
Click to expand it.
src/pages/transaction/inquiryQuote/addInquiryOrder/components/basicInfo.tsx
View file @
54df55d8
...
...
@@ -33,7 +33,6 @@ const BasicInfo: React.FC<queryProps> = (props) => {
const
handleOkAddMember
=
()
=>
{
if
(
inquiryRowCtl
.
selectRow
.
length
>
0
)
{
setVisibleChannelMember
(
false
)
console
.
log
(
inquiryRowCtl
.
selectRow
[
0
])
setinquiryNo
(
inquiryRowCtl
.
selectRow
[
0
]);
getMemberList
(
inquiryRowCtl
.
selectRow
[
0
]);
// 回传给父级
}
...
...
@@ -145,8 +144,8 @@ const BasicInfo: React.FC<queryProps> = (props) => {
<
Form
.
Item
label=
'报价单号'
name=
'quotationNo'
>
<
span
>
{
Object
.
keys
(
editData
).
length
>
0
?
editData
.
quotationNo
:
'-'
}
</
span
>
</
Form
.
Item
>
<
Form
.
Item
label=
'询价会员'
name=
'
m
emberName'
>
<
span
>
{
Object
.
keys
(
editData
).
length
>
0
?
editData
.
memberName
:
'-'
}
</
span
>
<
Form
.
Item
label=
'询价会员'
name=
'
inquiryListM
emberName'
>
<
span
>
{
Object
.
keys
(
editData
).
length
>
0
?
(
editData
.
inquiryListMemberName
||
editData
.
memberName
)
:
'-'
}
</
span
>
</
Form
.
Item
>
<
Form
.
Item
label=
'报价截止时间'
name=
'quotationAsTime'
>
<
span
>
{
Object
.
keys
(
editData
).
length
>
0
?
format
(
editData
.
quotationAsTime
)
:
'-'
}
</
span
>
...
...
src/pages/transaction/inquiryQuote/enquiryOrder/index.tsx
View file @
54df55d8
This diff is collapsed.
Click to expand it.
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