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
5dedf3ad
Commit
5dedf3ad
authored
May 09, 2022
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix418' of
https://gitlab.shushangyun.com/weipengzhong/pro-platform
into fix418
parents
3613d3a5
0154246b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
25 deletions
+12
-25
index.tsx
...liveryNoticeManagement/deliveryNoticeFromCreate/index.tsx
+1
-1
index.tsx
...s/order/receivingNote/deliveryNoteManage/schema/index.tsx
+0
-7
index.tsx
...es/order/receivingNote/deliveryNoteQuery/schema/index.tsx
+0
-7
batchPositionSetting.tsx
src/pages/repositories/components/batchPositionSetting.tsx
+2
-2
add.tsx
...bility/logisticsAdminister/logisticsCompanyManage/add.tsx
+4
-3
index.tsx
...ction/purchaseAbility/onlineBid/readyBid/detail/index.tsx
+1
-1
index.tsx
...sition/increaseRequisition/components/RadioNode/index.tsx
+2
-2
index.tsx
src/pages/transaction/saleOrder/index.tsx
+2
-2
No files found.
src/pages/order/deliveryNoticeManagement/deliveryNoticeFromCreate/index.tsx
View file @
5dedf3ad
...
...
@@ -97,7 +97,7 @@ function DeliveryNoticeFromCreate() {
service
.
getForomService
().
setTableData
(
tableDataSource
);
service
.
getForomService
().
submit
().
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
handle
Anchor
(
false
)
handle
Leave
(
false
)
setTimeout
(()
=>
{
history
.
go
(
-
1
)
},
1000
);
...
...
src/pages/order/receivingNote/deliveryNoteManage/schema/index.tsx
View file @
5dedf3ad
...
...
@@ -19,13 +19,6 @@ export const deliveryNoteManageSchema: ISchema = {
className
:
'useMegaStart'
},
properties
:
{
ctl
:
{
type
:
'object'
,
'x-component'
:
'Children'
,
'x-component-props'
:
{
children
:
'{{controllerBtns}}'
,
},
},
'receiveNo'
:
{
type
:
'string'
,
'x-component'
:
'Search'
,
...
...
src/pages/order/receivingNote/deliveryNoteQuery/schema/index.tsx
View file @
5dedf3ad
...
...
@@ -19,13 +19,6 @@ export const deliveryNoteQuerySchema: ISchema = {
className
:
'useMegaStart'
},
properties
:
{
ctl
:
{
type
:
'object'
,
'x-component'
:
'Children'
,
'x-component-props'
:
{
children
:
'{{controllerBtns}}'
,
},
},
'deliveryNo'
:
{
type
:
'string'
,
'x-component'
:
'Search'
,
...
...
src/pages/repositories/components/batchPositionSetting.tsx
View file @
5dedf3ad
...
...
@@ -16,7 +16,7 @@ import Search from '@/components/NiceForm/components/Search'
import
{
useStateFilterSearchLinkageEffect
}
from
'@/formSchema/effects/useFilterSearch'
import
Submit
from
'@/components/NiceForm/components/Submit'
import
{
MALL_TYPE
}
from
'@/constants'
;
import
{
fectchShopListsSource
}
from
'@/utils/type'
import
{
fectchShopListsSource
,
fectchShopListsSourceTradeRule
}
from
'@/utils/type'
import
{
getMemberManagePageitems
,
postMemberManageAllPageByshoptype
}
from
'@/services/MemberV2Api'
import
{
getProductCommodityCommonGetCommodityListByStock
,
getProductFreightSpaceDetails
,
getProductFreightSpaceMamberList
,
getProductSelectGetSelectBrand
,
getProductSelectGetSelectCustomerCategory
}
from
'@/services/ProductV2Api'
...
...
@@ -498,7 +498,7 @@ const BatchPositionSetting: React.FC<BatchPositionSettingProps> = (props) => {
createAddRepositoryEffect
(
addSchemaAction
)
$
(
'onFieldValueChange'
,
'shopType'
).
subscribe
(
async
parentState
=>
{
if
(
parentState
.
value
)
{
const
data
=
await
fectchShopListsSource
({
type
:
parentState
.
value
})
const
data
=
await
fectchShopListsSource
TradeRule
({
type
:
parentState
.
value
})
setFieldState
(
'shopIds'
,
state
=>
{
state
.
props
[
"x-component-props"
].
dataSource
=
data
});
...
...
src/pages/transaction/logisticsAbility/logisticsAdminister/logisticsCompanyManage/add.tsx
View file @
5dedf3ad
...
...
@@ -123,7 +123,7 @@ const LogisticsCompanyManageAdded = (props: any) => {
}
if
(
values
.
cooperateType
===
COOPERATE
.
PLATFORM
)
{
params
.
companyMemberId
=
values
.
companyMemberId
;
params
.
companyRoleId
=
excludeList
[
0
].
roleId
;
params
.
companyRoleId
=
values
.
companyRoleId
||
excludeList
[
0
].
roleId
;
}
else
{
params
.
code
=
values
.
code
}
...
...
@@ -199,16 +199,17 @@ const LogisticsCompanyManageAdded = (props: any) => {
>
<
Card
>
<
NiceForm
previewPlaceholder=
'-'
initialValues=
{
formatedValue
}
actions=
{
formActions
}
onSubmit=
{
handleOnSubmit
}
expressionScope=
{
{
connectMember
:
(
connectMember
:
path
!==
'preview'
?
(
<
div
onClick=
{
()
=>
toggle
(
true
)
}
>
<
LinkOutlined
style=
{
{
marginRight
:
4
}
}
/>
{
intl
.
formatMessage
({
id
:
'logistics.xuanze'
})
}
</
div
>
)
)
:
null
}
}
effects=
{
()
=>
{
useFormEffects
();
...
...
src/pages/transaction/purchaseAbility/onlineBid/readyBid/detail/index.tsx
View file @
5dedf3ad
...
...
@@ -41,7 +41,7 @@ const Detail = () => {
useEffect
(()
=>
{
const
_data
=
purchaseBiddingMessageSupplier
?.
data
if
(
purchaseBiddingMessageSupplier
&&
!
isEmpty
(
dataSource
))
{
if
(
purchaseBiddingMessageSupplier
&&
!
isEmpty
(
dataSource
)
&&
_data
.
id
==
onlineId
)
{
const
_obj
=
{
ranking
:
_data
.
ranking
,
minLowPrice
:
_data
.
minPrice
,
...
...
src/pages/transaction/purchaseRequisition/increaseRequisition/components/RadioNode/index.tsx
View file @
5dedf3ad
...
...
@@ -12,9 +12,9 @@ const RadioNode = (props) => {
state
.
props
.
deliveryType
=
e
.
target
.
value
// 如果他选择的客户自提 就让他恢复默认的输入框
const
Address
=
form
.
getFieldState
(
'deliveryAddressId'
)
const
name
=
Address
.
value
.
name
?
Address
.
value
.
name
:
Address
.
value
.
receiverName
;
const
addres
=
Address
.
value
.
fullAddress
?
Address
.
value
.
fullAddress
:
Address
.
value
.
streetName
+
Address
.
value
.
address
+
Address
.
value
.
phone
;
if
(
Address
.
value
)
{
const
name
=
Address
.
value
.
name
?
Address
.
value
.
name
:
Address
.
value
.
receiverName
;
const
addres
=
Address
.
value
.
fullAddress
?
Address
.
value
.
fullAddress
:
Address
.
value
.
streetName
+
Address
.
value
.
address
+
Address
.
value
.
phone
;
form
.
setFieldState
(
'deliveryAddress'
,
state
=>
{
state
.
visible
=
true
;
state
.
value
=
`
${
name
}
-
${
addres
}
`
...
...
src/pages/transaction/saleOrder/index.tsx
View file @
5dedf3ad
...
...
@@ -264,7 +264,7 @@ const SaleOrder: React.FC<SaleOrderProps> = () => {
const
{
code
,
data
}
=
await
postOrderVendorTransferPreview
({
roleId
:
defaultRoleId
,
orderIds
:
[
orderId
]
}
,
{
ctlType
:
'none'
}
)
})
if
(
code
===
1000
)
{
transformRef
.
current
.
setVisible
(
true
)
transformActions
.
setFieldValue
(
'orders'
,
data
)
...
...
@@ -276,7 +276,7 @@ const SaleOrder: React.FC<SaleOrderProps> = () => {
const
{
code
,
data
}
=
await
postOrderVendorTransferPreview
({
roleId
:
defaultRoleId
,
orderIds
:
selectRef
.
current
,
}
,
{
ctlType
:
'none'
}
)
})
if
(
code
===
1000
)
{
transformRef
.
current
.
setVisible
(
true
)
transformActions
.
setFieldValue
(
'orders'
,
data
)
...
...
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