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
1ea8e835
Commit
1ea8e835
authored
Jul 28, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:
parent
7a784779
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
38 deletions
+39
-38
index.tsx
...ts/orderHandDeleved/components/productTableCell/index.tsx
+4
-4
index.tsx
src/pages/transaction/components/orderMergeInfo/index.tsx
+1
-1
index.tsx
src/pages/transaction/components/orderSaleRecord/index.tsx
+31
-31
index.tsx
...Order/orderCollect/components/productModalTable/index.tsx
+2
-1
useSelfTable.tsx
...saleOrder/readyConfirmDelevedOrder/model/useSelfTable.tsx
+1
-1
No files found.
src/pages/transaction/components/orderHandDeleved/components/productTableCell/index.tsx
View file @
1ea8e835
...
@@ -89,10 +89,10 @@ export const ProductTableCell:React.FC<ProductTableCellProps> = ({
...
@@ -89,10 +89,10 @@ export const ProductTableCell:React.FC<ProductTableCellProps> = ({
pattern
:
/^
\d
+
(\.\d
{1,3}
)?
$/
,
pattern
:
/^
\d
+
(\.\d
{1,3}
)?
$/
,
message
:
`数量仅限三位小数`
,
message
:
`数量仅限三位小数`
,
},
},
{
//
{
min
:
0
,
//
min: 0,
message
:
`数量大于等于0`
,
//
message: `数量大于等于0`,
},
//
},
]
}
]
}
>
>
{
chooseFormItem
(
formItem
)
}
{
chooseFormItem
(
formItem
)
}
...
...
src/pages/transaction/components/orderMergeInfo/index.tsx
View file @
1ea8e835
...
@@ -107,7 +107,7 @@ const OrderMergeInfo: React.FC<OrderMergeInfoProps> = (props) => {
...
@@ -107,7 +107,7 @@ const OrderMergeInfo: React.FC<OrderMergeInfoProps> = (props) => {
<
Col
span=
{
4
}
style=
{
{
fontSize
:
12
,
color
:
"#909399"
}
}
>
纳税号:
</
Col
><
Col
span=
{
20
}
>
{
invoice
?.
taxNo
}
</
Col
>
<
Col
span=
{
4
}
style=
{
{
fontSize
:
12
,
color
:
"#909399"
}
}
>
纳税号:
</
Col
><
Col
span=
{
20
}
>
{
invoice
?.
taxNo
}
</
Col
>
<
Col
span=
{
4
}
style=
{
{
fontSize
:
12
,
color
:
"#909399"
}
}
>
开户行:
</
Col
><
Col
span=
{
20
}
>
{
invoice
?.
bank
}
</
Col
>
<
Col
span=
{
4
}
style=
{
{
fontSize
:
12
,
color
:
"#909399"
}
}
>
开户行:
</
Col
><
Col
span=
{
20
}
>
{
invoice
?.
bank
}
</
Col
>
<
Col
span=
{
4
}
style=
{
{
fontSize
:
12
,
color
:
"#909399"
}
}
>
账号:
</
Col
><
Col
span=
{
20
}
>
{
invoice
?.
account
}
</
Col
>
<
Col
span=
{
4
}
style=
{
{
fontSize
:
12
,
color
:
"#909399"
}
}
>
账号:
</
Col
><
Col
span=
{
20
}
>
{
invoice
?.
account
}
</
Col
>
<
Col
span=
{
4
}
style=
{
{
fontSize
:
12
,
color
:
"#909399"
}
}
>
地址:
</
Col
><
Col
span=
{
20
}
>
{
invoice
?.
addres
}
</
Col
>
<
Col
span=
{
4
}
style=
{
{
fontSize
:
12
,
color
:
"#909399"
}
}
>
地址:
</
Col
><
Col
span=
{
20
}
>
{
invoice
?.
addres
s
}
</
Col
>
<
Col
span=
{
4
}
style=
{
{
fontSize
:
12
,
color
:
"#909399"
}
}
>
电话:
</
Col
><
Col
span=
{
20
}
>
{
invoice
?.
phone
}
</
Col
>
<
Col
span=
{
4
}
style=
{
{
fontSize
:
12
,
color
:
"#909399"
}
}
>
电话:
</
Col
><
Col
span=
{
20
}
>
{
invoice
?.
phone
}
</
Col
>
</
Row
>
</
Row
>
</
Modal
>
</
Modal
>
...
...
src/pages/transaction/components/orderSaleRecord/index.tsx
View file @
1ea8e835
...
@@ -124,9 +124,9 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => {
...
@@ -124,9 +124,9 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => {
},
},
{
{
title
:
'商品名称'
,
title
:
'商品名称'
,
dataIndex
:
'
productN
ame'
,
dataIndex
:
'
n
ame'
,
align
:
'center'
,
align
:
'center'
,
key
:
'
productN
ame'
,
key
:
'
n
ame'
,
},
},
{
{
title
:
'品类'
,
title
:
'品类'
,
...
@@ -148,50 +148,50 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => {
...
@@ -148,50 +148,50 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => {
},
},
{
{
title
:
creditsCommodity
?
'兑换数量'
:
'采购数量'
,
title
:
creditsCommodity
?
'兑换数量'
:
'采购数量'
,
dataIndex
:
'
purchaseCount
'
,
dataIndex
:
'
quantity
'
,
align
:
'center'
,
align
:
'center'
,
key
:
'
purchaseCount
'
,
key
:
'
quantity
'
,
},
},
{
{
title
:
'发货数量'
,
title
:
'发货数量'
,
dataIndex
:
'deliver
GoodsCount
'
,
dataIndex
:
'deliver
ed
'
,
align
:
'center'
,
align
:
'center'
,
key
:
'deliver
GoodsCount
'
,
key
:
'deliver
ed
'
,
},
},
{
{
title
:
'
入库
数量'
,
title
:
'
收货
数量'
,
dataIndex
:
'
storageCount
'
,
dataIndex
:
'
received
'
,
align
:
'center'
,
align
:
'center'
,
key
:
'
storageCount
'
,
key
:
'
received
'
,
},
},
{
{
title
:
'差异数量'
,
title
:
'差异数量'
,
dataIndex
:
'differ
ence
Count'
,
dataIndex
:
'differCount'
,
align
:
'center'
,
align
:
'center'
,
key
:
'differ
ence
Count'
,
key
:
'differCount'
,
},
},
]
]
const
sideOrderCols
:
any
[]
=
[
const
sideOrderCols
:
any
[]
=
[
{
{
title
:
'发货批次'
,
title
:
'发货批次'
,
dataIndex
:
'
deliveryBatch
'
,
dataIndex
:
'
batchNo
'
,
align
:
'center'
,
align
:
'center'
,
key
:
'
deliveryBatch
'
key
:
'
batchNo
'
},
},
{
{
title
:
'发货单号'
,
title
:
'发货单号'
,
dataIndex
:
'deliveryNo'
,
dataIndex
:
'deliveryNo'
,
align
:
'center'
,
align
:
'center'
,
key
:
'deliveryNo'
,
key
:
'deliveryNo'
,
render
:
text
=>
<
a
target=
"blank"
href=
{
`/memberCenter/tranactionAbility/stockSellStorage/bills/detail?invoicesNo=${text}`
}
>
{
text
}
</
a
>
//
render: text => <a target="blank" href={`/memberCenter/tranactionAbility/stockSellStorage/bills/detail?invoicesNo=${text}`}>{text}</a>
},
},
{
{
title
:
'发货时间'
,
title
:
'发货时间'
,
dataIndex
:
'
delivery
Time'
,
dataIndex
:
'
create
Time'
,
align
:
'center'
,
align
:
'center'
,
key
:
'
delivery
Time'
,
key
:
'
create
Time'
,
render
:
text
=>
formatTimeString
(
text
)
//
render: text => formatTimeString(text)
},
},
{
{
title
:
'物流单号'
,
title
:
'物流单号'
,
...
@@ -202,29 +202,29 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => {
...
@@ -202,29 +202,29 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => {
},
},
{
{
title
:
'物流公司'
,
title
:
'物流公司'
,
dataIndex
:
'
logisticsCompanyName
'
,
dataIndex
:
'
company
'
,
align
:
'center'
,
align
:
'center'
,
key
:
'
logisticsCompanyName
'
key
:
'
company
'
},
},
{
{
title
:
'
入库
单号'
,
title
:
'
收货
单号'
,
dataIndex
:
'
storage
No'
,
dataIndex
:
'
receipt
No'
,
align
:
'center'
,
align
:
'center'
,
key
:
'
storage
No'
,
key
:
'
receipt
No'
,
},
},
{
{
title
:
'
入库
时间'
,
title
:
'
收货
时间'
,
dataIndex
:
'
storage
Time'
,
dataIndex
:
'
receipt
Time'
,
align
:
'center'
,
align
:
'center'
,
key
:
'
storage
Time'
,
key
:
'
receipt
Time'
,
render
:
text
=>
formatTimeString
(
text
)
//
render: text => formatTimeString(text)
},
},
{
{
title
:
'内部状态'
,
title
:
'内部状态'
,
dataIndex
:
'in
teriorStat
e'
,
dataIndex
:
'in
nerStatusNam
e'
,
align
:
'center'
,
align
:
'center'
,
key
:
'in
teriorStat
e'
,
key
:
'in
nerStatusNam
e'
,
render
:
text
=>
<
StatusColors
type=
'deliveInside'
status=
{
text
}
/>
//
render: text => <StatusColors type='deliveInside' status={text}/>
},
},
{
{
title
:
'操作'
,
title
:
'操作'
,
...
@@ -232,8 +232,8 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => {
...
@@ -232,8 +232,8 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => {
align
:
'center'
,
align
:
'center'
,
key
:
'ctl'
,
key
:
'ctl'
,
render
:
(
text
,
record
)
=>
<>
render
:
(
text
,
record
)
=>
<>
{
!
isPreview
&&
isReturn
&&
!
dataRef
.
current
.
includes
(
record
.
id
)
&&
record
.
interiorState
===
DeliverySideState
.
CONFIRM_RECEIPT_ORDER
&&
<
Button
type=
'link'
disabled=
{
disabled
}
onClick=
{
()
=>
handleReturn
(
record
)
}
>
确认回单
</
Button
>
}
{
!
isPreview
&&
isReturn
&&
record
.
showReply
&&
<
Button
type=
'link'
disabled=
{
disabled
}
onClick=
{
()
=>
handleReturn
(
record
)
}
>
确认回单
</
Button
>
}
{
!
isPreview
&&
isDeleved
&&
!
dataRef
.
current
.
includes
(
record
.
id
)
&&
record
.
interiorState
===
DeliverySideState
.
ADD_LOGISTICS_ORDER
&&
<
Button
type=
'link'
disabled=
{
disabled
}
onClick=
{
()
=>
handleConfirm
(
record
)
}
>
确认发货
</
Button
>
}
{
!
isPreview
&&
isDeleved
&&
record
.
showDelivery
&&
<
Button
type=
'link'
disabled=
{
disabled
}
onClick=
{
()
=>
handleConfirm
(
record
)
}
>
确认发货
</
Button
>
}
</>
</>
},
},
]
]
...
...
src/pages/transaction/purchaseOrder/orderCollect/components/productModalTable/index.tsx
View file @
1ea8e835
...
@@ -74,7 +74,8 @@ const orderProductShopTypeMaps = {
...
@@ -74,7 +74,8 @@ const orderProductShopTypeMaps = {
export
const
AddressPop
=
(
props
)
=>
{
export
const
AddressPop
=
(
props
)
=>
{
const
{
pickInfo
=
null
,
children
}
=
props
const
{
pickInfo
=
null
,
children
}
=
props
return
pickInfo
&&
pickInfo
.
deliveryType
===
2
?
<
Space
>
console
.
log
(
pickInfo
)
return
pickInfo
&&
pickInfo
.
deliverType
===
2
?
<
Space
>
<
EnvironmentOutlined
style=
{
{
marginRight
:
8
}
}
/>
<
EnvironmentOutlined
style=
{
{
marginRight
:
8
}
}
/>
<
Popover
content=
{
<
Popover
content=
{
<
Row
>
<
Row
>
...
...
src/pages/transaction/saleOrder/readyConfirmDelevedOrder/model/useSelfTable.tsx
View file @
1ea8e835
...
@@ -62,7 +62,7 @@ export const useSelfTable = () => {
...
@@ -62,7 +62,7 @@ export const useSelfTable = () => {
align
:
'center'
,
align
:
'center'
,
dataIndex
:
'deliveryNo'
,
dataIndex
:
'deliveryNo'
,
key
:
'deliveryNo'
,
key
:
'deliveryNo'
,
render
:
(
text
,
record
)
=>
<
Link
to=
{
`/memberCenter/tranactionAbility/stockSellStorage/bills/detail?id=${record.orderDeliveryDetailsId}&preview=1`
}
>
{
text
}
</
Link
>
//
render: (text, record) => <Link to={`/memberCenter/tranactionAbility/stockSellStorage/bills/detail?id=${record.orderDeliveryDetailsId}&preview=1`}>{text}</Link>
},
},
{
{
title
:
'订单类型'
,
title
:
'订单类型'
,
...
...
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