Commit dfaafe7d authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

Merge branch 'dev' into test

parents b3d824d9 f1282ef6
...@@ -12,7 +12,6 @@ import ModalTable from '@/components/ModalTable' ...@@ -12,7 +12,6 @@ import ModalTable from '@/components/ModalTable'
import { useRowSelectionTable } from '@/hooks/useRowSelectionTable' import { useRowSelectionTable } from '@/hooks/useRowSelectionTable'
import { PageStatus, usePageStatus } from '@/hooks/usePageStatus' import { PageStatus, usePageStatus } from '@/hooks/usePageStatus'
import { ColumnType } from 'antd/lib/table/interface' import { ColumnType } from 'antd/lib/table/interface'
import { ISchema } from '@formily/antd'
import { LinkOutlined } from '@ant-design/icons' import { LinkOutlined } from '@ant-design/icons'
const { TabPane } = Tabs const { TabPane } = Tabs
const { Option } = Select const { Option } = Select
...@@ -233,26 +232,6 @@ const comfirmDialog: React.FC<Params> = (props, { onRef }) => { ...@@ -233,26 +232,6 @@ const comfirmDialog: React.FC<Params> = (props, { onRef }) => {
</Button> </Button>
) )
const formSearch: ISchema = {
type: 'object',
properties: {
name: {
type: 'string',
"x-component": "Search",
"x-component-props": {
placeholder: '输入关键字搜索'
}
},
roleId: {
type: 'string',
"x-component-props": {
placeholder: '选择会员角色'
},
enum: []
}
}
}
const placeholderText = '请先选择对应需求单号' const placeholderText = '请先选择对应需求单号'
let ButtonList = [ let ButtonList = [
<Button onClick={() => props.onCancel()} > <Button onClick={() => props.onCancel()} >
...@@ -432,11 +411,7 @@ const comfirmDialog: React.FC<Params> = (props, { onRef }) => { ...@@ -432,11 +411,7 @@ const comfirmDialog: React.FC<Params> = (props, { onRef }) => {
columns={columns} columns={columns}
rowSelection={productRowSelection} rowSelection={productRowSelection}
fetchTableData={params => fetchData(params)} fetchTableData={params => fetchData(params)}
formilyProps={{ modalType='productByMember'
ctx: {
schema: formSearch
}
}}
tableProps={{ tableProps={{
rowKey: 'id' rowKey: 'id'
}} }}
......
...@@ -584,6 +584,7 @@ const detailInfo: React.FC<parmas> = (props) => { ...@@ -584,6 +584,7 @@ const detailInfo: React.FC<parmas> = (props) => {
</div> </div>
<Row className={style['mainCol-rows']}> <Row className={style['mainCol-rows']}>
{ {
dataInfo.requisitionFormAddress &&
dataInfo.requisitionFormAddress.length > 0 ? dataInfo.requisitionFormAddress.length > 0 ?
dataInfo.requisitionFormAddress dataInfo.requisitionFormAddress
......
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