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

fix: 翻译修改

parent fecfccdc
......@@ -88,8 +88,8 @@ export default {
'table.purchase.deliverTime': 'Prepaid date',
'table.purchase.requisitionment': 'Requisition Department',
'table.purchase.purpose': 'Purchase Purpose',
'table.purchase.quantity': 'Purchase quantity',
'table.purchase.transferQuantity': 'Order quantity transferred',
'table.purchase.quantity': 'Procure Amount',
'table.purchase.transferQuantity': 'Order amount transferred',
'table.purchase.okText': 'Yes',
'table.purchase.cancelText': 'No',
'table.purchase.popconfirm': 'Are you sure you want to submit? ',
......@@ -198,7 +198,7 @@ export default {
'detail.purchase.taxPrice': 'Amount (including tax)',
'detail.purchase.totalAmount': 'TotalAmount',
'detail.purchase.needCount': 'Required Quantity',
'detail.purchase.2': 'Purchase quantity/unit',
'detail.purchase.2': 'Procure Amount/unit',
'detail.purchase.costPrice': 'Cost price',
'detail.purchase.needPrice': 'Demand amount',
'detail.purchase.arriveTime': 'Arrival Date',
......@@ -231,9 +231,9 @@ export default {
'detail.purchase.goodstName': 'Product name',
'detail.purchase.files': 'Purchase attachment quantity',
'detail.purchase.isList': 'Is the product list data',
'detail.purchase.purchaseCount': 'Purchase Quantity',
'detail.purchase.purchaseCount2': 'Planned purchase quantity',
'detail.purchase.purchasePrice': 'Planned purchase amount',
'detail.purchase.purchaseCount': 'Procure Amount',
'detail.purchase.purchaseCount2': 'Planned Procure Amount',
'detail.purchase.purchasePrice': 'Planned Procure Amount',
'detail.purchase.code': 'Item No.',
'detail.purchase.productName': 'Product Name',
'detail.purchase.cancel': 'Cancel',
......@@ -369,11 +369,11 @@ export default {
'detail.purchase.message27': 'Please enter the specification and model',
'detail.purchase.message28': 'Please select a category',
'detail.purchase.message29': 'Please select a unit',
'detail.purchase.message30': 'Please enter the purchase quantity',
'detail.purchase.message30': 'Please enter the Procure Amount',
'detail.purchase.message31': 'Please select a brand',
'detail.purchase.message32': 'The item already exists, please do not select again!',
'detail.purchase.message33': 'Please select the product!',
'detail.purchase.message34': 'The purchase quantity must be greater than 0 and keep at most 3 decimal places',
'detail.purchase.message34': 'The Procure Amount must be greater than 0 and keep at most 3 decimal places',
'detail.purchase.message35': 'Please complete applicable city information',
'detail.purchase.message36': 'Please select the purchase type',
'detail.purchase.message37': 'Please choose a price comparison method',
......@@ -455,13 +455,13 @@ export default {
'detail.purchase.placeholder19': 'The upload file size does not exceed 50M!',
'detail.purchase.priceMethod': 'Price Comparison Method',
'detail.purchase.purchaseType1': 'There is a fixed purchase amount',
'detail.purchase.purchaseType2': 'No fixed purchase amount',
'detail.purchase.purchaseType1': 'There is a fixed Procure Amount',
'detail.purchase.purchaseType2': 'No fixed Procure Amount',
'detail.purchase.priceContrast1': 'Sealed price comparison',
'detail.purchase.priceContrast2': 'Unsealed price comparison',
'detail.purchase.tips':
'There is a fixed purchase amount: the purchase amount is fixed, and the purchase amount cannot be exceeded during the contract period. No fixed purchase amount: the purchase amount is not fixed, and it can be purchased on demand during the contract period',
'There is a fixed Procure Amount: the Procure Amount is fixed, and the Procure Amount cannot be exceeded during the contract period. No fixed Procure Amount: the Procure Amount is not fixed, and it can be purchased on demand during the contract period',
'detail.purchase.tips1':
'Sealed price comparison: you can only see whether the supplier has a quotation, you can’t see the supplier’s quotation details, you can only see the quotation details after unsealing, and the unsealed price comparison: you can see the quotation immediately after the supplier has quoted the price Details, no need to unblock',
'detail.purchase.tips2': 'The published procurement portal is a ticked procurement portal. It cannot be selected. You can only select the unchecked procurement portal. ',
......@@ -543,13 +543,13 @@ export default {
'detail.purchase.label52': 'Operation time',
'schma.purchase.purchaseType.help': 'Purchase Type',
'schma.purchase.purchaseType.help.text': 'There is a fixed purchase amount: the purchase amount is fixed, and the purchase amount cannot be exceeded during the contract period. No fixed purchase amount: the purchase amount is not fixed and can be purchased on demand during the contract period',
'schma.purchase.purchaseType.help.text': 'There is a fixed Procure Amount: the Procure Amount is fixed, and the Procure Amount cannot be exceeded during the contract period. No fixed Procure Amount: the Procure Amount is not fixed and can be purchased on demand during the contract period',
'schma.purchase.orderNo': 'Please enter the order number',
'schma.purchase.orderThe': 'Please enter the order summary',
'schma.purchase.supplyMembersName': 'Please enter the supply member name',
'schma.purchase.purchaseType': 'Please select the purchase type',
'schma.purchase.purchaseTypeTips':
`'Purchase Type', "With fixed purchase amount: the purchase amount is fixed, and cannot exceed the purchase amount during the contract period. No fixed purchase amount: the purchase amount is not fixed, and you can purchase on demand during the contract period.'`,
`'Purchase Type', "With fixed Procure Amount: the Procure Amount is fixed, and cannot exceed the Procure Amount during the contract period. No fixed Procure Amount: the Procure Amount is not fixed, and you can purchase on demand during the contract period.'`,
'schma.purchase.projectName': 'Please enter the bidding project',
'schma.purchase.remark': 'Bidding summary',
'schma.purchase.remarkMessage': 'Please enter the tender summary',
......@@ -601,14 +601,14 @@ export default {
'table.purchase.pinpai': 'Brand',
'table.purchase.zuichang24gezi': 'The longest is 24 characters, 12 Chinese characters',
'table.purchase.shifouhuopinlie': 'Whether the product list data',
'table.purchase.caigoushuliang': 'Purchase Quantity',
'table.purchase.caigoushuliang': 'Procure Amount',
'table.purchase.danwei': 'Unit',
'table.purchase.qingxuanzedanwei': 'Please select a unit',
'table.purchase.danweimingcheng': 'Unit name',
'table.purchase.qingtianxiecaigou': 'Please fill in the purchase quantity',
'table.purchase.qingshurucaigou': 'Please enter the purchase quantity',
'table.purchase.caigoushuliangshu': 'The purchase quantity value has exceeded the maximum limit',
'table.purchase.caigoushuliangshu1': 'The purchase quantity value is limited to three decimal places',
'table.purchase.qingtianxiecaigou': 'Please fill in the Procure Amount',
'table.purchase.qingshurucaigou': 'Please enter the Procure Amount',
'table.purchase.caigoushuliangshu': 'The Procure Amount value has exceeded the maximum limit',
'table.purchase.caigoushuliangshu1': 'The Procure Amount value is limited to three decimal places',
'table.purchase.fujian': 'Attachment',
'table.purchase.qingshangchuanfujian': 'Please upload attachments',
'table.purchase.yicishangchuanyi': 'Upload one file at a time, and the size of each attachment cannot exceed 20M',
......@@ -921,7 +921,7 @@ export default {
'table.purchase.gaipingbiaomuban1': 'The bid evaluation template has been used and cannot be modified',
'table.purchase.bianji': 'Edit',
'table.purchase.quedingyaozhixing1': 'Are you sure you want to perform this operation? ',
'table.purchase.caigoushuliangdanwei': 'Purchase quantity/unit',
'table.purchase.caigoushuliangdanwei': 'Procure Amount/unit',
'table.purchase.duiyingzhaobiaowu': 'Corresponding bidding materials',
'table.purchase.toubiaoqitaxin': 'Other bidding information',
'table.purchase.qingxiangouxuanding': 'Please check the order first',
......@@ -988,4 +988,7 @@ export default {
'purchase.bumen': 'Division',
'purchase.zhiwei': 'Position',
'purchase.zuichang400gezifu200ge': 'Up to 400 characters, 200 Chinese characters',
'purchase.zhenduiyuxiangmukeshiyong': 'Budget amount available for the project',
'purchase.yusuanjine': 'budget amount',
'purchase.zhileguishudishihou': 'The bidding can be screened according to the cities after the owning cities are set. If the bidding is not set, it will be all cities by default',
}
......@@ -988,4 +988,7 @@ export default {
'purchase.bumen': '부문',
'purchase.zhiwei': '직위',
'purchase.zuichang400gezifu200ge': '길게는 400자, 200자',
'purchase.zhenduiyuxiangmukeshiyong': '프로젝트에 사용할 수 있는 예산 금액',
'purchase.yusuanjine': '예산 금액',
'purchase.zhileguishudishihou': '귀속 지구시를 설정한후이 입찰은 지구시에 따라 선별할수 있으며 설치하지 않았을 때는 모든 지구시를 묵인했다',
}
......@@ -989,4 +989,7 @@ export default {
'purchase.bumen': '部门',
'purchase.zhiwei': '职位',
'purchase.zuichang400gezifu200ge': '最长400个字符,200个汉字',
'purchase.zhenduiyuxiangmukeshiyong': '针对于项目可使用的预算金额',
'purchase.yusuanjine': '预算金额',
'purchase.zhileguishudishihou': '置了归属地市后,此招标可根据地市进行筛选,未设置时默认为所有地市',
}
......@@ -400,8 +400,8 @@ const PaySettingLayout = () => {
buttonStyle="solid"
onChange={(e) => handleRadioChang(e, item.payType)}
>
<Radio.Button value={_item.payChannel}></Radio.Button>
<Radio.Button value={`_${_item.payChannel}`}></Radio.Button>
<Radio.Button value={_item.payChannel}>{intl.formatMessage({ id: 'payandSettle.paySetting.radio.1' })}</Radio.Button>
<Radio.Button value={`_${_item.payChannel}`}>{intl.formatMessage({ id: 'payandSettle.paySetting.radio.2' })}</Radio.Button>
</Radio.Group>
</Form.Item>
</Fragment>
......
......@@ -197,14 +197,15 @@ const diaLogForm: React.FC<ListProps> = (props) => {
<Field
name="weight"
required
x-props={{
style: {
width: 160,
marginLeft: 49
}
}}
// x-props={{
// style: {
// width: 160,
// marginLeft: 49
// }
// }}
x-component="Input"
x-component-props={{
inline: true,
placeholder: '',
addonAfter: "KG"
}}
......
......@@ -190,10 +190,13 @@ const AddedAddressLayout: React.FC<AddressModalProps> = (props) => {
provinceCode: {
type: 'string',
enum: [],
required: true,
"x-component-props": {
placeholder: intl.formatMessage({ id: 'logistics.shengfen/zhi' }),
},
'x-rules': [{
required: true,
message: `${intl.formatMessage({id: 'logistics.qingxuanze'})}`
}],
"x-mega-props": {
span: 1
},
......@@ -209,10 +212,13 @@ const AddedAddressLayout: React.FC<AddressModalProps> = (props) => {
cityCode: {
type: 'string',
enum: [],
required: true,
"x-component-props": {
placeholder: intl.formatMessage({ id: 'logistics.shiqu' }),
},
'x-rules': [{
required: true,
message: `${intl.formatMessage({id: 'logistics.qingxuanze'})}`
}],
"x-mega-props": {
span: 1
},
......@@ -228,10 +234,13 @@ const AddedAddressLayout: React.FC<AddressModalProps> = (props) => {
districtCode: {
type: 'string',
enum: [],
required: true,
"x-component-props": {
placeholder: intl.formatMessage({ id: 'logistics.qu' }),
},
'x-rules': [{
required: true,
message: `${intl.formatMessage({id: 'logistics.qingxuanze'})}`
}],
"x-mega-props": {
span: 1
},
......@@ -270,7 +279,7 @@ const AddedAddressLayout: React.FC<AddressModalProps> = (props) => {
"x-rules": [
{
required: true,
message: '',
message: `${intl.formatMessage({id: 'detail.purchase.message22'})} ${intl.formatMessage({ id: 'logistics.xiangxidizhi' })} `,
},
{
limitByte: true,
......@@ -326,6 +335,10 @@ const AddedAddressLayout: React.FC<AddressModalProps> = (props) => {
},
'x-rules': [
{
required: true,
message: intl.formatMessage({ id: 'logistics.qingshurunide' }),
},
{
pattern: PATTERN_MAPS.phone,
message: intl.formatMessage({ id: 'logistics.qingshuruzhengque' }),
},
......
......@@ -196,7 +196,7 @@ const AddedAddressLayout: React.FC<AddressModalProps> = (props) => {
},
'x-rules': [{
required: true,
message: `${intl.formatMessage({id: 'logistics.qingxuanze'})}${intl.formatMessage({ id: 'logistics.shengfen/zhi' })}`
message: `${intl.formatMessage({id: 'logistics.qingxuanze'})}`
}],
"x-mega-props": {
span: 1
......@@ -218,7 +218,7 @@ const AddedAddressLayout: React.FC<AddressModalProps> = (props) => {
},
'x-rules': [{
required: true,
message: `${intl.formatMessage({id: 'logistics.qingxuanze'})}${intl.formatMessage({ id: 'logistics.shiqu' })}`
message: `${intl.formatMessage({id: 'logistics.qingxuanze'})}`
}],
"x-mega-props": {
span: 1
......@@ -240,7 +240,7 @@ const AddedAddressLayout: React.FC<AddressModalProps> = (props) => {
},
'x-rules': [{
required: true,
message: `${intl.formatMessage({id: 'logistics.qingxuanze'})}${intl.formatMessage({ id: 'logistics.qu' })}`
message: `${intl.formatMessage({id: 'logistics.qingxuanze'})}`
}],
"x-mega-props": {
span: 1
......
......@@ -18,12 +18,12 @@ export const warehouseDetailSchema: ISchema = {
type: 'string',
title: intl.formatMessage({ id: 'stockSellStorage.cangkumingcheng' }),
'x-component-props': {
placeholder: intl.formatMessage({id: 'stockSellStorage.qingshuru'}),
placeholder: intl.formatMessage({ id: 'stockSellStorage.qingshuru' }),
},
'x-rules': [
{
required: true,
message: intl.formatMessage({id: 'stockSellStorage.qingshurucangkumingcheng'}),
message: intl.formatMessage({ id: 'stockSellStorage.qingshurucangkumingcheng' }),
},
{
limitByte: true, // 自定义校验规则
......@@ -55,7 +55,7 @@ export const warehouseDetailSchema: ISchema = {
type: 'string',
enum: [],
'x-component-props': {
placeholder: intl.formatMessage({id: 'stockSellStorage.sheng'}),
placeholder: intl.formatMessage({ id: 'stockSellStorage.sheng' }),
},
'x-linkages': [
{
......@@ -65,13 +65,16 @@ export const warehouseDetailSchema: ISchema = {
target: 'cityId',
},
],
required: true,
'x-rules': [{
required: true,
message: intl.formatMessage({ id: 'common.text.pleaseSelect' })
}]
},
cityId: {
type: 'string',
enum: [],
'x-component-props': {
placeholder: intl.formatMessage({id: 'stockSellStorage.shi1'}),
placeholder: intl.formatMessage({ id: 'stockSellStorage.shi1' }),
},
'x-linkages': [
{
......@@ -81,15 +84,21 @@ export const warehouseDetailSchema: ISchema = {
target: 'areaId',
},
],
required: true,
'x-rules': [{
required: true,
message: intl.formatMessage({ id: 'common.text.pleaseSelect' })
}]
},
areaId: {
type: 'string',
enum: [],
'x-component-props': {
placeholder: intl.formatMessage({id: 'stockSellStorage.xianqu'}),
placeholder: intl.formatMessage({ id: 'stockSellStorage.xianqu' }),
},
required: true,
'x-rules': [{
required: true,
message: intl.formatMessage({ id: 'common.text.pleaseSelect' })
}]
},
},
},
......@@ -98,7 +107,7 @@ export const warehouseDetailSchema: ISchema = {
required: true,
'x-component': 'TextArea',
'x-component-props': {
placeholder: intl.formatMessage({id: 'stockSellStorage.qingshuruxiangxidizhi'}),
placeholder: intl.formatMessage({ id: 'stockSellStorage.qingshuruxiangxidizhi' }),
rows: 5,
},
'x-rules': [
......@@ -112,7 +121,7 @@ export const warehouseDetailSchema: ISchema = {
},
principal: {
type: 'string',
title: intl.formatMessage({id: 'stockSellStorage.cangkufuzhairen'}),
title: intl.formatMessage({ id: 'stockSellStorage.cangkufuzhairen' }),
'x-component-props': {},
'x-rules': [
{
......@@ -125,7 +134,7 @@ export const warehouseDetailSchema: ISchema = {
type: 'object',
'x-component': 'mega-layout',
'x-component-props': {
label: intl.formatMessage({id: 'stockSellStorage.lianxidianhua'}),
label: intl.formatMessage({ id: 'stockSellStorage.lianxidianhua' }),
wrapperCol: 24,
},
properties: {
......@@ -141,7 +150,7 @@ export const warehouseDetailSchema: ISchema = {
type: 'string',
enum: [],
'x-component-props': {
placeholder: intl.formatMessage({id: 'stockSellStorage.qingxuanze'}),
placeholder: intl.formatMessage({ id: 'stockSellStorage.qingxuanze' }),
},
},
tel: {
......@@ -150,13 +159,13 @@ export const warehouseDetailSchema: ISchema = {
span: 3,
},
'x-component-props': {
placeholder: intl.formatMessage({id: 'stockSellStorage.qingshurunideshoujihao'}),
placeholder: intl.formatMessage({ id: 'stockSellStorage.qingshurunideshoujihao' }),
maxLength: 11,
},
'x-rules': [
{
pattern: PATTERN_MAPS.phone,
message: intl.formatMessage({id: 'stockSellStorage.qingshuruzhengquegeshide'}),
message: intl.formatMessage({ id: 'stockSellStorage.qingshuruzhengquegeshide' }),
},
],
},
......
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