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
shenshaokai
jinfa-platform
Commits
a59f7ad4
Commit
a59f7ad4
authored
Nov 12, 2020
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改物流, 需求发布显示的问题
parent
e0d66d1f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
12 deletions
+22
-12
toOrderSubmitDetail.tsx
src/pages/logistics/logisticsSubmit/toOrderSubmitDetail.tsx
+6
-6
productModal.tsx
...ages/transaction/enquiryOffer/components/productModal.tsx
+7
-4
detail.tsx
src/pages/transaction/enquiryOffer/toAddSubmit/detail.tsx
+3
-0
enquiryGoods.tsx
...on/goodsOffer/addEnquiryOrder/components/enquiryGoods.tsx
+6
-2
No files found.
src/pages/logistics/logisticsSubmit/toOrderSubmitDetail.tsx
View file @
a59f7ad4
...
...
@@ -304,7 +304,7 @@ const Deatail: React.FC<{}> = () => {
if
(
query
.
orderId
)
{
PublicApi
.
getOrderPurchaseOrderDetails
({
id
:
query
.
orderId
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
console
.
log
(
res
.
data
,
'查询销售订单详情'
)
actions
.
setFieldValue
(
'receiverName'
,
res
.
data
.
receiverName
)
}
})
//发货单号
...
...
@@ -595,7 +595,7 @@ const Deatail: React.FC<{}> = () => {
*/
const
handleOnOK
=
(
type
,
values
,
params
)
=>
{
console
.
log
(
type
,
values
,
'参数:'
,
params
)
let
{
id
,
orderNo
,
deliveryAddresId
,
fullAddress
,
memberName
}
=
values
[
0
]
let
{
id
,
orderNo
,
deliveryAddresId
,
fullAddress
,
memberName
,
invoicesNo
,
receiverName
}
=
values
[
0
]
switch
(
type
)
{
case
1
:
//订单
setrelevanceType
(
params
.
orderType
)
//订单类型
...
...
@@ -620,8 +620,8 @@ const Deatail: React.FC<{}> = () => {
case
2
:
//发货单
// memberName 收货方
setShipmentOrderID
(
id
)
actions
.
setFieldValue
(
'shipmentOrderCode'
,
order
No
)
actions
.
setFieldValue
(
"receiverName"
,
memb
erName
)
actions
.
setFieldValue
(
'shipmentOrderCode'
,
invoices
No
)
actions
.
setFieldValue
(
"receiverName"
,
receiv
erName
)
actions
.
setFieldValue
(
'shipmentOrderId'
,
id
)
// 发货单id
actions
.
setFieldValue
(
"invoicesTypeId"
,
1
)
//发货单
actions
.
setFieldValue
(
"receiverAddressId"
,
deliveryAddresId
)
...
...
@@ -924,10 +924,10 @@ const Deatail: React.FC<{}> = () => {
</
TabPane
>
<
TabPane
key=
'tab-3'
tab=
'运费'
>
<
FormItem
labelAlign=
"left"
labelCol=
{
{
span
:
2
}
}
editable=
{
false
}
name=
"fregint"
label=
"运费"
>
<>
未报价
</>
<>
{
initialValues
.
freightPrice
||
'未报价'
}
</>
</
FormItem
>
<
FormItem
labelAlign=
"left"
labelCol=
{
{
span
:
2
}
}
editable=
{
false
}
name=
"fregint2"
label=
"结算方式"
>
<></>
<>
{
initialValues
.
freightPrice
||
'-'
}
</>
</
FormItem
>
</
TabPane
>
<
TabPane
key=
'tab-4'
tab=
'流转记录'
>
...
...
src/pages/transaction/enquiryOffer/components/productModal.tsx
View file @
a59f7ad4
...
...
@@ -273,14 +273,14 @@ const comfirmDialog: React.FC<Params> = (props, { onRef }) => {
<
Tabs
defaultActiveKey=
'tab1'
tabPosition=
"left"
>
<
Tabs
.
TabPane
tab=
'基本信息'
key=
"tab-1"
>
<
Tabs
.
TabPane
tab=
'基本信息'
key=
"tab-1"
forceRender
>
<
Form
.
Item
label=
'对应需求单规格型号'
name=
'model'
initialValue=
{
props
.
initialValues
.
model
}
rules=
{
[
{
message
:
'请选择规格型号'
,
required
:
true
}
]
}
...
...
@@ -349,7 +349,7 @@ const comfirmDialog: React.FC<Params> = (props, { onRef }) => {
{
commodityAttributedataSource
.
length
>
0
&&
commodityAttributedataSource
.
map
((
item
:
any
)
=>
<>
<
TabPane
tab=
{
item
.
customerAttribute
.
name
}
key=
{
item
.
customerAttribute
.
name
}
>
<
TabPane
tab=
{
item
.
customerAttribute
.
name
}
key=
{
item
.
customerAttribute
.
name
}
forceRender
>
<
Space
key=
{
item
.
customerAttribute
.
id
}
direction=
"vertical"
size=
{
16
}
>
{
item
.
customerAttributeValueList
.
map
((
child
,
childIndex
)
=>
{
return
<
Badge
text=
{
child
.
value
}
key=
{
childIndex
}
status=
"default"
/>
...
...
@@ -361,13 +361,14 @@ const comfirmDialog: React.FC<Params> = (props, { onRef }) => {
}
<
Tabs
.
TabPane
tab=
'报价明细'
key=
"tab-7"
>
<
Tabs
.
TabPane
tab=
'报价明细'
key=
"tab-7"
forceRender
>
<
Form
.
Item
label=
'单位'
name=
'purchaseNuit'
initialValue=
{
props
.
initialValues
.
purchaseNuit
}
rules=
{
[
{
message
:
'请选择单位'
,
required
:
true
}
]
}
...
...
@@ -381,6 +382,7 @@ const comfirmDialog: React.FC<Params> = (props, { onRef }) => {
initialValue=
{
props
.
initialValues
.
purchaseQuantity
}
rules=
{
[
{
message
:
'请选择采购数量'
,
required
:
true
}
]
}
...
...
@@ -393,6 +395,7 @@ const comfirmDialog: React.FC<Params> = (props, { onRef }) => {
name=
'price'
rules=
{
[
{
message
:
'请输入报价单价'
,
required
:
true
}
]
}
...
...
src/pages/transaction/enquiryOffer/toAddSubmit/detail.tsx
View file @
a59f7ad4
...
...
@@ -1008,6 +1008,7 @@ const Detail: React.FC<{}> = () => {
initialValue=
{
initialValues
.
quotationSummary
}
rules=
{
[
{
message
:
'请输入报价单摘要'
,
required
:
true
}
]
}
...
...
@@ -1021,6 +1022,7 @@ const Detail: React.FC<{}> = () => {
name=
'requisitionFormNo'
rules=
{
[
{
message
:
'请选择对应需求单号'
,
required
:
true
}
]
}
...
...
@@ -1098,6 +1100,7 @@ const Detail: React.FC<{}> = () => {
label=
"最小起订"
rules=
{
[
{
message
:
'请输入最小起订'
,
required
:
true
}
]
}
...
...
src/pages/transaction/goodsOffer/addEnquiryOrder/components/enquiryGoods.tsx
View file @
a59f7ad4
...
...
@@ -47,7 +47,10 @@ const EnquiryGoods: React.FC<queryProps> = (props) => {
category
:
v
.
customerCategoryName
,
brand
:
v
.
brandName
,
unit
:
v
.
unitName
,
purchaseCount
:
1
purchaseCount
:
1
,
logistics
:
v
.
logistics
,
memberId
:
v
.
memberId
,
memberRoleId
:
v
.
memberRoleId
})
setinquiryGoods
(
inquiry
);
...
...
@@ -274,7 +277,8 @@ const EnquiryGoods: React.FC<queryProps> = (props) => {
confirm=
{
handleOkAddMember
}
cancel=
{
handleCancelAddMember
}
visible=
{
visibleChannelMember
}
resetModal=
{
{
destroyOnClose
:
true
,
forceRender
:
true
}
}
forceRender=
{
visibleChannelMember
}
resetModal=
{
{
destroyOnClose
:
true
}
}
columns=
{
columnsSetMember
}
rowSelection=
{
memberRowSelection
}
fetchTableData=
{
params
=>
fetchGoodsList
(
params
)
}
...
...
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