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

feat: 采购能力 -> 采访门户国际化

parent 58e6e749
......@@ -111,6 +111,7 @@ const PurchaseLocales = {
'detail.purchase.email': '电子邮箱',
'detail.purchase.unitAddress': '单位地址',
'detail.purchase.startSignUp': '报名要求时间',
'detail.purchase.startSignUp1': '报名开始时间',
'detail.purchase.demandUrls': '报名要求附件',
'detail.purchase.biddingStartTime': '竞价时间',
'detail.purchase.startingPrice': '起拍价',
......@@ -278,6 +279,15 @@ const PurchaseLocales = {
'detail.purchase.null': '无',
'detail.purchase.thanks': '感谢函',
'detail.purchase.respect': '尊敬的',
'detail.purchase.areaBOList': '归属地市',
'detail.purchase.pageName': '页面名称',
'detail.purchase.doorIndex': '采购门户首页',
'detail.purchase.aboutUs': '关于我们',
'detail.purchase.doorLink': '访问链接',
'detail.purchase.doorTitle': '标题',
'detail.purchase.doorDescription': '描述',
'detail.purchase.keywords': '关键字',
'detail.purchase.openDoorLink': '访问该页面的链接',
'detail.purchase.modalTitle': '公开招标',
'detail.purchase.modalTitle1': '选择货品',
......@@ -356,6 +366,22 @@ const PurchaseLocales = {
'detail.purchase.message59': '请输入电子邮箱',
'detail.purchase.message60': '请输入正确格式的邮箱',
'detail.purchase.message61': '请填写详细地址',
'detail.purchase.message62': '请选择主要加工种类',
'detail.purchase.message63': '请选择归属地市',
'detail.purchase.message64': '复制成功!',
'detail.purchase.message65': '您还有未保存的内容,是否确定要离开?',
'detail.purchase.message66': '公司LOGO',
'detail.purchase.message67': '请上传',
'detail.purchase.message68': '公司简介',
'detail.purchase.message69': '公司照片',
'detail.purchase.message70': '资质荣誉',
'detail.purchase.message71': '如商标注册证书、品牌授权证书等证明材料',
'detail.purchase.message72': '采购门户广告图',
'detail.purchase.message73': '宣传画册',
'detail.purchase.message74': '一次上传一个文件,每个附件大小不能超过 50M',
'detail.purchase.message75': '门户链接',
'detail.purchase.message76': '首页轮播图',
'detail.purchase.message77': '跳转链接',
'detail.purchase.placeholder': '选择开始日期',
'detail.purchase.placeholder1': '确定要执行这个操作?',
......@@ -373,6 +399,10 @@ const PurchaseLocales = {
'detail.purchase.placeholder13': '选择区域',
'detail.purchase.placeholder14': '请完善适用地市',
'detail.purchase.placeholder15': '请填写详细地址,路名、门牌号等,最长100个字符,50个汉字',
'detail.purchase.placeholder16': '请输入会员名称',
'detail.purchase.placeholder17': '竞价开始时间',
'detail.purchase.placeholder18': '单据时间(全部)',
'detail.purchase.placeholder19': '上传文件大小不超过 50M!',
'detail.purchase.priceMethod': '比价方式',
'detail.purchase.purchaseType1': '有固定采购金额',
......@@ -418,6 +448,14 @@ const PurchaseLocales = {
'detail.purchase.label15': '重新报名',
'detail.purchase.label16': '报名要求说明',
'detail.purchase.label17': '地址',
'detail.purchase.label18': '当前',
'detail.purchase.label19': '链接',
'detail.purchase.label20': '用于显示在页面title标签的内容,便于搜索引擎抓取',
'detail.purchase.label21': '用于显示在页面Description标签的内容,便于搜索引擎抓取',
'detail.purchase.label22': '用于显示在页面Keywords标签的内容,便于搜索引擎通过关键词搜索时抓取页面,多个关键词用豆号分隔',
'detail.purchase.label23': '有效',
'detail.purchase.label24': '无效',
}
export default PurchaseLocales
import React, { useEffect, useState } from 'react';
import { history, Prompt } from 'umi';
import { getIntl, history, Prompt } from 'umi';
import { Card, Button, Tabs, Form, Select, Tooltip, Input, Typography } from 'antd';
import { PageHeaderWrapper } from '@ant-design/pro-layout';
import ReutrnEle from '@/components/ReturnEle';
......@@ -15,6 +15,8 @@ const layout: any = {
labelAlign: "left"
}
const intl = getIntl();
const PurchasSeoAdded = () => {
const { query: { id }, pathname } = history.location;
const link = pathname.split('/')[pathname.split('/').length - 1];
......@@ -70,17 +72,17 @@ const PurchasSeoAdded = () => {
return (
<PageHeaderWrapper
onBack={() => history.goBack()}
backIcon={<ReutrnEle description="返回" />}
backIcon={<ReutrnEle description={intl.formatMessage({ id: 'detail.purchase.back' })} />}
extra={
link !== 'detail' && <Button type="primary" loading={confirmLoading} onClick={handleSave}> 保存</Button>
link !== 'detail' && <Button type="primary" loading={confirmLoading} onClick={handleSave}> {intl.formatMessage({ id: 'detail.purchase.save' })}</Button>
}
>
<Prompt when={formIsHalfFilledOut} message="您还有未保存的内容,是否确定要离开?" />
<Prompt when={formIsHalfFilledOut} message={intl.formatMessage({ id: 'detail.purchase.message65' })} />
<Card>
<Tabs
type="card"
>
<TabPane tab='基本信息' key='1'>
<TabPane tab={intl.formatMessage({ id: 'detail.purchase.basicLayout' })} key='1'>
<Form
{...layout}
form={form}
......@@ -89,40 +91,40 @@ const PurchasSeoAdded = () => {
>
<Form.Item
name='type'
label={<RequireItem label="页面名称" isRequire={true} />}
rules={[{ required: true, message: "请选择页面名称" }]}
label={<RequireItem label={intl.formatMessage({ id: 'detail.purchase.pageName' })} isRequire={true} />}
rules={[{ required: true, message: `${intl.formatMessage({ id: 'detail.purchase.message23' })}${intl.formatMessage({ id: 'detail.purchase.pageName' })}` }]}
>
<Select disabled={link === 'detail'}>
<Select.Option value={1}>采购门户首页</Select.Option>
<Select.Option value={2}>关于我们</Select.Option>
<Select.Option value={1}>{intl.formatMessage({ id: 'detail.purchase.doorIndex' })}</Select.Option>
<Select.Option value={2}>{intl.formatMessage({ id: 'detail.purchase.aboutUs' })}</Select.Option>
</Select>
</Form.Item>
<Form.Item
name='link'
label={<RequireItem label="访问链接" brief={<Tooltip placement="top" title="访问该页面的链接"><QuestionCircleOutlined /></Tooltip>} />}
label={<RequireItem label={intl.formatMessage({ id: 'detail.purchase.doorLink' })} brief={<Tooltip placement="top" title="访问该页面的链接"><QuestionCircleOutlined /></Tooltip>} />}
>
<Input disabled={link === 'detail'} addonBefore={<Typography.Text type='secondary'>http://</Typography.Text>} />
</Form.Item>
<Form.Item
name='title'
label={<RequireItem label="标题" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面title标签的内容,便于搜索引擎抓取"><QuestionCircleOutlined /></Tooltip>} />}
rules={[{ required: true, message: "请输入标题" }]}
label={<RequireItem label={intl.formatMessage({ id: 'detail.purchase.doorTitle' })} isRequire={true} brief={<Tooltip placement="top" title={intl.formatMessage({ id: 'detail.purchase.label20' })}><QuestionCircleOutlined /></Tooltip>} />}
rules={[{ required: true, message: `${intl.formatMessage({ id: 'detail.purchase.message22' })}${intl.formatMessage({ id: 'detail.purchase.doorTitle' })}` }]}
>
<Input maxLength={50} disabled={link === 'detail'} placeholder='最长100个字符,50个汉字' />
<Input maxLength={50} disabled={link === 'detail'} placeholder={intl.formatMessage({ id: 'detail.purchase.placeholder5' })} />
</Form.Item>
<Form.Item
name='description'
label={<RequireItem label="描述" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面Description标签的内容,便于搜索引擎抓取"><QuestionCircleOutlined /></Tooltip>} />}
rules={[{ required: true, message: "请输入描述" }]}
label={<RequireItem label={intl.formatMessage({ id: 'detail.purchase.doorDescription' })} isRequire={true} brief={<Tooltip placement="top" title={intl.formatMessage({ id: 'detail.purchase.label21' })}><QuestionCircleOutlined /></Tooltip>} />}
rules={[{ required: true, message: `${intl.formatMessage({ id: 'detail.purchase.message22' })}${intl.formatMessage({ id: 'detail.purchase.doorDescription' })}` }]}
>
<Input.TextArea maxLength={100} disabled={link === 'detail'} rows={5} placeholder="最长200个字符,100个汉字" />
<Input.TextArea maxLength={100} disabled={link === 'detail'} rows={5} placeholder={intl.formatMessage({ id: 'detail.purchase.placeholder8' })} />
</Form.Item>
<Form.Item
name='keywords'
label={<RequireItem label="关键字" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面Keywords标签的内容,便于搜索引擎通过关键词搜索时抓取页面,多个关键词用豆号分隔"><QuestionCircleOutlined /></Tooltip>} />}
rules={[{ required: true, message: "请输入关键字" }]}
label={<RequireItem label={intl.formatMessage({ id: 'detail.purchase.keywords' })} isRequire={true} brief={<Tooltip placement="top" title={intl.formatMessage({ id: 'detail.purchase.label22' })}><QuestionCircleOutlined /></Tooltip>} />}
rules={[{ required: true, message: `${intl.formatMessage({ id: 'detail.purchase.message22' })}$intl.formatMessage({ id: 'detail.purchase.keywords' })` }]}
>
<Input.TextArea disabled={link === 'detail'} rows={5} placeholder="最长200个字符,100个汉字" maxLength={100} />
<Input.TextArea disabled={link === 'detail'} rows={5} placeholder={intl.formatMessage({ id: 'detail.purchase.placeholder8' })} maxLength={100} />
</Form.Item>
</Form>
</TabPane>
......
......@@ -12,7 +12,9 @@ import { createFormActions, FormEffectHooks } from '@formily/antd';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { searchSelectGetSelectCategoryOptionEffect } from '@/pages/transaction/effect/index';
import { PauseCircleOutlined, PlayCircleOutlined, PlusOutlined } from '@ant-design/icons';
const intl = getIntl();
const PurchasSeo = () => {
const ref = useRef<any>({});
const formActions = createFormActions();
......@@ -48,19 +50,19 @@ const PurchasSeo = () => {
width: 128,
},
{
title: '页面名称',
title: intl.formatMessage({ id: 'detail.purchase.pageName' }),
key: 'name',
dataIndex: 'name',
render: (text: any, record: any) => <Typography.Link href={`/memberCenter/procurementAbility/purchasDoor/purchasSeo/detail?id=${record.id}`}>{text}</Typography.Link>
},
{
title: '访问链接',
title: intl.formatMessage({ id: 'detail.purchase.doorLink' }),
key: 'link',
dataIndex: 'link',
render: (text) => `http://${text}`
},
{
title: '状态',
title: intl.formatMessage({ id: 'table.purchase.status' }),
key: 'status',
dataIndex: 'status',
width: 256,
......@@ -68,15 +70,15 @@ const PurchasSeo = () => {
let component: ReactNode = null
component = (
<Popconfirm
title="确定要执行这个操作?"
title={intl.formatMessage({ id: 'detail.purchase.placeholder1' })}
onConfirm={() => confirm(record)}
okText="是"
cancelText="否"
okText={intl.formatMessage({ id: 'table.purchase.okText' })}
cancelText={intl.formatMessage({ id: 'table.purchase.cancelText' })}
>
<Button
type="link"
style={record.status === 1 ? { color: '#00B37A' } : { color: 'red' }}>
{record.status === 1 ? <>有效 <PlayCircleOutlined /></> : <>无效 <PauseCircleOutlined /></>}
{record.status === 1 ? <>{intl.formatMessage({ id: 'detail.purchase.label23' })} <PlayCircleOutlined /></> : <>{intl.formatMessage({ id: 'detail.purchase.label24' })} <PauseCircleOutlined /></>}
</Button>
</Popconfirm>
)
......@@ -91,15 +93,15 @@ const PurchasSeo = () => {
render: (_text: any, record: any) => (
<>
<Popconfirm
title="确定要执行这个操作?"
title={intl.formatMessage({ id: 'detail.purchase.placeholder1' })}
onConfirm={() => handleDelete(record.id)}
disabled={record.status === 1}
okText="是"
cancelText="否"
okText={intl.formatMessage({ id: 'table.purchase.okText' })}
cancelText={intl.formatMessage({ id: 'table.purchase.cancelText' })}
>
<Button disabled={record.status === 1} type='link'>删除</Button>
<Button disabled={record.status === 1} type='link'>{intl.formatMessage({ id: 'table.purchase.delete' })}</Button>
</Popconfirm>
<Button disabled={record.status === 1} type='link' onClick={() => history.push(`/memberCenter/procurementAbility/purchasDoor/purchasSeo/edit?id=${record.id}`)}>修改</Button>
<Button disabled={record.status === 1} type='link' onClick={() => history.push(`/memberCenter/procurementAbility/purchasDoor/purchasSeo/edit?id=${record.id}`)}>{intl.formatMessage({ id: 'table.purchase.eidt' })}</Button>
</>
)
}
......@@ -127,7 +129,7 @@ const PurchasSeo = () => {
type="primary"
icon={<PlusOutlined />}
>
新建
{intl.formatMessage({ id: 'table.purchase.added' })}
</Button>
</Col>
</Row>
......@@ -156,7 +158,7 @@ const PurchasSeo = () => {
},
"x-component-props": {
placeholder: '页面名称',
placeholder: intl.formatMessage({ id: 'detail.purchase.pageName' }),
advanced: false
}
}
......
......@@ -18,7 +18,7 @@ export const DEMANDPLANSERCH_SECHEMA: ISchema = {
},
"x-component-props": {
placeholder: '需求计划编号',
placeholder: intl.formatMessage({ id: 'detail.purchase.needPlanNo' }),
align: 'flex-left',
}
}
......@@ -50,14 +50,14 @@ export const DEMANDPLANSERCH_SECHEMA: ISchema = {
summary: {
type: 'string',
"x-component-props": {
placeholder: '需求计划摘要',
placeholder: intl.formatMessage({ id: 'detail.purchase.demendSummary' }),
}
},
"[startTime,endTime]": {
type: 'string',
"x-component": "DateRangePickerUnix",
"x-component-props": {
placeholder: ['开始时间','结束时间'],
placeholder: [intl.formatMessage({ id: 'detail.purchase.startTime1' }), intl.formatMessage({ id: 'detail.purchase.endTime1' })],
}
},
innerStatusList: {
......@@ -78,7 +78,7 @@ export const DEMANDPLANSERCH_SECHEMA: ISchema = {
span: 1
},
"x-component-props": {
children: '查询'
children: intl.formatMessage({ id: 'detail.purchase.search' })
}
}
}
......@@ -107,7 +107,7 @@ export const DEMANDPLANADDED_SECHEMA: ISchema = {
},
"x-component-props": {
placeholder: '需求计划编号'
placeholder: intl.formatMessage({ id: 'detail.purchase.needPlanNo' })
}
}
}
......@@ -137,14 +137,14 @@ export const DEMANDPLANADDED_SECHEMA: ISchema = {
summary: {
type: 'string',
"x-component-props": {
placeholder: '需求计划摘要'
placeholder: intl.formatMessage({ id: 'detail.purchase.demendSummary' })
}
},
"[startTime,endTime]": {
type: 'string',
"x-component": "DateRangePickerUnix",
"x-component-props": {
placeholder: ['开始时间','结束时间'],
placeholder: [intl.formatMessage({ id: 'detail.purchase.startTime1' }), intl.formatMessage({ id: 'detail.purchase.endTime1' })],
}
},
}
......@@ -155,7 +155,7 @@ export const DEMANDPLANADDED_SECHEMA: ISchema = {
span: 1
},
"x-component-props": {
children: '查询'
children: intl.formatMessage({ id: 'detail.purchase.search' })
}
}
}
......@@ -177,7 +177,7 @@ export const DEMANDPLAN_SECHEMA: ISchema = {
},
"x-component-props": {
placeholder: '需求计划编号',
placeholder: intl.formatMessage({ id: 'detail.purchase.needPlanNo' }),
align: 'flex-left',
}
}
......@@ -209,14 +209,14 @@ export const DEMANDPLAN_SECHEMA: ISchema = {
summary: {
type: 'string',
"x-component-props": {
placeholder: '需求计划摘要',
placeholder: intl.formatMessage({ id: 'detail.purchase.demendSummary' }),
}
},
"[startTime,endTime]": {
type: 'string',
"x-component": "DateRangePickerUnix",
"x-component-props": {
placeholder: ['开始时间','结束时间'],
placeholder: [intl.formatMessage({ id: 'detail.purchase.startTime1' }), intl.formatMessage({ id: 'detail.purchase.endTime1' })],
}
},
}
......@@ -227,7 +227,7 @@ export const DEMANDPLAN_SECHEMA: ISchema = {
span: 1
},
"x-component-props": {
children: '查询'
children: intl.formatMessage({ id: 'detail.purchase.search' })
}
}
}
......
......@@ -14,7 +14,7 @@ export const ONLINEBIDORDER_SCHEMA: ISchema = {
type: 'string',
"x-component": "Search",
"x-component-props": {
placeholder: '竞价单号',
placeholder: intl.formatMessage({ id: 'detail.purchase.biddingNo' }),
align: 'flex-left',
allowClear: true
}
......@@ -47,14 +47,14 @@ export const ONLINEBIDORDER_SCHEMA: ISchema = {
details: {
type: 'string',
"x-component-props": {
placeholder: '竞价单摘要',
placeholder: intl.formatMessage({ id: 'detail.purchase.biddingDetails' }),
allowClear: true
}
},
memberName: {
type: 'string',
"x-component-props": {
placeholder: '采购会员',
placeholder: intl.formatMessage({ id: 'table.purchase.createMemberName' }),
allowClear: true
}
},
......@@ -62,14 +62,14 @@ export const ONLINEBIDORDER_SCHEMA: ISchema = {
type: 'string',
"x-component": "dateSelect",
"x-component-props": {
placeholder: '报名开始时间',
placeholder: intl.formatMessage({ id: 'detail.purchase.startSignUp1' }),
allowClear: true
}
},
externalState: {
type: 'string',
"x-component-props": {
placeholder: '外部状态',
placeholder: intl.formatMessage({ id: 'table.purchase.externalStatus' }),
style: {
width: 160
},
......@@ -96,7 +96,7 @@ export const ONLINEBIDORDER_SCHEMA: ISchema = {
span: 1
},
"x-component-props": {
children: '查询'
children: intl.formatMessage({ id: 'detail.purchase.search' })
}
}
}
......@@ -120,7 +120,7 @@ export const ONLINEBIDREADYSIGN_SCHEMA: ISchema = {
"x-component": "Search",
"x-component-props": {
align: 'flex-left',
placeholder: '竞价单号',
placeholder: intl.formatMessage({ id: 'detail.purchase.biddingNo' }),
allowClear: true
}
}
......@@ -152,14 +152,14 @@ export const ONLINEBIDREADYSIGN_SCHEMA: ISchema = {
details: {
type: 'string',
"x-component-props": {
placeholder: '竞价单摘要',
placeholder: intl.formatMessage({ id: 'detail.purchase.biddingDetails' }),
allowClear: true
}
},
memberName: {
type: 'string',
"x-component-props": {
placeholder: '采购会员',
placeholder: intl.formatMessage({ id: 'table.purchase.createMemberName' }),
allowClear: true
}
},
......@@ -167,7 +167,7 @@ export const ONLINEBIDREADYSIGN_SCHEMA: ISchema = {
type: 'string',
"x-component": "dateSelect",
"x-component-props": {
placeholder: '报名开始时间',
placeholder: intl.formatMessage({ id: 'detail.purchase.startSignUp1' }),
allowClear: true
}
},
......@@ -179,7 +179,7 @@ export const ONLINEBIDREADYSIGN_SCHEMA: ISchema = {
span: 1
},
"x-component-props": {
children: '查询'
children: intl.formatMessage({ id: 'detail.purchase.search' })
}
}
}
......@@ -203,7 +203,7 @@ export const ONLINEBIDREADYBID_SCHEMA: ISchema = {
"x-component": "Search",
"x-component-props": {
align: 'flex-left',
placeholder: '竞价单号',
placeholder: intl.formatMessage({ id: 'detail.purchase.biddingNo' }),
allowClear: true
}
}
......@@ -235,14 +235,14 @@ export const ONLINEBIDREADYBID_SCHEMA: ISchema = {
details: {
type: 'string',
"x-component-props": {
placeholder: '竞价单摘要',
placeholder: intl.formatMessage({ id: 'detail.purchase.biddingDetails' }),
allowClear: true
}
},
memberName: {
type: 'string',
"x-component-props": {
placeholder: '采购会员',
placeholder: intl.formatMessage({ id: 'table.purchase.createMemberName' }),
allowClear: true
}
},
......@@ -250,7 +250,7 @@ export const ONLINEBIDREADYBID_SCHEMA: ISchema = {
type: 'string',
"x-component": "dateSelect",
"x-component-props": {
placeholder: '竞价开始时间',
placeholder: intl.formatMessage({ id: 'detail.purchase.placeholder17' }),
allowClear: true
}
},
......@@ -262,7 +262,7 @@ export const ONLINEBIDREADYBID_SCHEMA: ISchema = {
span: 1
},
"x-component-props": {
children: '查询'
children: intl.formatMessage({ id: 'detail.purchase.search' })
}
}
}
......
......@@ -14,7 +14,7 @@ export const PURCHASEBIDORDER_SCHEMA: ISchema = {
type: 'string',
"x-component": "Search",
"x-component-props": {
placeholder: '竞价单号',
placeholder: intl.formatMessage({ id: 'detail.purchase.biddingNo' }),
align: 'flex-left',
allowClear: true
}
......@@ -47,7 +47,7 @@ export const PURCHASEBIDORDER_SCHEMA: ISchema = {
details: {
type: 'string',
"x-component-props": {
placeholder: '竞价单摘要',
placeholder: intl.formatMessage({ id: 'detail.purchase.biddingDetails' }),
allowClear: true
}
},
......@@ -55,14 +55,14 @@ export const PURCHASEBIDORDER_SCHEMA: ISchema = {
type: 'string',
"x-component": "dateSelect",
"x-component-props": {
placeholder: '单据时间(全部)',
placeholder: intl.formatMessage({ id: 'detail.purchase.placeholder18' }),
allowClear: true
}
},
externalState: {
type: 'string',
"x-component-props": {
placeholder: '外部状态',
placeholder: intl.formatMessage({ id: 'table.purchase.externalStatus' }),
style: {
width: 160
},
......@@ -89,7 +89,7 @@ export const PURCHASEBIDORDER_SCHEMA: ISchema = {
span: 1
},
"x-component-props": {
children: '查询'
children: intl.formatMessage({ id: 'detail.purchase.search' })
}
}
}
......@@ -119,7 +119,7 @@ export const PURCHASEBIDREADYADD_SCHEMA: ISchema = {
},
"x-component-props": {
placeholder: '竞价单号',
placeholder: intl.formatMessage({ id: 'detail.purchase.biddingNo' }),
allowClear: true
}
}
......@@ -150,7 +150,7 @@ export const PURCHASEBIDREADYADD_SCHEMA: ISchema = {
details: {
type: 'string',
"x-component-props": {
placeholder: '竞价单摘要',
placeholder: intl.formatMessage({ id: 'detail.purchase.biddingDetails' }),
allowClear: true
}
},
......@@ -158,7 +158,7 @@ export const PURCHASEBIDREADYADD_SCHEMA: ISchema = {
type: 'string',
"x-component": "dateSelect",
"x-component-props": {
placeholder: '单据时间(全部)',
placeholder: intl.formatMessage({ id: 'detail.purchase.placeholder18' }),
allowClear: true
}
},
......@@ -170,7 +170,7 @@ export const PURCHASEBIDREADYADD_SCHEMA: ISchema = {
span: 1
},
"x-component-props": {
children: '查询'
children: intl.formatMessage({ id: 'detail.purchase.search' })
}
}
}
......@@ -190,7 +190,7 @@ export const PURCHASEBIDOSIGNUP_SCHEMA: ISchema = {
type: 'string',
"x-component": "Search",
"x-component-props": {
placeholder: '竞价单号',
placeholder: intl.formatMessage({ id: 'detail.purchase.biddingNo' }),
align: 'flex-left',
allowClear: true
}
......@@ -223,7 +223,7 @@ export const PURCHASEBIDOSIGNUP_SCHEMA: ISchema = {
details: {
type: 'string',
"x-component-props": {
placeholder: '竞价单摘要',
placeholder: intl.formatMessage({ id: 'detail.purchase.biddingDetails' }),
allowClear: true
}
},
......@@ -231,7 +231,7 @@ export const PURCHASEBIDOSIGNUP_SCHEMA: ISchema = {
type: 'string',
"x-component": "dateSelect",
"x-component-props": {
placeholder: '单据时间(全部)',
placeholder: intl.formatMessage({ id: 'detail.purchase.placeholder18' }),
allowClear: true
}
},
......@@ -243,7 +243,7 @@ export const PURCHASEBIDOSIGNUP_SCHEMA: ISchema = {
span: 1
},
"x-component-props": {
children: '查询'
children: intl.formatMessage({ id: 'detail.purchase.search' })
}
}
}
......
......@@ -17,7 +17,7 @@ export const PURCHASEPLANSERCH_SECHEMA: ISchema = {
},
"x-component-props": {
placeholder: '采购计划编号',
placeholder: intl.formatMessage({ id: 'detail.purchase.purchasePlanNo' }),
align: 'flex-left',
}
}
......@@ -49,14 +49,14 @@ export const PURCHASEPLANSERCH_SECHEMA: ISchema = {
summary: {
type: 'string',
"x-component-props": {
placeholder: '需求计划摘要',
placeholder: intl.formatMessage({ id: 'detail.purchase.demendSummary' }),
}
},
"[startTime,endTime]": {
type: 'string',
"x-component": "DateRangePickerUnix",
"x-component-props": {
placeholder: ['开始时间','结束时间'],
placeholder: [intl.formatMessage({ id: 'detail.purchase.startTime1' }),intl.formatMessage({ id: 'detail.purchase.endTime1' })],
}
},
innerStatusList: {
......@@ -77,7 +77,7 @@ export const PURCHASEPLANSERCH_SECHEMA: ISchema = {
span: 1
},
"x-component-props": {
children: '查询'
children: intl.formatMessage({ id: 'detail.purchase.search' })
}
}
}
......@@ -100,7 +100,7 @@ export const PURCHASEPLAN_SECHEMA: ISchema = {
},
"x-component-props": {
placeholder: '采购计划编号',
placeholder: intl.formatMessage({ id: 'detail.purchase.purchasePlanNo' }),
align: 'flex-left',
}
}
......@@ -132,14 +132,14 @@ export const PURCHASEPLAN_SECHEMA: ISchema = {
summary: {
type: 'string',
"x-component-props": {
placeholder: '采购计划摘要',
placeholder: intl.formatMessage({ id: 'detail.purchase.summary' }),
}
},
"[startTime,endTime]": {
type: 'string',
"x-component": "DateRangePickerUnix",
"x-component-props": {
placeholder: ['开始时间','结束时间'],
placeholder: [intl.formatMessage({ id: 'detail.purchase.startTime1' }),intl.formatMessage({ id: 'detail.purchase.endTime1' })],
}
},
}
......@@ -150,7 +150,7 @@ export const PURCHASEPLAN_SECHEMA: ISchema = {
span: 1
},
"x-component-props": {
children: '查询'
children: intl.formatMessage({ id: 'detail.purchase.search' })
}
}
}
......
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