Browse Source

中英文翻译

hella_online_20241219
王宇飞 3 months ago
parent
commit
c7e52782a3
  1. 2
      src/locales/en-US.ts
  2. 1
      src/locales/zh-CN.ts
  3. 14
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  4. 8
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts

2
src/locales/en-US.ts

@ -1601,6 +1601,8 @@ export default {
:'General maintenance spare parts',
'周转箱(周转包装)':'Turnover box (turnover packing)',
'外购件':'Outside purchased parts',
'请填供应商信息!':'Please fill in the supplier information!',
},

1
src/locales/zh-CN.ts

@ -1599,6 +1599,7 @@ export default {
:'通用维修备件',
'周转箱(周转包装)':'周转箱(周转包装)',
'外购件':'外购件',
'请填供应商信息!':'请填供应商信息!',
// 自制备件:'',
// 自制备件:'',
// 自制备件:'',

14
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -127,13 +127,6 @@ import { usePageLoading } from '@/hooks/web/usePageLoading'
const { loadStart, loadDone } = usePageLoading()
const { wsCache } = useCache()
const language = wsCache.get('lang')
const announcements = ref<any>([])
if('en-US'==language){
announcements.value = ["1. The total number of data items of the quantity of goods in the template does not exceed 1000 data (row × column).","2. All data content in the template is in text format, and formula content cannot be used as import data","3. The delivery date is in YYYY-MM-DD format, no hours, minutes and seconds are required"]
}else{
announcements.value = ["1. 模板中要货数量数据项总数不超过1000个数据(行×列)","2. 模板中全部数据内容格式为文本格式,不能使用公式内容作为导入数据","3. 要货日期为YYYY-MM-DD格式,不需填写时分秒"]
}
//
defineOptions({ name: 'PurchasePlanMain' })
@ -909,7 +902,14 @@ const handleSelectionPublish = async ()=>{
/** 导入 */
const importFormRef = ref()
const announcements = ref<any>([])
const handleImport = () => {
if('en-US'==language){
announcements.value = ["1.The total number of data items of the quantity of goods in the template does not exceed 1000 data (row × column)","2. All data content in the template is in text format, and formula content cannot be used as import data","3. The delivery date is in YYYY-MM-DD format, no hours, minutes and seconds are required"]
}else{
announcements.value = ["1. 模版中要货数量数据项总数不超过1000个数据(行×列)","2. 模板中全部数据内容格式为文本格式,不能使用公式内容作为导入数据","3. 要货日期为YYYY-MM-DD格式,不需填写时分秒"]
}
importFormRef.value.open()
}

8
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts

@ -1939,12 +1939,12 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
{
key: 'supplierCode',
value: 'supplierCode',
message: '请填供应商信息!',
message: t(`ts.${'请填供应商信息!'}`),
isMainValue: true
},{
key: 'orderType',
value: 'orderType',
message: '请填订单类型!',
message: t(`ts.${'请填订单类型!'}`),
isMainValue: true
}
]
@ -1962,13 +1962,13 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
{
key: 'supplierCode',
value: 'supplierCode',
message: '请填供应商信息!',
message: t(`ts.${'请填供应商信息!'}`),
isMainValue: true
},
{
key: 'orderType',
value: 'orderType',
message: '请填订单类型!',
message: t(`ts.${'请填订单类型!'}`),
isMainValue: true
}
]

Loading…
Cancel
Save