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
7141348e
Commit
7141348e
authored
Oct 22, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 处理配送时间段样式
parent
3f6242e8
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
31 additions
and
10 deletions
+31
-10
index.less
src/pages/transaction/purchaseOrder/index.less
+9
-0
index.tsx
src/pages/transaction/purchaseOrder/index.tsx
+2
-1
index.less
...ages/transaction/purchaseOrder/orderCollectB2b/index.less
+7
-0
index.ts
...transaction/purchaseOrder/orderCollectB2b/schema/index.ts
+2
-3
index.tsx
...ages/transaction/purchaseOrder/orderCollectCash/index.tsx
+2
-5
index.less
src/pages/transaction/saleOrder/agentOrder/index.less
+7
-0
index.ts
src/pages/transaction/saleOrder/agentOrder/schema/index.ts
+2
-1
No files found.
src/pages/transaction/purchaseOrder/index.less
View file @
7141348e
...
...
@@ -7,3 +7,12 @@
// margin-top: 24px !important;
// }
// }
.adjustFormItem {
:global{
.ant-radio-button-wrapper {
margin-right: 16px;
}
}
}
src/pages/transaction/purchaseOrder/index.tsx
View file @
7141348e
...
...
@@ -13,6 +13,7 @@ import DateRangePickerUnix from '@/components/NiceForm/components/DateRangePicke
import
NiceForm
from
'@/components/NiceForm'
import
{
createFormActions
}
from
'@formily/antd'
import
styled
from
'styled-components'
import
styles
from
'./index.less'
import
cx
from
'classnames'
import
ModalForm
from
'@/components/ModalForm'
import
{
useHttpRequest
}
from
'@/hooks/useHttpRequest'
...
...
@@ -409,7 +410,7 @@ const PurchaseOrder: React.FC<PurchaseOrderProps> = (props) => {
"x-component-props"
:
{
disabled
:
false
,
optionType
:
'button'
,
//
className: styles.adjustFormItem
className
:
styles
.
adjustFormItem
},
},
reason
:
{
...
...
src/pages/transaction/purchaseOrder/orderCollectB2b/index.less
View file @
7141348e
.adjustFormItem {
:global{
.ant-radio-button-wrapper {
margin-right: 16px;
}
}
}
src/pages/transaction/purchaseOrder/orderCollectB2b/schema/index.ts
View file @
7141348e
import
{
ISchema
}
from
'@formily/antd'
;
import
{
GlobalConfig
}
from
'@/global/config'
;
import
moment
from
'moment'
import
styles
from
'../index.less'
// 将获取的商城转化为可用类型
// const getShopTypeMap = (() => {
...
...
@@ -280,7 +279,7 @@ const submitInfo: ISchema = {
"x-component-props"
:
{
disabled
:
false
,
optionType
:
'button'
,
//
className: styles.adjustFormItem
className
:
styles
.
adjustFormItem
},
},
}
...
...
src/pages/transaction/purchaseOrder/orderCollectCash/index.tsx
View file @
7141348e
...
...
@@ -24,9 +24,6 @@ import { changeRouterTitleByStatus } from '../../_public/order/utils'
import
{
ReadyAddOrderDetailContext
}
from
'../context'
import
{
help
}
from
'../../common'
import
styles
from
'./index.less'
import
{
getAuth
}
from
'@/utils/auth'
;
import
{
fectchShopListsSource
}
from
'@/utils/type'
import
{
useAsyncSelect
}
from
'@/formSchema/effects/useAsyncSelect'
import
{
fetchOrderApi
}
from
'./apis'
import
MemberModalTable
from
'./components/memberModalTable'
import
{
GlobalConfig
}
from
'@/global/config'
...
...
@@ -111,7 +108,7 @@ export const MoneyTotalBox = registerVirtualBox('moneyTotalBox', () => {
})
/** 现货采购订单 下单 */
const
AgentOrderDetail
:
React
.
FC
<
AgentOrderDetailProps
>
=
(
props
)
=>
{
const
AgentOrderDetail
:
React
.
FC
<
AgentOrderDetailProps
>
=
()
=>
{
const
shopDataRef
=
useRef
<
any
>
({})
const
memberRef
=
useRef
<
any
>
({})
const
[
formLoading
,
setFormLoading
]
=
useState
(
false
)
...
...
@@ -409,7 +406,7 @@ const AgentOrderDetail:React.FC<AgentOrderDetailProps> = (props) => {
hasMemberType
:
1
,
memberId
:
state
.
value
,
roleId
:
addSchemaAction
.
getFieldValue
(
'vendorRoleId'
)
})
}
,
{
ctlType
:
"none"
}
)
ctx
.
setFieldState
(
'shopId'
,
prevState
=>
{
prevState
.
props
.
enum
=
data
.
map
(
item
=>
({
...
item
,
label
:
item
.
name
,
value
:
item
.
id
}))
})
...
...
src/pages/transaction/saleOrder/agentOrder/index.less
View file @
7141348e
.adjustFormItem {
:global{
.ant-radio-button-wrapper {
margin-right: 16px;
}
}
}
src/pages/transaction/saleOrder/agentOrder/schema/index.ts
View file @
7141348e
import
{
ISchema
}
from
'@formily/antd'
;
import
styles
from
'../index.less'
// 基本信息
const
basicInfo
:
ISchema
=
{
...
...
@@ -242,7 +243,7 @@ const submitInfo: ISchema = {
"x-component-props"
:
{
disabled
:
false
,
optionType
:
'button'
,
//
className: styles.adjustFormItem
className
:
styles
.
adjustFormItem
},
},
}
...
...
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