Commit 41c48478 authored by GuanHua's avatar GuanHua
parents 6bf54c6a a09c1cad
...@@ -7,3 +7,12 @@ ...@@ -7,3 +7,12 @@
// margin-top: 24px !important; // margin-top: 24px !important;
// } // }
// } // }
.adjustFormItem {
:global{
.ant-radio-button-wrapper {
margin-right: 16px;
}
}
}
...@@ -13,6 +13,7 @@ import DateRangePickerUnix from '@/components/NiceForm/components/DateRangePicke ...@@ -13,6 +13,7 @@ import DateRangePickerUnix from '@/components/NiceForm/components/DateRangePicke
import NiceForm from '@/components/NiceForm' import NiceForm from '@/components/NiceForm'
import { createFormActions } from '@formily/antd' import { createFormActions } from '@formily/antd'
import styled from 'styled-components' import styled from 'styled-components'
import styles from './index.less'
import cx from 'classnames' import cx from 'classnames'
import ModalForm from '@/components/ModalForm' import ModalForm from '@/components/ModalForm'
import { useHttpRequest } from '@/hooks/useHttpRequest' import { useHttpRequest } from '@/hooks/useHttpRequest'
...@@ -409,7 +410,7 @@ const PurchaseOrder: React.FC<PurchaseOrderProps> = (props) => { ...@@ -409,7 +410,7 @@ const PurchaseOrder: React.FC<PurchaseOrderProps> = (props) => {
"x-component-props": { "x-component-props": {
disabled: false, disabled: false,
optionType: 'button', optionType: 'button',
// className: styles.adjustFormItem className: styles.adjustFormItem
}, },
}, },
reason: { reason: {
......
.adjustFormItem {
:global{
.ant-radio-button-wrapper {
margin-right: 16px;
}
}
}
import { ISchema } from '@formily/antd'; import { ISchema } from '@formily/antd';
import { GlobalConfig } from '@/global/config'; import styles from '../index.less'
import moment from 'moment'
// 将获取的商城转化为可用类型 // 将获取的商城转化为可用类型
// const getShopTypeMap = (() => { // const getShopTypeMap = (() => {
...@@ -280,7 +279,7 @@ const submitInfo: ISchema = { ...@@ -280,7 +279,7 @@ const submitInfo: ISchema = {
"x-component-props": { "x-component-props": {
disabled: false, disabled: false,
optionType: 'button', optionType: 'button',
// className: styles.adjustFormItem className: styles.adjustFormItem
}, },
}, },
} }
......
...@@ -24,9 +24,6 @@ import { changeRouterTitleByStatus } from '../../_public/order/utils' ...@@ -24,9 +24,6 @@ import { changeRouterTitleByStatus } from '../../_public/order/utils'
import { ReadyAddOrderDetailContext } from '../context' import { ReadyAddOrderDetailContext } from '../context'
import { help } from '../../common' import { help } from '../../common'
import styles from './index.less' 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 { fetchOrderApi } from './apis'
import MemberModalTable from './components/memberModalTable' import MemberModalTable from './components/memberModalTable'
import { GlobalConfig } from '@/global/config' import { GlobalConfig } from '@/global/config'
...@@ -111,7 +108,7 @@ export const MoneyTotalBox = registerVirtualBox('moneyTotalBox', () => { ...@@ -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 shopDataRef = useRef<any>({})
const memberRef = useRef<any>({}) const memberRef = useRef<any>({})
const [formLoading, setFormLoading] = useState(false) const [formLoading, setFormLoading] = useState(false)
...@@ -409,7 +406,7 @@ const AgentOrderDetail:React.FC<AgentOrderDetailProps> = (props) => { ...@@ -409,7 +406,7 @@ const AgentOrderDetail:React.FC<AgentOrderDetailProps> = (props) => {
hasMemberType: 1, hasMemberType: 1,
memberId: state.value, memberId: state.value,
roleId: addSchemaAction.getFieldValue('vendorRoleId') roleId: addSchemaAction.getFieldValue('vendorRoleId')
}) }, { ctlType: "none" })
ctx.setFieldState('shopId', prevState => { ctx.setFieldState('shopId', prevState => {
prevState.props.enum = data.map(item => ({ ...item, label: item.name, value: item.id })) prevState.props.enum = data.map(item => ({ ...item, label: item.name, value: item.id }))
}) })
......
.adjustFormItem {
:global{
.ant-radio-button-wrapper {
margin-right: 16px;
}
}
}
import { ISchema } from '@formily/antd'; import { ISchema } from '@formily/antd';
import styles from '../index.less'
// 基本信息 // 基本信息
const basicInfo: ISchema = { const basicInfo: ISchema = {
...@@ -242,7 +243,7 @@ const submitInfo: ISchema = { ...@@ -242,7 +243,7 @@ const submitInfo: ISchema = {
"x-component-props": { "x-component-props": {
disabled: false, disabled: false,
optionType: 'button', optionType: 'button',
// className: styles.adjustFormItem className: styles.adjustFormItem
}, },
}, },
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment