Commit d264c174 authored by Bill's avatar Bill

Merge branch 'dev-srm' of 10.0.0.22:lingxi/lingxi-business-paltform into dev-srm

parents 6f6425b1 d76b76d7
...@@ -32,7 +32,7 @@ export const formSchema: ISchema = { ...@@ -32,7 +32,7 @@ export const formSchema: ISchema = {
type: 'string', type: 'string',
title: '竞价单摘要', title: '竞价单摘要',
readOnly: true, readOnly: true,
visible: false, visible: true,
}, },
biddingNo: { biddingNo: {
type: 'string', type: 'string',
...@@ -92,7 +92,7 @@ export const formSchema: ISchema = { ...@@ -92,7 +92,7 @@ export const formSchema: ISchema = {
properties: { properties: {
'[startSignUp, endSignUp]': { '[startSignUp, endSignUp]': {
type: 'string', type: 'string',
title: '报名时间要求', title: '报名要求时间',
"x-component": 'daterange', "x-component": 'daterange',
"x-component-props": { "x-component-props": {
showTime: true, showTime: true,
...@@ -156,7 +156,7 @@ export const formSchema: ISchema = { ...@@ -156,7 +156,7 @@ export const formSchema: ISchema = {
type: 'object', type: 'object',
'x-component': 'Mega-Layout', 'x-component': 'Mega-Layout',
'x-component-props': { 'x-component-props': {
label: '注册手机', label: '联系人电话',
required: true, required: true,
wrapperCol: 24, wrapperCol: 24,
}, },
......
...@@ -22,7 +22,6 @@ const addSchemaAction = createFormActions() ...@@ -22,7 +22,6 @@ const addSchemaAction = createFormActions()
const SignUpForm = () => { const SignUpForm = () => {
const { number } = history.location.query; const { number } = history.location.query;
const { memberId, memberRoleId, name } = JSON.parse(localStorage.getItem('auth'));
const { const {
id, id,
...@@ -34,7 +33,7 @@ const SignUpForm = () => { ...@@ -34,7 +33,7 @@ const SignUpForm = () => {
const [btnLoading, setBtnLoading] = useState(false); const [btnLoading, setBtnLoading] = useState(false);
const [refundDisabled, setRefundDisabled] = useState(false); const [refundDisabled, setRefundDisabled] = useState(false);
const [formValue, setFormValue] = useState<any>({ areas: [] }); const [formValue, setFormValue] = useState<any>({ areas: [] });
const { token } = getAuth() || {} const { token, name } = getAuth() || {}
const getCountryCodeId = async () => { const getCountryCodeId = async () => {
...@@ -150,4 +149,4 @@ const SignUpForm = () => { ...@@ -150,4 +149,4 @@ const SignUpForm = () => {
</PageHeaderWrapper> </PageHeaderWrapper>
) )
} }
export default SignUpForm export default SignUpForm
\ No newline at end of file
...@@ -6,6 +6,7 @@ import { Tabs, Card, Button, Badge } from 'antd'; ...@@ -6,6 +6,7 @@ import { Tabs, Card, Button, Badge } from 'antd';
import ReutrnEle from '@/components/ReturnEle'; import ReutrnEle from '@/components/ReturnEle';
import { PublicApi } from '@/services/api'; import { PublicApi } from '@/services/api';
import { getAuth } from '@/utils/auth';
import Material from '../../purchaseInquiry/addInquiry/components/material'; import Material from '../../purchaseInquiry/addInquiry/components/material';
import Demand from '../../purchaseInquiry/addInquiry/components/demand'; import Demand from '../../purchaseInquiry/addInquiry/components/demand';
...@@ -34,7 +35,7 @@ const AddForm = () => { ...@@ -34,7 +35,7 @@ const AddForm = () => {
number number
}, },
pathname, } = history.location; pathname, } = history.location;
const { memberId, memberRoleId, name } = JSON.parse(localStorage.getItem('auth')); const { memberId, memberRoleId, name } = getAuth();
const [path] = useState(pathname.split('/')[pathname.split('/').length - 1]); const [path] = useState(pathname.split('/')[pathname.split('/').length - 1]);
console.log(path) console.log(path)
/** 基本信息 */ /** 基本信息 */
...@@ -266,4 +267,4 @@ const AddForm = () => { ...@@ -266,4 +267,4 @@ const AddForm = () => {
</PageHeaderWrapper> </PageHeaderWrapper>
) )
} }
export default AddForm export default AddForm
\ No newline at end of file
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