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
13deed51
Commit
13deed51
authored
May 06, 2022
by
rainbowmorel@163.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2-220418' into 20418order
parents
8b2419cc
aedfae11
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
343 additions
and
134 deletions
+343
-134
AddressDrawer.tsx
src/components/AddressDrawer/AddressDrawer.tsx
+11
-6
order.ts
src/locales/en-US/order.ts
+51
-0
order.ts
src/locales/ko-KR/order.ts
+51
-0
order.ts
src/locales/zh-CN/order.ts
+58
-8
logisticsDetail.tsx
...alance/accountsPayable/settlementList/logisticsDetail.tsx
+4
-1
orderDetail.tsx
...es/balance/accountsPayable/settlementList/orderDetail.tsx
+3
-0
productNoticeSettlementDetail.tsx
...sPayable/settlementList/productNoticeSettlementDetail.tsx
+3
-0
logisticsDetail.tsx
...nce/accountsReceivable/settlementList/logisticsDetail.tsx
+3
-0
orderDetail.tsx
...balance/accountsReceivable/settlementList/orderDetail.tsx
+3
-0
productNoticeSettlementDetail.tsx
...ceivable/settlementList/productNoticeSettlementDetail.tsx
+3
-0
add.tsx
src/pages/balance/businessRequestFunds/admin/add.tsx
+1
-0
info.tsx
...ges/balance/platformSettlement/accountReceivable/info.tsx
+3
-0
info.tsx
...ages/balance/platformSettlement/couponSettlement/info.tsx
+3
-0
info.tsx
src/pages/balance/platformSettlement/integral/info.tsx
+3
-0
priceAttributeForm.tsx
...commodity/products/addProductsItem/priceAttributeForm.tsx
+2
-1
index.tsx
src/pages/commodity/products/index.tsx
+7
-2
Fromtable.tsx
src/pages/contract/manage/add/components/Fromtable.tsx
+10
-8
returnSaveParams.ts
src/pages/editor/components/toolBar/returnSaveParams.ts
+19
-12
schema.ts
src/pages/member/memberMaintain/black/schema.ts
+0
-1
schema.ts
src/pages/member/memberMaintain/eliminate/schema.ts
+0
-1
schema.ts
src/pages/member/memberMaintain/freeze/schema.ts
+0
-1
schema.ts
src/pages/member/memberMaintain/unfreeze/schema.ts
+0
-1
index.tsx
.../categoryNavigation/components/FormilyCommodity/index.tsx
+1
-1
HandleFormSubmit.ts
src/pages/order/assets/handles/HandleFormSubmit.ts
+4
-3
label.ts
src/pages/order/constants/label.ts
+59
-52
add.tsx
src/pages/order/deliveryNotice/manageSRM/add.tsx
+1
-1
index.tsx
.../order/deliveryNotice/receivingNoteQuery/schema/index.tsx
+7
-7
edit.tsx
src/pages/order/receivingNote/deliveryNoteManage/edit.tsx
+10
-3
schema.ts
...er/memberVisitManage/components/MemberVisitForm/schema.ts
+1
-0
add.tsx
...bility/logisticsAdminister/logisticsCompanyManage/add.tsx
+4
-3
index.tsx
...gAbility/merchantCoupon/components/CouponDetail/index.tsx
+1
-1
index.tsx
...s/transaction/purchaseAbility/components/detail/index.tsx
+4
-1
index.tsx
...ction/purchaseAbility/onlineBid/readyBid/detail/index.tsx
+1
-1
index.tsx
...pages/transaction/purchaseOrder/orderCollectB2b/index.tsx
+1
-1
index.tsx
...sition/increaseRequisition/components/RadioNode/index.tsx
+2
-2
index.tsx
...ncreaseRequisition/components/materialTableCell/index.tsx
+9
-16
No files found.
src/components/AddressDrawer/AddressDrawer.tsx
View file @
13deed51
...
@@ -43,12 +43,13 @@ interface AddressDrawerProps {
...
@@ -43,12 +43,13 @@ interface AddressDrawerProps {
},
},
className
?:
string
className
?:
string
renderText
?:
React
.
ReactNode
renderText
?:
React
.
ReactNode
hiddenBtn
?:
boolean
}
}
function
AddressDrawer
(
props
:
AddressDrawerProps
)
{
function
AddressDrawer
(
props
:
AddressDrawerProps
)
{
const
{
onChange
,
formInstance
,
renderForm
,
sumbitRequest
,
const
{
onChange
,
formInstance
,
renderForm
,
sumbitRequest
,
addressListRequest
,
value
:
addr
,
disabled
=
false
,
rows
=
1
,
addressListRequest
,
value
:
addr
,
disabled
=
false
,
rows
=
1
,
hiddenBtn
=
false
,
showDefault
=
false
,
showDefault
=
false
,
formatValue
=
(
addr
)
=>
{
formatValue
=
(
addr
)
=>
{
return
FormatValue
(
addr
)
return
FormatValue
(
addr
)
...
@@ -179,16 +180,20 @@ function AddressDrawer(props: AddressDrawerProps) {
...
@@ -179,16 +180,20 @@ function AddressDrawer(props: AddressDrawerProps) {
:
:
(
(
<
Row
className=
{
className
}
gutter=
{
10
}
>
<
Row
className=
{
className
}
gutter=
{
10
}
>
<
Col
span=
{
20
}
>
<
Col
span=
{
hiddenBtn
?
24
:
20
}
>
<
Input
.
TextArea
rows=
{
rows
}
disabled=
{
disabled
}
<
Input
.
TextArea
rows=
{
rows
}
disabled=
{
disabled
}
value=
{
value
}
value=
{
value
}
onChange=
{
handleInputChange
}
onChange=
{
handleInputChange
}
/>
/>
</
Col
>
</
Col
>
{
<
Col
span=
{
4
}
>
!
hiddenBtn
&&
(
<
Button
disabled=
{
disabled
}
className=
'w-full'
onClick=
{
()
=>
setVisible
(
true
)
}
>
管理
</
Button
>
<
Col
span=
{
4
}
>
</
Col
>
<
Button
disabled=
{
disabled
}
className=
'w-full'
onClick=
{
()
=>
setVisible
(
true
)
}
>
管理
</
Button
>
</
Col
>
)
}
</
Row
>
</
Row
>
)
)
}
}
...
...
src/locales/en-US/order.ts
View file @
13deed51
...
@@ -712,4 +712,55 @@ export default {
...
@@ -712,4 +712,55 @@ export default {
'purchaseRequisition.wuliao'
:
'material'
,
'purchaseRequisition.wuliao'
:
'material'
,
'purchaseRequisition.xinxi'
:
'information'
,
'purchaseRequisition.xinxi'
:
'information'
,
'order.shouhuodanzhaiyao'
:
'Receipt summary'
,
'order.xinzengshouhuodan'
:
'Add receipt'
,
'order.songhuodanzhaiyao'
:
'Delivery note summary'
,
'order.songhuotongzhibianhao'
:
'Delivery Notice No'
,
'order.shouhuodanbianhao'
:
'Receipt No'
,
'order.songhuojihuabianhao'
:
'Delivery plan No'
,
'order.gongyinghuiyuan'
:
'Supply member'
,
'order.beizhu'
:
'remarks'
,
'order.shouhuoren'
:
'consignee'
,
'order.fahuoshijian'
:
'Delivery time'
,
'order.shouhuorendianhua'
:
'Consignee telephone'
,
'order.songhuodingdanhao'
:
'Delivery order No'
,
'order.songhuodanbianhao'
:
'Delivery note No'
,
'order.fahuoriqi'
:
'the date of issuance'
,
'order.songhuodizhi'
:
'Shipping address'
,
'order.fahuozitidizhi'
:
'Shipping (pick-up) address'
,
'order.songhuoren'
:
'Deliveryman'
,
'order.songhuorendianhua'
:
'Deliveryman telephone'
,
'order.wuliugongsi'
:
'logistics company'
,
'order.chepaihaoma'
:
'license plate'
,
'order.wuliudanhao'
:
'Logistics order No'
,
'order.jihuabianhao'
:
'Plan number'
,
'order.jihuazhaiyao'
:
'Plan summary'
,
'order.jihuazhouqi'
:
'Planning cycle'
,
'order.caigouhuiyuan'
:
'Purchasing member'
,
'order.waibuzhuangtai'
:
'External state'
,
'order.peisongfangshi'
:
'Distribution mode'
,
'order.caigoushang'
:
'Purchaser'
,
'order.tijiaosonghuojihua'
:
'Submit delivery plan'
,
'order.gongyingshang'
:
'supplier'
,
'order.querensonghuojihua'
:
'Confirm delivery plan'
,
'order.waibudanjuliuzhuanjilu'
:
'External document flow record'
,
'order.tongzhidanbianhao'
:
'Notice No'
,
'order.tongzhidanzhaiyao'
:
'Notice summary'
,
'order.songhuoriqi'
:
'Delivery date'
,
'order.songhuoshijian'
:
'Delivery time'
,
'order.shouhuodizhi'
:
'Receiving address'
,
'order.shouhuoshijian'
:
'Receiving time'
,
'order.shouhuoriqi'
:
'Date of receipt'
,
'order.tijiaosonghuotongzhidan'
:
'Submit delivery notice'
,
'order.querensonghuotongzhidan'
:
'Confirm delivery notice'
,
'order.songhuojihua'
:
'Delivery plan'
,
'order.zuichang600gezifu300ge'
:
'Up to 600 characters, 300 Chinese characters'
,
'order.xinzengsonghuojihuaSRM'
:
'Add delivery plan(SRM)'
,
'order.xinzengsonghuojihuaB2B'
:
'Add delivery plan(B2B)'
,
'order.shengchengsonghuotongzhidan'
:
'Generate delivery notice'
,
'order.shengchengsonghuodan'
:
'Generate delivery note'
,
'order.yishengchengsonghuotongzhidan'
:
'Delivery note generated'
,
'order.yishengchengsonghuodan'
:
'Delivery note generated'
,
'order.songhuoshuliangbunengdayu'
:
'Delivery quantity cannot be greater than the quantity to be delivered'
,
}
}
src/locales/ko-KR/order.ts
View file @
13deed51
...
@@ -709,4 +709,55 @@ export default {
...
@@ -709,4 +709,55 @@ export default {
'purchaseRequisition.neirongbuneng1weikong'
:
'컨텐트는 비워둘 수 없습니다.'
,
'purchaseRequisition.neirongbuneng1weikong'
:
'컨텐트는 비워둘 수 없습니다.'
,
'purchaseRequisition.wuliao'
:
'재료'
,
'purchaseRequisition.wuliao'
:
'재료'
,
'purchaseRequisition.xinxi'
:
'메시지'
,
'purchaseRequisition.xinxi'
:
'메시지'
,
'order.shouhuodanzhaiyao'
:
'청구서 요약'
,
'order.xinzengshouhuodan'
:
'새 청구서'
,
'order.songhuodanzhaiyao'
:
'배송지 요약'
,
'order.songhuotongzhibianhao'
:
'배송 알림 번호'
,
'order.shouhuodanbianhao'
:
'청구서 번호'
,
'order.songhuojihuabianhao'
:
'배송 계획 번호'
,
'order.gongyinghuiyuan'
:
'공급원'
,
'order.beizhu'
:
'비고'
,
'order.shouhuoren'
:
'수취인'
,
'order.fahuoshijian'
:
'배송 일자'
,
'order.shouhuorendianhua'
:
'수취인 전화'
,
'order.songhuodingdanhao'
:
'배송 주문 번호'
,
'order.songhuodanbianhao'
:
'배송지 번호'
,
'order.fahuoriqi'
:
'출하 일자'
,
'order.songhuodizhi'
:
'배송 주소'
,
'order.fahuozitidizhi'
:
'배송 주소'
,
'order.songhuoren'
:
'배달인'
,
'order.songhuorendianhua'
:
'배달인 전화'
,
'order.wuliugongsi'
:
'물류 회사'
,
'order.chepaihaoma'
:
'차량 번호'
,
'order.wuliudanhao'
:
'물류번호'
,
'order.jihuabianhao'
:
'계획 번호'
,
'order.jihuazhaiyao'
:
'계획 요약'
,
'order.jihuazhouqi'
:
'계획 주기'
,
'order.caigouhuiyuan'
:
'구매 회원'
,
'order.waibuzhuangtai'
:
'외부 상태'
,
'order.peisongfangshi'
:
'배송 방법'
,
'order.caigoushang'
:
'구매상'
,
'order.tijiaosonghuojihua'
:
'배송 계획 제출'
,
'order.gongyingshang'
:
'공급자'
,
'order.querensonghuojihua'
:
'배송 계획 확인'
,
'order.waibudanjuliuzhuanjilu'
:
'외부 증빙서류 유전 기록'
,
'order.tongzhidanbianhao'
:
'통지서 번호'
,
'order.tongzhidanzhaiyao'
:
'통지서 요약'
,
'order.songhuoriqi'
:
'배송 일자'
,
'order.songhuoshijian'
:
'배송 시간'
,
'order.shouhuodizhi'
:
'배송 주소'
,
'order.shouhuoshijian'
:
'납품 시간'
,
'order.shouhuoriqi'
:
'납품 일자'
,
'order.tijiaosonghuotongzhidan'
:
'배송 통지서 제출'
,
'order.querensonghuotongzhidan'
:
'배송 확인 통지서'
,
'order.songhuojihua'
:
'배송 계획'
,
'order.zuichang600gezifu300ge'
:
'최대 600자, 한자 300자'
,
'order.xinzengsonghuojihuaSRM'
:
'신규 배송 계획(SRM)'
,
'order.xinzengsonghuojihuaB2B'
:
'신규 배송 계획(B2B)'
,
'order.shengchengsonghuotongzhidan'
:
'배송 통지서 생성'
,
'order.shengchengsonghuodan'
:
'배송지 생성'
,
'order.yishengchengsonghuotongzhidan'
:
'배송 통지서가 생성됨'
,
'order.yishengchengsonghuodan'
:
'배송지 생성됨'
,
'order.songhuoshuliangbunengdayu'
:
'배송 수량은 배송 대기 수량보다 클 수 없습니다.'
,
}
}
src/locales/zh-CN/order.ts
View file @
13deed51
...
@@ -393,7 +393,7 @@ export default {
...
@@ -393,7 +393,7 @@ export default {
'saleOrder.pingjia'
:
'评价'
,
'saleOrder.pingjia'
:
'评价'
,
'saleOrder.zhuandan'
:
'转单'
,
'saleOrder.zhuandan'
:
'转单'
,
'saleOrder.xiugaidingdanjia'
:
'修改订单价格'
,
'saleOrder.xiugaidingdanjia'
:
'修改订单价格'
,
'saleOrder.xiugaidingdan'
:
"修改订单"
,
'saleOrder.xiugaidingdan'
:
'修改订单'
,
'saleOrder.shengchengzhifulian'
:
'生成支付链接'
,
'saleOrder.shengchengzhifulian'
:
'生成支付链接'
,
'saleOrder.songhuodizhi'
:
'送货地址'
,
'saleOrder.songhuodizhi'
:
'送货地址'
,
'saleOrder.caozuo'
:
'操作'
,
'saleOrder.caozuo'
:
'操作'
,
...
@@ -703,12 +703,62 @@ export default {
...
@@ -703,12 +703,62 @@ export default {
'purchaseRequisition.jigoumingcheng'
:
'机构名称'
,
'purchaseRequisition.jigoumingcheng'
:
'机构名称'
,
'purchaseRequisition.caigoushouhuodan'
:
'采购收货单'
,
'purchaseRequisition.caigoushouhuodan'
:
'采购收货单'
,
'purchaseRequisition.dingdan'
:
'订单'
,
'purchaseRequisition.dingdan'
:
'订单'
,
'purchaseRequisition.wuliaozu'
:
'物料组'
,
'purchaseRequisition.wuliaozu'
:
'物料组'
,
'purchaseRequisition.shengchangchangjia'
:
'生产厂家'
,
'purchaseRequisition.shengchangchangjia'
:
'生产厂家'
,
'purchaseRequisition.changdi'
:
'产地'
,
'purchaseRequisition.changdi'
:
'产地'
,
'purchaseRequisition.beizu'
:
'备注'
,
'purchaseRequisition.beizu'
:
'备注'
,
'purchaseRequisition.neirongbuneng1weikong'
:
'内容不能为空'
,
'purchaseRequisition.neirongbuneng1weikong'
:
'内容不能为空'
,
'purchaseRequisition.wuliao'
:
'物料'
,
'purchaseRequisition.wuliao'
:
'物料'
,
'purchaseRequisition.xinxi'
:
'信息'
,
'purchaseRequisition.xinxi'
:
'信息'
,
'order.shouhuodanzhaiyao'
:
'收货单摘要'
,
'order.xinzengshouhuodan'
:
'新增收货单'
,
'order.songhuodanzhaiyao'
:
'送货单摘要'
,
'order.songhuotongzhibianhao'
:
'送货通知编号'
,
'order.shouhuodanbianhao'
:
'收货单编号'
,
'order.songhuojihuabianhao'
:
'送货计划编号'
,
'order.gongyinghuiyuan'
:
'供应会员'
,
'order.beizhu'
:
'备注'
,
'order.shouhuoren'
:
'收货人'
,
'order.fahuoshijian'
:
'发货时间'
,
'order.shouhuorendianhua'
:
'收货人电话'
,
'order.songhuodingdanhao'
:
'送货订单号'
,
'order.songhuodanbianhao'
:
'送货单编号'
,
'order.fahuoriqi'
:
'发货日期'
,
'order.songhuodizhi'
:
'送货地址'
,
'order.fahuozitidizhi'
:
'发货(自提)地址'
,
'order.songhuoren'
:
'送货人'
,
'order.songhuorendianhua'
:
'送货人电话'
,
'order.wuliugongsi'
:
'物流公司'
,
'order.chepaihaoma'
:
'车牌号码'
,
'order.wuliudanhao'
:
'物流单号'
,
'order.jihuabianhao'
:
'计划编号'
,
'order.jihuazhaiyao'
:
'计划摘要'
,
'order.jihuazhouqi'
:
'计划周期'
,
'order.caigouhuiyuan'
:
'采购会员'
,
'order.waibuzhuangtai'
:
'外部状态'
,
'order.peisongfangshi'
:
'配送方式'
,
'order.caigoushang'
:
'采购商'
,
'order.tijiaosonghuojihua'
:
'提交送货计划'
,
'order.gongyingshang'
:
'供应商'
,
'order.querensonghuojihua'
:
'确认送货计划'
,
'order.waibudanjuliuzhuanjilu'
:
'外部单据流转记录'
,
'order.tongzhidanbianhao'
:
'通知单编号'
,
'order.tongzhidanzhaiyao'
:
'通知单摘要'
,
'order.songhuoriqi'
:
'送货日期'
,
'order.songhuoshijian'
:
'送货时间'
,
'order.shouhuodizhi'
:
'收货地址'
,
'order.shouhuoshijian'
:
'收货时间'
,
'order.shouhuoriqi'
:
'收货日期'
,
'order.tijiaosonghuotongzhidan'
:
'提交送货通知单'
,
'order.querensonghuotongzhidan'
:
'确认送货通知单'
,
'order.songhuojihua'
:
'送货计划'
,
'order.zuichang600gezifu300ge'
:
'最长600个字符,300个汉字'
,
'order.xinzengsonghuojihuaSRM'
:
'新增送货计划(SRM)'
,
'order.xinzengsonghuojihuaB2B'
:
'新增送货计划(B2B)'
,
'order.shengchengsonghuotongzhidan'
:
'生成送货通知单'
,
'order.shengchengsonghuodan'
:
'生成送货单'
,
'order.yishengchengsonghuotongzhidan'
:
'已生成送货通知单'
,
'order.yishengchengsonghuodan'
:
'已生成送货单'
,
'order.songhuoshuliangbunengdayu'
:
'送货数量不能大于待送货数量'
,
}
}
src/pages/balance/accountsPayable/settlementList/logisticsDetail.tsx
View file @
13deed51
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
*/
*/
import
React
,
{
useRef
,
useEffect
,
useState
,
useMemo
}
from
'react'
;
import
React
,
{
useRef
,
useEffect
,
useState
,
useMemo
}
from
'react'
;
import
{
useIntl
}
from
'umi'
import
{
useIntl
,
history
}
from
'umi'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
Card
,
PageHeader
,
Descriptions
,
Button
,
DatePicker
}
from
'antd'
;
import
{
Card
,
PageHeader
,
Descriptions
,
Button
,
DatePicker
}
from
'antd'
;
import
NiceForm
from
'@/components/NiceForm'
;
import
NiceForm
from
'@/components/NiceForm'
;
...
@@ -25,6 +25,7 @@ import {
...
@@ -25,6 +25,7 @@ import {
}
from
'@/services/SettleV2Api'
;
}
from
'@/services/SettleV2Api'
;
import
useBalanceInfo
from
'../../hooks/useBalanceInfo'
;
import
useBalanceInfo
from
'../../hooks/useBalanceInfo'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
const
RangePicker
=
DatePicker
.
RangePicker
const
RangePicker
=
DatePicker
.
RangePicker
const
formActions
=
createFormActions
();
const
formActions
=
createFormActions
();
...
@@ -75,6 +76,8 @@ const logisticsDetail: React.FC = () => {
...
@@ -75,6 +76,8 @@ const logisticsDetail: React.FC = () => {
return
(
return
(
<
PageHeaderWrapper
<
PageHeaderWrapper
title=
{
intl
.
formatMessage
({
id
:
'balance.accountsPayable.settlementList.logisticsDetail.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
title=
{
intl
.
formatMessage
({
id
:
'balance.accountsPayable.settlementList.logisticsDetail.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
/>
}
>
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
...
...
src/pages/balance/accountsPayable/settlementList/orderDetail.tsx
View file @
13deed51
...
@@ -27,6 +27,7 @@ import {
...
@@ -27,6 +27,7 @@ import {
getSettleAccountsMemberSettlementGetPayableDetail
,
getSettleAccountsMemberSettlementGetPayableDetail
,
getSettleAccountsMemberSettlementPagePayableOrderSettlement
getSettleAccountsMemberSettlementPagePayableOrderSettlement
}
from
'@/services/SettleV2Api'
;
}
from
'@/services/SettleV2Api'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
const
RangePicker
=
DatePicker
.
RangePicker
;
const
RangePicker
=
DatePicker
.
RangePicker
;
const
formActions
=
createFormActions
();
const
formActions
=
createFormActions
();
...
@@ -40,6 +41,8 @@ const OrderDetail: React.FC = () => {
...
@@ -40,6 +41,8 @@ const OrderDetail: React.FC = () => {
return
(
return
(
<
PageHeaderWrapper
<
PageHeaderWrapper
title=
{
intl
.
formatMessage
({
id
:
'balance.accountsPayable.settlementList.orderDetail.title'
},
{
data
:
infoDetail
?.
settlementNo
})
}
title=
{
intl
.
formatMessage
({
id
:
'balance.accountsPayable.settlementList.orderDetail.title'
},
{
data
:
infoDetail
?.
settlementNo
})
}
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
/>
}
>
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
...
...
src/pages/balance/accountsPayable/settlementList/productNoticeSettlementDetail.tsx
View file @
13deed51
...
@@ -27,6 +27,7 @@ import {
...
@@ -27,6 +27,7 @@ import {
getSettleAccountsMemberSettlementPagePayableProductionNoticeSettlement
getSettleAccountsMemberSettlementPagePayableProductionNoticeSettlement
}
from
'@/services/SettleV2Api'
;
}
from
'@/services/SettleV2Api'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
const
RangePicker
=
DatePicker
.
RangePicker
;
const
RangePicker
=
DatePicker
.
RangePicker
;
const
formActions
=
createFormActions
();
const
formActions
=
createFormActions
();
...
@@ -63,6 +64,8 @@ const ProductNoticeSettlementDetail: React.FC = () => {
...
@@ -63,6 +64,8 @@ const ProductNoticeSettlementDetail: React.FC = () => {
return
(
return
(
<
PageHeaderWrapper
<
PageHeaderWrapper
title=
{
intl
.
formatMessage
({
id
:
'balance.accountsPayable.settlementList.productNoticeSettlementDetail.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
title=
{
intl
.
formatMessage
({
id
:
'balance.accountsPayable.settlementList.productNoticeSettlementDetail.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
/>
}
>
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
...
...
src/pages/balance/accountsReceivable/settlementList/logisticsDetail.tsx
View file @
13deed51
...
@@ -27,6 +27,7 @@ import {
...
@@ -27,6 +27,7 @@ import {
}
from
'@/services/SettleV2Api'
;
}
from
'@/services/SettleV2Api'
;
import
useBalanceInfo
from
'../../hooks/useBalanceInfo'
;
import
useBalanceInfo
from
'../../hooks/useBalanceInfo'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
const
RangePicker
=
DatePicker
.
RangePicker
;
const
RangePicker
=
DatePicker
.
RangePicker
;
const
formActions
=
createFormActions
();
const
formActions
=
createFormActions
();
...
@@ -61,6 +62,8 @@ const logisticsDetail: React.FC = () => {
...
@@ -61,6 +62,8 @@ const logisticsDetail: React.FC = () => {
return
(
return
(
<
PageHeaderWrapper
<
PageHeaderWrapper
title=
{
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.logisticsDetail.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
title=
{
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.logisticsDetail.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
/>
}
>
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
...
...
src/pages/balance/accountsReceivable/settlementList/orderDetail.tsx
View file @
13deed51
...
@@ -24,6 +24,7 @@ import {
...
@@ -24,6 +24,7 @@ import {
getSettleAccountsMemberSettlementGetPayableDetail
,
getSettleAccountsMemberSettlementGetPayableDetail
,
getSettleAccountsMemberSettlementPagePayableOrderSettlement
getSettleAccountsMemberSettlementPagePayableOrderSettlement
}
from
'@/services/SettleV2Api'
;
}
from
'@/services/SettleV2Api'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
const
RangePicker
=
DatePicker
.
RangePicker
;
const
RangePicker
=
DatePicker
.
RangePicker
;
const
formActions
=
createFormActions
();
const
formActions
=
createFormActions
();
...
@@ -37,6 +38,8 @@ const OrderDetail: React.FC = () => {
...
@@ -37,6 +38,8 @@ const OrderDetail: React.FC = () => {
return
(
return
(
<
PageHeaderWrapper
<
PageHeaderWrapper
title=
{
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.orderDetail.title'
},
{
data
:
infoDetail
?.
settlementNo
})
}
title=
{
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.orderDetail.title'
},
{
data
:
infoDetail
?.
settlementNo
})
}
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
/>
}
>
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
...
...
src/pages/balance/accountsReceivable/settlementList/productNoticeSettlementDetail.tsx
View file @
13deed51
...
@@ -25,6 +25,7 @@ import {
...
@@ -25,6 +25,7 @@ import {
import
useInitialValue
from
'@/pages/member/common/hooks/useInitialValue'
;
import
useInitialValue
from
'@/pages/member/common/hooks/useInitialValue'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
useBalanceInfo
from
'../../hooks/useBalanceInfo'
;
import
useBalanceInfo
from
'../../hooks/useBalanceInfo'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
const
RangePicker
=
DatePicker
.
RangePicker
;
const
RangePicker
=
DatePicker
.
RangePicker
;
const
formActions
=
createFormActions
();
const
formActions
=
createFormActions
();
...
@@ -64,6 +65,8 @@ const ProductNoticeSettlementDetail: React.FC = () => {
...
@@ -64,6 +65,8 @@ const ProductNoticeSettlementDetail: React.FC = () => {
return
(
return
(
<
PageHeaderWrapper
<
PageHeaderWrapper
title=
{
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.productNoticeSettlementDetail.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
title=
{
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.productNoticeSettlementDetail.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
/>
}
>
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
...
...
src/pages/balance/businessRequestFunds/admin/add.tsx
View file @
13deed51
...
@@ -686,6 +686,7 @@ const Add = () => {
...
@@ -686,6 +686,7 @@ const Add = () => {
no=
{
_title
}
no=
{
_title
}
tabLink=
{
_tabs
}
tabLink=
{
_tabs
}
effect=
{
_returnTopButton
()
}
effect=
{
_returnTopButton
()
}
hideBar=
{
true
}
components=
{
components=
{
<
Form
<
Form
{
...
layout
}
{
...
layout
}
...
...
src/pages/balance/platformSettlement/accountReceivable/info.tsx
View file @
13deed51
...
@@ -31,6 +31,7 @@ import {
...
@@ -31,6 +31,7 @@ import {
}
from
'@/services/SettleV2Api'
;
}
from
'@/services/SettleV2Api'
;
import
useBalanceInfo
from
'../../hooks/useBalanceInfo'
;
import
useBalanceInfo
from
'../../hooks/useBalanceInfo'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
const
formActions
=
createFormActions
();
const
formActions
=
createFormActions
();
const
columns
=
[
const
columns
=
[
...
@@ -138,6 +139,8 @@ const Info: React.FC = () => {
...
@@ -138,6 +139,8 @@ const Info: React.FC = () => {
return
(
return
(
<
PageHeaderWrapper
<
PageHeaderWrapper
title=
{
intl
.
formatMessage
({
id
:
'balance.platformSettlement.accountReceivable.info.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
title=
{
intl
.
formatMessage
({
id
:
'balance.platformSettlement.accountReceivable.info.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
/>
}
>
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
...
...
src/pages/balance/platformSettlement/couponSettlement/info.tsx
View file @
13deed51
...
@@ -20,6 +20,7 @@ import {
...
@@ -20,6 +20,7 @@ import {
}
from
'@/services/SettleV2Api'
;
}
from
'@/services/SettleV2Api'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
{
priceFormat
}
from
'@/utils/numberFomat'
;
import
{
priceFormat
}
from
'@/utils/numberFomat'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
const
intl
=
getIntl
();
const
intl
=
getIntl
();
...
@@ -91,6 +92,8 @@ const Info: React.FC = () => {
...
@@ -91,6 +92,8 @@ const Info: React.FC = () => {
return
(
return
(
<
PageHeaderWrapper
<
PageHeaderWrapper
title=
{
intl
.
formatMessage
({
id
:
'balance.platformSettlement.integral.info.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
title=
{
intl
.
formatMessage
({
id
:
'balance.platformSettlement.integral.info.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
/>
}
>
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
...
...
src/pages/balance/platformSettlement/integral/info.tsx
View file @
13deed51
...
@@ -26,6 +26,7 @@ import {
...
@@ -26,6 +26,7 @@ import {
getSettleAccountsPlatformScoreSettlementPageReceivableSettlementDetail
getSettleAccountsPlatformScoreSettlementPageReceivableSettlementDetail
}
from
'@/services/SettleV2Api'
;
}
from
'@/services/SettleV2Api'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
CustomizeColumn
from
'@/components/CustomizeColumn'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
const
formActions
=
createFormActions
();
const
formActions
=
createFormActions
();
...
@@ -87,6 +88,8 @@ const Info: React.FC = () => {
...
@@ -87,6 +88,8 @@ const Info: React.FC = () => {
return
(
return
(
<
PageHeaderWrapper
<
PageHeaderWrapper
title=
{
intl
.
formatMessage
({
id
:
'balance.platformSettlement.integral.info.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
title=
{
intl
.
formatMessage
({
id
:
'balance.platformSettlement.integral.info.title'
},
{
data
:
initialValue
?.
settlementNo
})
}
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
/>
}
>
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
div
style=
{
{
marginBottom
:
'16px'
}
}
>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
<
CustomizeColumn
data=
{
infoList
}
title=
""
column=
{
3
}
/>
...
...
src/pages/commodity/products/addProductsItem/priceAttributeForm.tsx
View file @
13deed51
...
@@ -487,7 +487,8 @@ const PriceAttributeForm: React.FC<Iprops> = (props) => {
...
@@ -487,7 +487,8 @@ const PriceAttributeForm: React.FC<Iprops> = (props) => {
* @param record table行记录
* @param record table行记录
*/
*/
const
tableSelelctChange
=
(
v
,
record
)
=>
{
const
tableSelelctChange
=
(
v
,
record
)
=>
{
let
_row
=
{
...
record
,
对应货品
:
v
}
console
.
log
(
v
,
record
)
let
_row
=
{
...
record
,
对应物料
:
v
}
let
newTabeData
=
[...
_tableDataSource
]
let
newTabeData
=
[...
_tableDataSource
]
newTabeData
[
record
[
intl
.
formatMessage
({
id
:
'commodity.products.addProductsItem.priceAttributeForm.index'
})]]
=
_row
newTabeData
[
record
[
intl
.
formatMessage
({
id
:
'commodity.products.addProductsItem.priceAttributeForm.index'
})]]
=
_row
_tableDataSource
=
newTabeData
_tableDataSource
=
newTabeData
...
...
src/pages/commodity/products/index.tsx
View file @
13deed51
...
@@ -672,8 +672,13 @@ const Products: React.FC<{}> = () => {
...
@@ -672,8 +672,13 @@ const Products: React.FC<{}> = () => {
}
}
}
else
{
}
else
{
const
{
memberId
,
memberRoleId
}
=
getAuth
()
||
{}
const
{
memberId
,
memberRoleId
}
=
getAuth
()
||
{}
getTemplateWebMemberShopWebFindCurrMemberShop
({
memberId
,
memberRoleId
}).
then
(
res
=>
{
getTemplateWebMemberShopWebFindCurrMemberShop
({
memberId
,
memberRoleId
}).
then
(({
code
,
data
})
=>
{
res
.
code
===
1000
&&
postProductCommodityOffPublishCommodity
({...
params
,
storeId
:
res
[
'data'
][
'id'
],
storeName
:
res
[
'data'
][
'name'
],
storeLogo
:
res
[
'data'
][
'logo'
]}).
then
(()
=>
{
code
===
1000
&&
postProductCommodityOffPublishCommodity
({
...
params
,
storeId
:
data
?
data
[
'id'
]
:
null
,
storeName
:
data
?
data
[
'name'
]
:
null
,
storeLogo
:
data
?
data
[
'logo'
]
:
null
,
}).
then
(()
=>
{
setUpDownModal
(
false
)
setUpDownModal
(
false
)
ref
.
current
.
reload
()
ref
.
current
.
reload
()
setIsDisabledOKbtn
(
false
)
setIsDisabledOKbtn
(
false
)
...
...
src/pages/contract/manage/add/components/Fromtable.tsx
View file @
13deed51
...
@@ -44,7 +44,7 @@ const FormList = (props: any) => {
...
@@ -44,7 +44,7 @@ const FormList = (props: any) => {
render
:
(
_
,
item
,
index
)
=>
{
render
:
(
_
,
item
,
index
)
=>
{
return
(
return
(
<
Select
<
Select
style=
{
{
width
:
2
00
}
}
style=
{
{
width
:
1
00
}
}
defaultValue=
{
item
.
payNum
}
defaultValue=
{
item
.
payNum
}
options=
{
options
}
options=
{
options
}
key=
'1'
key=
'1'
...
@@ -58,12 +58,12 @@ const FormList = (props: any) => {
...
@@ -58,12 +58,12 @@ const FormList = (props: any) => {
},
},
{
{
title
:
intl
.
formatMessage
({
id
:
'contract.fukuanjieduan'
}),
dataIndex
:
'payStage'
,
align
:
'left'
,
title
:
intl
.
formatMessage
({
id
:
'contract.fukuanjieduan'
}),
dataIndex
:
'payStage'
,
align
:
'left'
,
render
:
(
_
,
item
,
index
)
=>
<
TextArea
maxLength=
{
150
}
rows=
{
1
}
onChange=
{
(
e
)
=>
onSelectChange
(
e
,
'payStage'
,
index
)
}
/>
render
:
(
_
,
item
,
index
)
=>
<
TextArea
style=
{
{
width
:
200
}
}
maxLength=
{
150
}
rows=
{
1
}
onChange=
{
(
e
)
=>
onSelectChange
(
e
,
'payStage'
,
index
)
}
/>
},
},
{
{
title
:
intl
.
formatMessage
({
id
:
'contract.yujifukuanshijian'
}),
dataIndex
:
'expectPayTime'
,
align
:
'left'
,
title
:
intl
.
formatMessage
({
id
:
'contract.yujifukuanshijian'
}),
dataIndex
:
'expectPayTime'
,
align
:
'left'
,
render
:
(
_
,
item
,
index
)
=>
<
DatePicker
render
:
(
_
,
item
,
index
)
=>
<
DatePicker
style=
{
{
width
:
'100%'
}
}
style=
{
{
width
:
150
}
}
format=
"YYYY-MM-DD"
format=
"YYYY-MM-DD"
onChange=
{
(
e
)
=>
onSelectChange
(
e
,
'expectPayTime'
,
index
)
}
onChange=
{
(
e
)
=>
onSelectChange
(
e
,
'expectPayTime'
,
index
)
}
/>
/>
...
@@ -74,7 +74,7 @@ const FormList = (props: any) => {
...
@@ -74,7 +74,7 @@ const FormList = (props: any) => {
<
div
className=
{
styles
.
flex
}
>
<
div
className=
{
styles
.
flex
}
>
<
Input
<
Input
style=
{
{
style=
{
{
width
:
1
50
,
width
:
50
,
}
}
}
}
value=
{
item
.
payRatio
}
value=
{
item
.
payRatio
}
placeholder=
""
placeholder=
""
...
@@ -91,7 +91,7 @@ const FormList = (props: any) => {
...
@@ -91,7 +91,7 @@ const FormList = (props: any) => {
<
span
>
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
</
span
>
<
span
>
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
</
span
>
<
Input
<
Input
style=
{
{
style=
{
{
width
:
1
3
0
,
width
:
1
0
0
,
}
}
}
}
placeholder=
""
placeholder=
""
value=
{
text
}
value=
{
text
}
...
@@ -131,7 +131,7 @@ const FormList = (props: any) => {
...
@@ -131,7 +131,7 @@ const FormList = (props: any) => {
dataIndex
:
''
,
dataIndex
:
''
,
align
:
'left'
,
align
:
'left'
,
key
:
'x'
,
key
:
'x'
,
render
:
(
_
,
item
,
index
)
=>
<
a
onClick=
{
()
=>
Delete
(
item
,
index
)
}
>
{
intl
.
formatMessage
({
id
:
'contract.shanchu'
})
}
</
a
>,
render
:
(
_
,
item
,
index
)
=>
<
a
style=
{
{
width
:
80
}
}
onClick=
{
()
=>
Delete
(
item
,
index
)
}
>
{
intl
.
formatMessage
({
id
:
'contract.shanchu'
})
}
</
a
>,
},
},
];
];
...
@@ -249,14 +249,16 @@ const FormList = (props: any) => {
...
@@ -249,14 +249,16 @@ const FormList = (props: any) => {
})
})
return
(
return
(
<
div
className=
"table"
>
<
div
style=
{
{
width
:
'100%'
,
overflow
:
'auto'
}
}
>
<
Table
<
Table
columns=
{
tabcolumns
}
columns=
{
tabcolumns
}
dataSource=
{
PlanList
}
dataSource=
{
PlanList
}
rowKey=
"rowId"
rowKey=
"rowId"
style=
{
{
style=
{
{
width
:
"100%"
minWidth
:
1200
,
overflow
:
'auto'
}
}
}
}
scroll=
{
{
x
:
true
}
}
pagination=
{
false
}
pagination=
{
false
}
/>
/>
<
div
style=
{
{
background
:
'#F4F5F7'
}
}
onClick=
{
()
=>
addtable
()
}
>
<
div
style=
{
{
background
:
'#F4F5F7'
}
}
onClick=
{
()
=>
addtable
()
}
>
...
...
src/pages/editor/components/toolBar/returnSaveParams.ts
View file @
13deed51
...
@@ -689,10 +689,12 @@ export const paramsShop = (
...
@@ -689,10 +689,12 @@ export const paramsShop = (
if
(
pageConfig
[
'13'
].
childNodes
?.
length
)
{
if
(
pageConfig
[
'13'
].
childNodes
?.
length
)
{
const
_list
=
pageConfig
[
'13'
].
childNodes
;
const
_list
=
pageConfig
[
'13'
].
childNodes
;
for
(
const
key
in
_list
)
{
for
(
const
key
in
_list
)
{
_params
.
adornContent
.
coupon
.
details
.
id
.
push
({
if
(
pageConfig
[
_list
[
key
]]?.
props
?.
id
)
{
id
:
pageConfig
[
_list
[
key
]]?.
props
?.
id
,
_params
.
adornContent
.
coupon
.
details
.
id
.
push
({
belongType
:
pageConfig
[
_list
[
key
]]?.
props
?.
belongType
,
id
:
pageConfig
[
_list
[
key
]]?.
props
?.
id
,
});
belongType
:
pageConfig
[
_list
[
key
]]?.
props
?.
belongType
,
});
}
}
}
}
}
break
;
break
;
...
@@ -1319,10 +1321,12 @@ export const paramsShop = (
...
@@ -1319,10 +1321,12 @@ export const paramsShop = (
if
(
pageConfig
[
'13'
].
childNodes
?.
length
)
{
if
(
pageConfig
[
'13'
].
childNodes
?.
length
)
{
const
_list
=
pageConfig
[
'13'
].
childNodes
;
const
_list
=
pageConfig
[
'13'
].
childNodes
;
for
(
const
key
in
_list
)
{
for
(
const
key
in
_list
)
{
_params
.
adornContent
.
coupon
.
details
.
id
.
push
({
if
(
pageConfig
[
_list
[
key
]]?.
props
?.
id
)
{
id
:
pageConfig
[
_list
[
key
]]?.
props
?.
id
,
_params
.
adornContent
.
coupon
.
details
.
id
.
push
({
belongType
:
pageConfig
[
_list
[
key
]]?.
props
?.
belongType
,
id
:
pageConfig
[
_list
[
key
]]?.
props
?.
id
,
});
belongType
:
pageConfig
[
_list
[
key
]]?.
props
?.
belongType
,
});
}
}
}
}
}
break
;
break
;
...
@@ -1963,10 +1967,13 @@ export const paramsShop = (
...
@@ -1963,10 +1967,13 @@ export const paramsShop = (
if
(
pageConfig
[
'13'
].
childNodes
?.
length
)
{
if
(
pageConfig
[
'13'
].
childNodes
?.
length
)
{
const
_list
=
pageConfig
[
'13'
].
childNodes
;
const
_list
=
pageConfig
[
'13'
].
childNodes
;
for
(
const
key
in
_list
)
{
for
(
const
key
in
_list
)
{
_params
.
adornContent
.
coupon
.
details
.
id
.
push
({
if
(
pageConfig
[
_list
[
key
]]?.
props
?.
id
)
{
id
:
pageConfig
[
_list
[
key
]]?.
props
?.
id
,
_params
.
adornContent
.
coupon
.
details
.
id
.
push
({
belongType
:
pageConfig
[
_list
[
key
]]?.
props
?.
belongType
,
id
:
pageConfig
[
_list
[
key
]]?.
props
?.
id
,
});
belongType
:
pageConfig
[
_list
[
key
]]?.
props
?.
belongType
,
});
}
}
}
}
}
break
;
break
;
...
...
src/pages/member/memberMaintain/black/schema.ts
View file @
13deed51
...
@@ -43,7 +43,6 @@ export const blockedModalSchema: ISchema = {
...
@@ -43,7 +43,6 @@ export const blockedModalSchema: ISchema = {
'x-component'
:
'Textarea'
,
'x-component'
:
'Textarea'
,
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
intl
.
formatMessage
({
id
:
'member.management.maintain.black.getBlocked.form.reason.placeholder'
}),
placeholder
:
intl
.
formatMessage
({
id
:
'member.management.maintain.black.getBlocked.form.reason.placeholder'
}),
maxLength
:
60
,
rows
:
5
,
rows
:
5
,
},
},
'x-rules'
:
[
'x-rules'
:
[
...
...
src/pages/member/memberMaintain/eliminate/schema.ts
View file @
13deed51
...
@@ -43,7 +43,6 @@ export const unfriendModalSchema: ISchema = {
...
@@ -43,7 +43,6 @@ export const unfriendModalSchema: ISchema = {
'x-component'
:
'Textarea'
,
'x-component'
:
'Textarea'
,
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
intl
.
formatMessage
({
id
:
'member.management.maintain.eliminate.remove.form.reason.placeholder'
}),
placeholder
:
intl
.
formatMessage
({
id
:
'member.management.maintain.eliminate.remove.form.reason.placeholder'
}),
maxLength
:
60
,
rows
:
5
,
rows
:
5
,
},
},
'x-rules'
:
[
'x-rules'
:
[
...
...
src/pages/member/memberMaintain/freeze/schema.ts
View file @
13deed51
...
@@ -26,7 +26,6 @@ export const freezeSchema: ISchema = {
...
@@ -26,7 +26,6 @@ export const freezeSchema: ISchema = {
'x-component'
:
'Textarea'
,
'x-component'
:
'Textarea'
,
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
intl
.
formatMessage
({
id
:
'member.management.maintain.freeze.freeze.form.reason.placeholder'
}),
placeholder
:
intl
.
formatMessage
({
id
:
'member.management.maintain.freeze.freeze.form.reason.placeholder'
}),
maxLength
:
60
,
rows
:
5
,
rows
:
5
,
},
},
'x-rules'
:
[
'x-rules'
:
[
...
...
src/pages/member/memberMaintain/unfreeze/schema.ts
View file @
13deed51
...
@@ -43,7 +43,6 @@ export const unfriendModalSchema: ISchema = {
...
@@ -43,7 +43,6 @@ export const unfriendModalSchema: ISchema = {
'x-component'
:
'Textarea'
,
'x-component'
:
'Textarea'
,
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
intl
.
formatMessage
({
id
:
'member.management.maintain.unfreeze.unfreeze.form.placeholder-reason'
}),
placeholder
:
intl
.
formatMessage
({
id
:
'member.management.maintain.unfreeze.unfreeze.form.placeholder-reason'
}),
maxLength
:
60
,
rows
:
5
,
rows
:
5
,
},
},
'x-rules'
:
[
'x-rules'
:
[
...
...
src/pages/mobileTemplate/categoryNavigation/components/FormilyCommodity/index.tsx
View file @
13deed51
...
@@ -78,7 +78,7 @@ const FormilyCommodity: React.FC<Iprops> & { isFieldComponent: boolean } = (prop
...
@@ -78,7 +78,7 @@ const FormilyCommodity: React.FC<Iprops> & { isFieldComponent: boolean } = (prop
const
formatSearchParams
=
(
params
)
=>
{
const
formatSearchParams
=
(
params
)
=>
{
const
idInList
=
typeof
params
.
id
!==
'undefined'
&&
params
.
id
?
{
idInList
:
[
params
.
id
]
}
:
{}
const
idInList
=
typeof
params
.
id
!==
'undefined'
&&
params
.
id
?
{
idInList
:
[
params
.
id
]
}
:
{}
const
{
id
,
categoryId
,
...
rest
}
=
params
;
const
{
id
,
categoryId
,
...
rest
}
=
params
;
const
idNotInList
=
Array
.
from
(
new
Set
([
productProps
?.
id
].
concat
(
disabledSaleRankingKeys
).
filter
(
Boolean
)));
const
idNotInList
=
Array
.
from
(
new
Set
([
productProps
?.
id
].
concat
(
disabledSaleRankingKeys
).
filter
(
Boolean
)))
.
join
(
','
)
;
const
common
=
{
const
common
=
{
shopId
:
fixtureContext
?.
shopId
.
toString
(),
shopId
:
fixtureContext
?.
shopId
.
toString
(),
customerCategoryId
:
categoryId
||
activeKey
,
customerCategoryId
:
categoryId
||
activeKey
,
...
...
src/pages/order/assets/handles/HandleFormSubmit.ts
View file @
13deed51
...
@@ -14,7 +14,7 @@ import {
...
@@ -14,7 +14,7 @@ import {
getOrderReceiveOrderDetailProductPage
getOrderReceiveOrderDetailProductPage
}
from
'@/services/OrderNewV2Api'
;
}
from
'@/services/OrderNewV2Api'
;
import
moment
from
"moment"
;
import
moment
from
"moment"
;
import
{
}
from
'../../constants'
import
{
Deliverylimit
}
from
'../../constants'
import
{
isNull
}
from
"lodash"
;
import
{
isNull
}
from
"lodash"
;
import
{
RoleTypeEnum
}
from
"../../constants/RoleTypeEnum"
;
import
{
RoleTypeEnum
}
from
"../../constants/RoleTypeEnum"
;
...
@@ -168,7 +168,7 @@ export class ReceivingNoteAddService extends HandleFormSubmit {
...
@@ -168,7 +168,7 @@ export class ReceivingNoteAddService extends HandleFormSubmit {
handleBeforeFields(): boolean {
handleBeforeFields(): boolean {
let b = this.getTableData().some((v) => Number(v.ConsigneeNum) < v.DeliveryNum)
let b = this.getTableData().some((v) => Number(v.ConsigneeNum) < v.DeliveryNum)
if (b) {
if (b) {
message.error(
'收货数量不能少于送货数量'
)
message.error(
Deliverylimit
)
}
}
return b;
return b;
}
}
...
@@ -207,7 +207,7 @@ export class DeliveryNoteAddService extends HandleFormSubmit {
...
@@ -207,7 +207,7 @@ export class DeliveryNoteAddService extends HandleFormSubmit {
return Number(v.deliveryCount) > Number(v.purchaseCount)
return Number(v.deliveryCount) > Number(v.purchaseCount)
})
})
if (b) {
if (b) {
message.error(
'收货数量不能少于送货数量'
)
message.error(
Deliverylimit
)
}
}
return b;
return b;
}
}
...
@@ -338,6 +338,7 @@ export class ReceiveOrderCreate extends DeliveryNoteAddService {
...
@@ -338,6 +338,7 @@ export class ReceiveOrderCreate extends DeliveryNoteAddService {
},
},
"executorVO.phone": data.executorVO.phone,
"executorVO.phone": data.executorVO.phone,
sendTime: moment(data.sendTime),
sendTime: moment(data.sendTime),
receiveTime: moment(data.receiveTime),
"executorVO.carNumbers": data.executorVO.carNumbers,
"executorVO.carNumbers": data.executorVO.carNumbers,
"receiverBO.phone": data.receiverBO.phone,
"receiverBO.phone": data.receiverBO.phone,
logisticsNo: data.logisticsNo,
logisticsNo: data.logisticsNo,
...
...
src/pages/order/constants/label.ts
View file @
13deed51
export
const
ReceiptAddLabel
=
'新增收货单'
;
import
{
getIntl
}
from
'umi'
;
const
intl
=
getIntl
();
export
const
ReceiptAbstractLabel
=
'收货单摘要'
;
// export const ReceiptAddLabel = intl.formatMessage({id: 'coupon.weishiyong', defaultMessage: '新增收货单'});
export
const
DeliveryAbstractLabel
=
'送货单摘要'
;
export
const
DeliveryAbstractNoLabel
=
'送货通知编号'
;
export
const
ReNoLabel
=
'收货单编号'
;
export
const
DeliveryPanleNoLabel
=
'送货计划编号'
export
const
SupplyMembersLabel
=
'供应会员'
;
export
const
NoteLabel
=
'备注'
;
export
const
ConsigneeLabel
=
'收货人'
;
export
const
ReceiptAddLabel
=
intl
.
formatMessage
({
id
:
'order.xinzengshouhuodan'
,
defaultMessage
:
'新增收货单'
});
export
const
ConsigneeTimeLabel
=
'发货时间'
;
export
const
ConsigneePhoneLabel
=
'收货人电话'
;
export
const
DeliveryOrderNoLabel
=
'送货订单号'
;
export
const
ReceiptAbstractLabel
=
intl
.
formatMessage
({
id
:
'order.shouhuodanzhaiyao'
,
defaultMessage
:
'收货单摘要'
});
export
const
DeliveryNoLabel
=
'送货单编号'
;
export
const
DeliveryAbstractLabel
=
intl
.
formatMessage
({
id
:
'order.songhuodanzhaiyao'
,
defaultMessage
:
'送货单摘要'
});
export
const
DeliveryDateLabel
=
'发货日期'
;
export
const
DeliveryAbstractNoLabel
=
intl
.
formatMessage
({
id
:
'order.songhuotongzhibianhao'
,
defaultMessage
:
'送货通知编号'
});
export
const
DeliveryTimeLabel
=
'发货时间'
;
export
const
ReNoLabel
=
intl
.
formatMessage
({
id
:
'order.shouhuodanbianhao'
,
defaultMessage
:
'收货单编号'
});
export
const
DeliveryAddrLabel
=
'送货地址'
;
export
const
DeliveryPanleNoLabel
=
intl
.
formatMessage
({
id
:
'order.songhuojihuabianhao'
,
defaultMessage
:
'送货计划编号'
})
export
const
DeliverySlefAddrLabel
=
'发货(自提)地址'
;
export
const
SupplyMembersLabel
=
intl
.
formatMessage
({
id
:
'order.gongyinghuiyuan'
,
defaultMessage
:
'供应会员'
});
export
const
DeliveryNameLabel
=
'送货人'
;
export
const
NoteLabel
=
intl
.
formatMessage
({
id
:
'order.beizhu'
,
defaultMessage
:
'备注'
});
export
const
DeliveryPhoneLabel
=
'送货人电话'
;
export
const
LogisticsCompanyLabel
=
'物流公司'
;
export
const
LogisticsCarNoLabel
=
'车牌号码'
;
export
const
LogisticsNoLabel
=
'物流单号'
;
export
const
PlanNumber
=
'计划编号'
;
export
const
ConsigneeLabel
=
intl
.
formatMessage
({
id
:
'order.shouhuoren'
,
defaultMessage
:
'收货人'
});
export
const
SupplyMember
=
'供应会员'
;
export
const
ConsigneeTimeLabel
=
intl
.
formatMessage
({
id
:
'order.fahuoshijian'
,
defaultMessage
:
'发货时间'
});
export
const
PlanSummary
=
'计划摘要'
;
export
const
ConsigneePhoneLabel
=
intl
.
formatMessage
({
id
:
'order.shouhuorendianhua'
,
defaultMessage
:
'收货人电话'
});
export
const
PlanningCycle
=
'计划周期'
;
export
const
ExternalState
=
'外部状态'
;
export
const
BuyerLabel
=
'采购会员'
;
export
const
DeliveryOrderNoLabel
=
intl
.
formatMessage
({
id
:
'order.songhuodingdanhao'
,
defaultMessage
:
'送货订单号'
});
export
const
OutStatusLabel
=
'外部状态'
;
export
const
DeliveryNoLabel
=
intl
.
formatMessage
({
id
:
'order.songhuodanbianhao'
,
defaultMessage
:
'送货单编号'
});
export
const
DeliveryDateLabel
=
intl
.
formatMessage
({
id
:
'order.fahuoriqi'
,
defaultMessage
:
'发货日期'
});
export
const
DeliveryTimeLabel
=
intl
.
formatMessage
({
id
:
'order.fahuoshijian'
,
defaultMessage
:
'发货时间'
});
export
const
DeliveryAddrLabel
=
intl
.
formatMessage
({
id
:
'order.songhuodizhi'
,
defaultMessage
:
'送货地址'
});
export
const
DeliverySlefAddrLabel
=
intl
.
formatMessage
({
id
:
'order.fahuozitidizhi'
,
defaultMessage
:
'发货(自提)地址'
});
export
const
DeliveryNameLabel
=
intl
.
formatMessage
({
id
:
'order.songhuoren'
,
defaultMessage
:
'送货人'
});
export
const
DeliveryPhoneLabel
=
intl
.
formatMessage
({
id
:
'order.songhuorendianhua'
,
defaultMessage
:
'送货人电话'
});
export
const
DeliveryTypeLabel
=
'配送方式'
;
export
const
LogisticsCompanyLabel
=
intl
.
formatMessage
({
id
:
'order.wuliugongsi'
,
defaultMessage
:
'物流公司'
});
export
const
LogisticsCarNoLabel
=
intl
.
formatMessage
({
id
:
'order.chepaihaoma'
,
defaultMessage
:
'车牌号码'
});
export
const
LogisticsNoLabel
=
intl
.
formatMessage
({
id
:
'order.wuliudanhao'
,
defaultMessage
:
'物流单号'
});
export
const
Purchaser
=
'采购商'
;
export
const
PlanNumber
=
intl
.
formatMessage
({
id
:
'order.jihuabianhao'
,
defaultMessage
:
'计划编号'
});
export
const
SubmitDeliveryPlan
=
'提交送货计划'
;
export
const
SupplyMember
=
intl
.
formatMessage
({
id
:
'order.gongyinghuiyuan'
,
defaultMessage
:
'供应会员'
});
export
const
PlanSummary
=
intl
.
formatMessage
({
id
:
'order.jihuazhaiyao'
,
defaultMessage
:
'计划摘要'
});
export
const
PlanningCycle
=
intl
.
formatMessage
({
id
:
'order.jihuazhouqi'
,
defaultMessage
:
'计划周期'
});
export
const
ExternalState
=
intl
.
formatMessage
({
id
:
'order.waibuzhuangtai'
,
defaultMessage
:
'外部状态'
});
export
const
Supplier
=
'供应商'
;
export
const
BuyerLabel
=
intl
.
formatMessage
({
id
:
'order.caigouhuiyuan'
,
defaultMessage
:
'采购会员'
})
;
export
const
ConfirmDeliveryPlan
=
'确认送货计划'
;
export
const
OutStatusLabel
=
intl
.
formatMessage
({
id
:
'order.waibuzhuangtai'
,
defaultMessage
:
'外部状态'
})
;
export
const
OutStatusLogTitleLabel
=
'外部单据流转记录'
;
export
const
DeliveryTypeLabel
=
intl
.
formatMessage
({
id
:
'order.peisongfangshi'
,
defaultMessage
:
'配送方式'
})
;
export
const
NoticeNo
=
'通知单编号'
;
export
const
Purchaser
=
intl
.
formatMessage
({
id
:
'order.caigoushang'
,
defaultMessage
:
'采购商'
});
export
const
NoticeSummary
=
'通知单摘要'
;
export
const
SubmitDeliveryPlan
=
intl
.
formatMessage
({
id
:
'order.tijiaosonghuojihua'
,
defaultMessage
:
'提交送货计划'
});
export
const
DeliveryDate
=
'送货日期'
;
export
const
DeliveryTime
=
'送货时间'
;
export
const
ReceivingAddress
=
'收货地址'
;
export
const
ReceivingTime
=
'收货时间'
;
export
const
ReceivingDate
=
'收货日期'
;
export
const
Su
bmitDeliveryNotice
=
'提交送货通知单'
;
export
const
Su
pplier
=
intl
.
formatMessage
({
id
:
'order.gongyingshang'
,
defaultMessage
:
'供应商'
})
;
export
const
ConfirmDelivery
Notice
=
'确认送货通知单'
;
export
const
ConfirmDelivery
Plan
=
intl
.
formatMessage
({
id
:
'order.querensonghuojihua'
,
defaultMessage
:
'确认送货计划'
})
;
export
const
DeliveryPlanText
=
'送货计划'
export
const
OutStatusLogTitleLabel
=
intl
.
formatMessage
({
id
:
'order.waibudanjuliuzhuanjilu'
,
defaultMessage
:
'外部单据流转记录'
});
export
const
DeliveryPlanRemark
=
'最长600个字符,300个汉字'
export
const
CreateDeliveryPlanTitleSRM
=
'新增送货计划(SRM)'
export
const
NoticeNo
=
intl
.
formatMessage
({
id
:
'order.tongzhidanbianhao'
,
defaultMessage
:
'通知单编号'
});
export
const
CreateDeliveryPlanTitleB2B
=
'新增送货计划(B2B)'
export
const
NoticeSummary
=
intl
.
formatMessage
({
id
:
'order.tongzhidanzhaiyao'
,
defaultMessage
:
'通知单摘要'
});
export
const
DeliveryDate
=
intl
.
formatMessage
({
id
:
'order.songhuoriqi'
,
defaultMessage
:
'送货日期'
});
export
const
DeliveryTime
=
intl
.
formatMessage
({
id
:
'order.songhuoshijian'
,
defaultMessage
:
'送货时间'
});
export
const
ReceivingAddress
=
intl
.
formatMessage
({
id
:
'order.shouhuodizhi'
,
defaultMessage
:
'收货地址'
});
export
const
ReceivingTime
=
intl
.
formatMessage
({
id
:
'order.shouhuoshijian'
,
defaultMessage
:
'收货时间'
});
export
const
ReceivingDate
=
intl
.
formatMessage
({
id
:
'order.shouhuoriqi'
,
defaultMessage
:
'收货日期'
});
export
const
NoticeGenerated
=
'生成送货通知单'
export
const
SubmitDeliveryNotice
=
intl
.
formatMessage
({
id
:
'order.tijiaosonghuotongzhidan'
,
defaultMessage
:
'提交送货通知单'
});
export
const
DeliveryNoteGenerated
=
'生成送货单'
export
const
ConfirmDeliveryNotice
=
intl
.
formatMessage
({
id
:
'order.querensonghuotongzhidan'
,
defaultMessage
:
'确认送货通知单'
});
export
const
AlreadyNoticeGenerated
=
'已生成送货通知单'
export
const
AlreadyDeliveryNoteGenerated
=
'已生成送货单'
export
const
DeliveryPlanText
=
intl
.
formatMessage
({
id
:
'order.songhuojihua'
,
defaultMessage
:
'送货计划'
})
export
const
DeliveryPlanRemark
=
intl
.
formatMessage
({
id
:
'order.zuichang600gezifu300ge'
,
defaultMessage
:
'最长600个字符,300个汉字'
})
export
const
CreateDeliveryPlanTitleSRM
=
intl
.
formatMessage
({
id
:
'order.xinzengsonghuojihuaSRM'
,
defaultMessage
:
'新增送货计划(SRM)'
})
export
const
CreateDeliveryPlanTitleB2B
=
intl
.
formatMessage
({
id
:
'order.xinzengsonghuojihuaB2B'
,
defaultMessage
:
'新增送货计划(B2B)'
})
export
const
NoticeGenerated
=
intl
.
formatMessage
({
id
:
'order.shengchengsonghuotongzhidan'
,
defaultMessage
:
'生成送货通知单'
})
export
const
DeliveryNoteGenerated
=
intl
.
formatMessage
({
id
:
'order.shengchengsonghuodan'
,
defaultMessage
:
'生成送货单'
})
export
const
AlreadyNoticeGenerated
=
intl
.
formatMessage
({
id
:
'order.yishengchengsonghuotongzhidan'
,
defaultMessage
:
'已生成送货通知单'
})
export
const
AlreadyDeliveryNoteGenerated
=
intl
.
formatMessage
({
id
:
'order.yishengchengsonghuodan'
,
defaultMessage
:
'已生成送货单'
})
export
const
Deliverylimit
=
intl
.
formatMessage
({
id
:
'order.songhuoshuliangbunengdayu'
,
defaultMessage
:
'送货数量不能大于待送货数量'
})
src/pages/order/deliveryNotice/manageSRM/add.tsx
View file @
13deed51
...
@@ -182,6 +182,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
...
@@ -182,6 +182,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
<
ReceiverAddress
<
ReceiverAddress
disabled=
{
true
}
disabled=
{
true
}
hiddenBtn=
{
true
}
/>
/>
</
FormItem
>
</
FormItem
>
...
@@ -196,7 +197,6 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
...
@@ -196,7 +197,6 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
/>
/>
</
FormItem
>
</
FormItem
>
</
ContentBox
>
</
ContentBox
>
<
ContentBox
title=
{
LogisticsInfo
.
name
}
id=
{
LogisticsInfo
.
key
}
>
<
ContentBox
title=
{
LogisticsInfo
.
name
}
id=
{
LogisticsInfo
.
key
}
>
...
...
src/pages/order/deliveryNotice/receivingNoteQuery/schema/index.tsx
View file @
13deed51
...
@@ -19,13 +19,13 @@ export const receivingNoteQuerySchema: ISchema = {
...
@@ -19,13 +19,13 @@ export const receivingNoteQuerySchema: ISchema = {
className
:
'useMegaStart'
className
:
'useMegaStart'
},
},
properties
:
{
properties
:
{
ctl
:
{
//
ctl: {
type
:
'object'
,
//
type: 'object',
'x-component'
:
'Children'
,
//
'x-component': 'Children',
'x-component-props'
:
{
//
'x-component-props': {
children
:
'{{controllerBtns}}'
,
//
children: '{{controllerBtns}}',
},
//
},
},
//
},
receiveNo
:
{
receiveNo
:
{
type
:
'string'
,
type
:
'string'
,
'x-component'
:
'Search'
,
'x-component'
:
'Search'
,
...
...
src/pages/order/receivingNote/deliveryNoteManage/edit.tsx
View file @
13deed51
...
@@ -70,6 +70,7 @@ function DeliveryNoteAddForm() {
...
@@ -70,6 +70,7 @@ function DeliveryNoteAddForm() {
value
:
res
?.
logisticsCompanyId
value
:
res
?.
logisticsCompanyId
},
},
}
}
console
.
log
(
target
,
'targettargettargettarget'
)
form
.
setFieldsValue
({
form
.
setFieldsValue
({
id
:
id
,
id
:
id
,
...
target
...
target
...
@@ -164,12 +165,15 @@ function DeliveryNoteAddForm() {
...
@@ -164,12 +165,15 @@ function DeliveryNoteAddForm() {
required
()
required
()
]
}
]
}
label=
{
ReceivingTime
}
name=
"receiveTime"
>
label=
{
ReceivingTime
}
name=
"receiveTime"
>
<
DatePickerSelect
disabled=
{
true
}
className=
'w-full'
/>
<
DatePickerSelect
disabled=
{
true
}
className=
"w-full"
/>
</
FormItem
>
</
FormItem
>
<
FormItem
<
FormItem
rules=
{
[
rules=
{
[
required
()
{
required
:
false
,
message
:
''
,
}
]
}
]
}
label=
{
ConsigneeLabel
}
name=
"receiveVO.consignee"
>
label=
{
ConsigneeLabel
}
name=
"receiveVO.consignee"
>
<
Input
/>
<
Input
/>
...
@@ -186,7 +190,10 @@ function DeliveryNoteAddForm() {
...
@@ -186,7 +190,10 @@ function DeliveryNoteAddForm() {
<
FormItem
<
FormItem
rules=
{
[
rules=
{
[
required
()
{
required
:
false
,
message
:
''
,
}
]
}
]
}
label=
{
ConsigneePhoneLabel
}
name=
"receiveVO.phone"
>
label=
{
ConsigneePhoneLabel
}
name=
"receiveVO.phone"
>
<
Input
/>
<
Input
/>
...
...
src/pages/supplier/memberVisitManage/components/MemberVisitForm/schema.ts
View file @
13deed51
...
@@ -85,6 +85,7 @@ const schema: ISchema = {
...
@@ -85,6 +85,7 @@ const schema: ISchema = {
{
default
:
'拜访人'
},
{
default
:
'拜访人'
},
),
),
type
:
'array'
,
type
:
'array'
,
required
:
true
,
'x-component'
:
'VisitorMemberFieldItem'
,
'x-component'
:
'VisitorMemberFieldItem'
,
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
intl
.
formatMessage
(
placeholder
:
intl
.
formatMessage
(
...
...
src/pages/transaction/logisticsAbility/logisticsAdminister/logisticsCompanyManage/add.tsx
View file @
13deed51
...
@@ -123,7 +123,7 @@ const LogisticsCompanyManageAdded = (props: any) => {
...
@@ -123,7 +123,7 @@ const LogisticsCompanyManageAdded = (props: any) => {
}
}
if
(
values
.
cooperateType
===
COOPERATE
.
PLATFORM
)
{
if
(
values
.
cooperateType
===
COOPERATE
.
PLATFORM
)
{
params
.
companyMemberId
=
values
.
companyMemberId
;
params
.
companyMemberId
=
values
.
companyMemberId
;
params
.
companyRoleId
=
excludeList
[
0
].
roleId
;
params
.
companyRoleId
=
values
.
companyRoleId
||
excludeList
[
0
].
roleId
;
}
else
{
}
else
{
params
.
code
=
values
.
code
params
.
code
=
values
.
code
}
}
...
@@ -199,16 +199,17 @@ const LogisticsCompanyManageAdded = (props: any) => {
...
@@ -199,16 +199,17 @@ const LogisticsCompanyManageAdded = (props: any) => {
>
>
<
Card
>
<
Card
>
<
NiceForm
<
NiceForm
previewPlaceholder=
'-'
initialValues=
{
formatedValue
}
initialValues=
{
formatedValue
}
actions=
{
formActions
}
actions=
{
formActions
}
onSubmit=
{
handleOnSubmit
}
onSubmit=
{
handleOnSubmit
}
expressionScope=
{
{
expressionScope=
{
{
connectMember
:
(
connectMember
:
path
!==
'preview'
?
(
<
div
onClick=
{
()
=>
toggle
(
true
)
}
>
<
div
onClick=
{
()
=>
toggle
(
true
)
}
>
<
LinkOutlined
style=
{
{
marginRight
:
4
}
}
/>
<
LinkOutlined
style=
{
{
marginRight
:
4
}
}
/>
{
intl
.
formatMessage
({
id
:
'logistics.xuanze'
})
}
{
intl
.
formatMessage
({
id
:
'logistics.xuanze'
})
}
</
div
>
</
div
>
)
)
:
null
}
}
}
}
effects=
{
()
=>
{
effects=
{
()
=>
{
useFormEffects
();
useFormEffects
();
...
...
src/pages/transaction/marketingAbility/merchantCoupon/components/CouponDetail/index.tsx
View file @
13deed51
...
@@ -200,7 +200,7 @@ const MerchantCouponDetail: React.FC<IProps> = (props) => {
...
@@ -200,7 +200,7 @@ const MerchantCouponDetail: React.FC<IProps> = (props) => {
),
),
{
{
key
:
'applicableMember'
,
key
:
'applicableMember'
,
name
:
intl
.
formatMessage
({
id
:
'merchantCoupon.suit
Mall
'
}),
name
:
intl
.
formatMessage
({
id
:
'merchantCoupon.suit
Users
'
}),
},
},
{
{
key
:
'innerFlowRecords'
,
key
:
'innerFlowRecords'
,
...
...
src/pages/transaction/purchaseAbility/components/detail/index.tsx
View file @
13deed51
...
@@ -23,6 +23,8 @@ export interface IProps {
...
@@ -23,6 +23,8 @@ export interface IProps {
effect
?:
React
.
ReactNode
,
effect
?:
React
.
ReactNode
,
/** 页面的组件 */
/** 页面的组件 */
components
?:
React
.
ReactNode
,
components
?:
React
.
ReactNode
,
/** 隐藏中间单号标题中间的分隔符 */
hideBar
?:
boolean
,
}
}
const
PeripheralLayout
:
React
.
FC
<
IProps
>
=
(
props
:
any
)
=>
{
const
PeripheralLayout
:
React
.
FC
<
IProps
>
=
(
props
:
any
)
=>
{
...
@@ -32,6 +34,7 @@ const PeripheralLayout: React.FC<IProps> = (props: any) => {
...
@@ -32,6 +34,7 @@ const PeripheralLayout: React.FC<IProps> = (props: any) => {
tabLink
,
tabLink
,
effect
,
effect
,
components
,
components
,
hideBar
}
=
props
;
}
=
props
;
const
dataSource
=
useContext
(
Context
)
const
dataSource
=
useContext
(
Context
)
...
@@ -72,7 +75,7 @@ const PeripheralLayout: React.FC<IProps> = (props: any) => {
...
@@ -72,7 +75,7 @@ const PeripheralLayout: React.FC<IProps> = (props: any) => {
<
ArrowLeftOutlined
className=
{
style
.
goBack
}
onClick=
{
()
=>
history
.
goBack
()
}
/>
<
ArrowLeftOutlined
className=
{
style
.
goBack
}
onClick=
{
()
=>
history
.
goBack
()
}
/>
<
span
className=
{
style
.
titleContext
}
>
<
span
className=
{
style
.
titleContext
}
>
{
detail
?
detail
:
dataSource
.
details
}
{
detail
?
detail
:
dataSource
.
details
}
|
{
hideBar
?
''
:
' | '
}
{
no
}
{
no
}
</
span
>
</
span
>
</
div
>
</
div
>
...
...
src/pages/transaction/purchaseAbility/onlineBid/readyBid/detail/index.tsx
View file @
13deed51
...
@@ -41,7 +41,7 @@ const Detail = () => {
...
@@ -41,7 +41,7 @@ const Detail = () => {
useEffect
(()
=>
{
useEffect
(()
=>
{
const
_data
=
purchaseBiddingMessageSupplier
?.
data
const
_data
=
purchaseBiddingMessageSupplier
?.
data
if
(
purchaseBiddingMessageSupplier
&&
!
isEmpty
(
dataSource
))
{
if
(
purchaseBiddingMessageSupplier
&&
!
isEmpty
(
dataSource
)
&&
_data
.
id
==
onlineId
)
{
const
_obj
=
{
const
_obj
=
{
ranking
:
_data
.
ranking
,
ranking
:
_data
.
ranking
,
minLowPrice
:
_data
.
minPrice
,
minLowPrice
:
_data
.
minPrice
,
...
...
src/pages/transaction/purchaseOrder/orderCollectB2b/index.tsx
View file @
13deed51
...
@@ -277,7 +277,7 @@ const PurchaseOrderDetail:React.FC<PurchaseOrderDetailProps> = () => {
...
@@ -277,7 +277,7 @@ const PurchaseOrderDetail:React.FC<PurchaseOrderDetailProps> = () => {
// 校验配送区域范围
// 校验配送区域范围
const
{
commodityAreaList
,
isAllArea
}
=
value
[
'products'
][
0
]
const
{
commodityAreaList
,
isAllArea
}
=
value
[
'products'
][
0
]
const
{
provinceCode
,
cityCode
,
districtCode
,
streetCode
}
=
value
[
'deliveryAddresId'
]
const
{
provinceCode
,
cityCode
,
districtCode
,
streetCode
}
=
value
[
'deliveryAddresId'
]
if
(
!
isAllArea
&&
commodityAreaList
.
length
>
0
)
{
if
(
!
isAllArea
&&
commodityAreaList
?
.
length
>
0
)
{
const
ressult
=
commodityAreaList
.
some
(
item
=>
{
const
ressult
=
commodityAreaList
.
some
(
item
=>
{
if
(
item
[
'provinceCode'
]
===
provinceCode
&&
item
[
'isAllCity'
])
{
// 省内配送
if
(
item
[
'provinceCode'
]
===
provinceCode
&&
item
[
'isAllCity'
])
{
// 省内配送
return
true
return
true
...
...
src/pages/transaction/purchaseRequisition/increaseRequisition/components/RadioNode/index.tsx
View file @
13deed51
...
@@ -12,9 +12,9 @@ const RadioNode = (props) => {
...
@@ -12,9 +12,9 @@ const RadioNode = (props) => {
state
.
props
.
deliveryType
=
e
.
target
.
value
state
.
props
.
deliveryType
=
e
.
target
.
value
// 如果他选择的客户自提 就让他恢复默认的输入框
// 如果他选择的客户自提 就让他恢复默认的输入框
const
Address
=
form
.
getFieldState
(
'deliveryAddressId'
)
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
)
{
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
=>
{
form
.
setFieldState
(
'deliveryAddress'
,
state
=>
{
state
.
visible
=
true
;
state
.
visible
=
true
;
state
.
value
=
`
${
name
}
-
${
addres
}
`
state
.
value
=
`
${
name
}
-
${
addres
}
`
...
...
src/pages/transaction/purchaseRequisition/increaseRequisition/components/materialTableCell/index.tsx
View file @
13deed51
...
@@ -167,22 +167,15 @@ export const MaterialTableCell: React.FC<MaterialTableCellProps> = ({
...
@@ -167,22 +167,15 @@ export const MaterialTableCell: React.FC<MaterialTableCellProps> = ({
{
{
validator
:
validatorNumber
validator
:
validatorNumber
},
},
]
:
dataIndex
===
'remark'
?
]
:
[
[
{
{
pattern
:
/^
\d
+
(\.\d
{1,4}
)?
$/
,
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'purchaseRequisition.danjiajinxiansi'
,
defaultMessage
:
'单价仅限四位小数'
}),
message
:
intl
.
formatMessage
({
id
:
'purchaseRequisition.neirongbuneng1weikong'
,
defaultMessage
:
'内容不能为空'
}),
},
},
{
]
validator
:
validatorNumber
:
[
}
{
]
}
pattern
:
/^
\d
+
(\.\d
{1,4}
)?
$/
,
message
:
intl
.
formatMessage
({
id
:
'purchaseRequisition.danjiajinxiansi'
,
defaultMessage
:
'单价仅限四位小数'
}),
},
{
validator
:
validatorNumber
}
]
}
>
>
{
chooseFormItem
(
formItem
,
record
[
dataIndex
]
||
''
)
}
{
chooseFormItem
(
formItem
,
record
[
dataIndex
]
||
''
)
}
</
Form
.
Item
>
</
Form
.
Item
>
...
...
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