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
31f34f90
Commit
31f34f90
authored
Jan 21, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改询价报价, 新增物流,询价商品跳转到商城商品详情页
parent
5eb7d90a
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
21 additions
and
9 deletions
+21
-9
index.tsx
src/pages/logistics/addLogistics/index.tsx
+5
-2
index.less
src/pages/logistics/components/index.less
+2
-2
orderSearchDetail.tsx
src/pages/logistics/components/orderSearchDetail.tsx
+0
-1
addCompany.tsx
src/pages/logistics/list/addCompany.tsx
+2
-1
templateForm.tsx
src/pages/logistics/list/components/templateForm.tsx
+1
-1
index.less
src/pages/member/components/index.less
+1
-1
details.tsx
...es/transaction/confirmInquiryQuote/components/details.tsx
+1
-1
addForm.tsx
src/pages/transaction/goodsOffer/addEnquiryOrder/addForm.tsx
+1
-0
enquiryGoods.tsx
...on/goodsOffer/addEnquiryOrder/components/enquiryGoods.tsx
+1
-0
details.tsx
src/pages/transaction/goodsOffer/components/details.tsx
+7
-0
No files found.
src/pages/logistics/addLogistics/index.tsx
View file @
31f34f90
...
...
@@ -243,6 +243,7 @@ const AddLogistics: React.FC<{}> = () => {
receiverMemberName
:
res
.
data
.
receiveUserName
,
shipmentOrderCode
:
res
.
data
.
deliveryNo
,
shipmentOrderId
:
res
.
data
.
deliveryId
,
outerStatusName
:
res
.
data
.
outerStatusName
}
form
.
setFieldsValue
(
obj
);
setQuery
({
...
obj
})
...
...
@@ -266,6 +267,7 @@ const AddLogistics: React.FC<{}> = () => {
receiverMemberName
:
res
.
data
.
receiveUserName
,
shipmentOrderCode
:
res
.
data
.
deliveryNo
,
shipmentOrderId
:
res
.
data
.
deliveryId
,
outerStatusName
:
res
.
data
.
outerStatusName
}
form
.
setFieldsValue
(
obj
);
setQuery
({
...
obj
})
...
...
@@ -289,6 +291,7 @@ const AddLogistics: React.FC<{}> = () => {
receiverMemberName
:
res
.
data
.
receiveUserName
,
shipmentOrderCode
:
res
.
data
.
deliveryNo
,
shipmentOrderId
:
res
.
data
.
deliveryId
,
outerStatusName
:
res
.
data
.
outerStatusName
}
form
.
setFieldsValue
(
obj
);
setQuery
({
...
obj
})
...
...
@@ -381,7 +384,7 @@ const AddLogistics: React.FC<{}> = () => {
})
break
;
case
3
:
PublicApi
.
getWarehouseInvoicesProductList
({
...
params
,
invoicesId
:
query
.
relevanceOrderId
?
query
.
relevanceOrderId
:
query
.
shipment
OrderId
}).
then
((
res
:
any
)
=>
{
PublicApi
.
getWarehouseInvoicesProductList
({
...
params
,
invoicesId
:
query
.
shipmentOrderId
?
query
.
shipmentOrderId
:
query
.
relevance
OrderId
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
===
1000
)
{
res
.
data
.
data
.
forEach
(
item
=>
{
item
.
category
=
item
.
categoryName
...
...
@@ -765,7 +768,7 @@ const AddLogistics: React.FC<{}> = () => {
:
(
createType
===
4
||
createType
===
5
||
createType
===
6
)
?
<
Form
.
Item
label=
"外部状态"
name=
'externalState'
>
{
/* <StatusTag type={EXCHANGE_OUTER_STATUS_TAG_MAP[record.outerStatus]} title={text} /> */
}
<
Badge
status=
"warning"
text=
{
query
.
outerStatusName
}
/>
</
Form
.
Item
>
:
<></>
}
...
...
src/pages/logistics/components/index.less
View file @
31f34f90
...
...
@@ -69,7 +69,7 @@
&-option {
flex : 1;
font-size : 1
4
px;
font-size : 1
2
px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color : #909399;
...
...
@@ -101,7 +101,7 @@
&-options {
flex : 1;
font-size : 1
4
px;
font-size : 1
2
px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color : #909399;
...
...
src/pages/logistics/components/orderSearchDetail.tsx
View file @
31f34f90
...
...
@@ -9,7 +9,6 @@ import { PublicApi } from '@/services/api'
import
moment
from
'moment'
import
style
from
'./index.less'
import
statuStyle
from
'../colorTag'
import
{
getLogisticsSelectListFreightTemplate
}
from
'@/services/LogisticsApi'
;
const
{
Step
}
=
Steps
const
detailInfo
:
React
.
FC
<
{}
>
=
()
=>
{
...
...
src/pages/logistics/list/addCompany.tsx
View file @
31f34f90
...
...
@@ -10,6 +10,7 @@ import ModalTable from '@/components/ModalTable'
import
{
PublicApi
}
from
'@/services/api'
import
{
PageStatus
}
from
'@/hooks/usePageStatus'
import
{
useRowSelectionTable
}
from
'@/hooks/useRowSelectionTable'
interface
Item
{
key
:
string
;
}
...
...
@@ -240,7 +241,7 @@ const company: React.FC<parmas> = (props) => {
}
]
}
>
<
Input
disabled=
{
isSee
}
className=
"input_addonAfter"
maxLength=
{
2
0
}
addonAfter=
{
selectBtn
}
/>
<
Input
disabled=
{
isSee
}
className=
"input_addonAfter"
maxLength=
{
0
}
addonAfter=
{
selectBtn
}
/>
</
Form
.
Item
>
:
<
Form
.
Item
...
...
src/pages/logistics/list/components/templateForm.tsx
View file @
31f34f90
...
...
@@ -342,7 +342,7 @@ const diaLogForm: React.FC<ListProps> = (props) => {
<
Col
span=
{
24
}
>
<
Field
name=
"designateList"
minItems=
{
1
}
minItems=
{
0
}
type=
"array"
x
-
component=
"ArrayTable"
x
-
component
-
props=
{
{
...
...
src/pages/member/components/index.less
View file @
31f34f90
...
...
@@ -170,7 +170,7 @@
display : flex;
width : calc(100% / 3);
margin-bottom: 17px;
font-size : 1
4
px;
font-size : 1
2
px;
font-family : PingFangSC-Regular, PingFang SC;
font-weight : 400;
color : #909399;
...
...
src/pages/transaction/confirmInquiryQuote/components/details.tsx
View file @
31f34f90
...
...
@@ -104,7 +104,7 @@ const Details: React.FC<parmas> = (props) => {
// 询价商品
const
handleJump
=
(
data
:
any
)
=>
{
console
.
log
(
data
)
window
.
open
(
`/shop/commodity/detail?id=
${
data
.
productId
}
&type=2
&shopId=
${
btoa
(
JSON
.
stringify
({
roleId
:
data
.
memberRoleId
,
memberId
:
data
.
memberId
}))}
`
)
window
.
open
(
`/shop/commodity/detail?id=
${
data
.
commodityId
}
&shopId=
${
btoa
(
JSON
.
stringify
({
roleId
:
data
.
memberRoleId
,
memberId
:
data
.
memberId
}))}
`
)
}
const
inquiryGoods
:
ColumnType
<
any
>
[]
=
[{
title
:
'ID'
,
...
...
src/pages/transaction/goodsOffer/addEnquiryOrder/addForm.tsx
View file @
31f34f90
...
...
@@ -58,6 +58,7 @@ const AddQuotes: React.FC<parmas> = (props) => {
const
data
=
JSON
.
parse
(
sessionStorage
.
getItem
(
spam_id
));
const
inquiryGoods
:
any
[]
=
[];
inquiryGoods
.
push
({
commodityId
:
data
.
commodityId
,
productId
:
data
.
id
,
productName
:
data
.
name
,
category
:
data
.
category
,
...
...
src/pages/transaction/goodsOffer/addEnquiryOrder/components/enquiryGoods.tsx
View file @
31f34f90
...
...
@@ -107,6 +107,7 @@ const EnquiryGoods: React.FC<queryProps> = (props) => {
const
data
:
any
[]
=
[];
res
.
data
.
data
.
forEach
((
v
,
i
)
=>
{
data
.
push
({
commodityId
:
v
.
commodityId
,
productId
:
v
.
id
,
productName
:
v
.
name
,
category
:
v
.
customerCategoryName
,
...
...
src/pages/transaction/goodsOffer/components/details.tsx
View file @
31f34f90
...
...
@@ -10,6 +10,7 @@ import moment from 'moment';
import
{
PublicApi
}
from
'@/services/api'
;
import
GeneralExternalState
from
'@/pages/transaction/common/externalState'
;
import
GeneralInteriorState
from
'@/pages/transaction/common/interiorState'
;
import
EyePreview
from
'@/components/EyePreview'
;
const
{
TabPane
}
=
Tabs
;
const
{
Step
}
=
Steps
;
...
...
@@ -44,6 +45,11 @@ const Details: React.FC<parmas> = (props) => {
// 模拟数据
const
[
data
,
setdata
]
=
useState
<
any
>
({});
// 询价商品
// 询价商品
const
handleJump
=
(
data
:
any
)
=>
{
console
.
log
(
data
)
window
.
open
(
`/shop/commodity/detail?id=
${
data
.
commodityId
}
&shopId=
${
btoa
(
JSON
.
stringify
({
roleId
:
data
.
memberRoleId
,
memberId
:
data
.
memberId
}))}
`
)
}
const
inquiryGoods
:
ColumnType
<
any
>
[]
=
[{
title
:
'ID'
,
key
:
'productId'
,
...
...
@@ -52,6 +58,7 @@ const Details: React.FC<parmas> = (props) => {
title
:
'报价商品名称'
,
key
:
'productName'
,
dataIndex
:
'productName'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
type=
'button'
handleClick=
{
()
=>
handleJump
(
record
)
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'品类'
,
key
:
'category'
,
...
...
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