Browse Source

中英文

hella_online_20241212_pandian
王宇飞 3 months ago
parent
commit
17a11770b9
  1. 2
      src/components/BasicForm/src/BasicForm.vue
  2. 2
      src/components/SearchTable/src/SearchTable.vue
  3. 4
      src/components/SearchTableCount/src/SearchTableCount.vue
  4. 4
      src/components/SearchTableV2/src/SearchTableV2.vue
  5. 52
      src/locales/en-US.ts
  6. 45
      src/locales/zh-CN.ts
  7. 3
      src/views/login/components/QRCodePDA.vue
  8. 8
      src/views/wms/basicDataManage/systemSetting/supplierUser/supplierUser.data.ts
  9. 8
      src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/index.vue
  10. 8
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue
  11. 10
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
  12. 6
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue

2
src/components/BasicForm/src/BasicForm.vue

@ -808,7 +808,7 @@ const submitForm = async () => {
const validateForm = await tableFormRef.value.validateForm()
if (!validateForm && props.tableFormDataLength) {
if (props.tableData.length == 0) {
message.warning('请填写明细信息!')
message.warning(t(`ts.${'请填写明细信息!'}`))
formLoading.value = false
return
}

2
src/components/SearchTable/src/SearchTable.vue

@ -269,7 +269,7 @@ const submitForm = async () => {
//
} else {
if (selections.length == 0) {
message.warning('至少选择一条数据!')
message.warning(t(`ts.${'至少选择一条数据!'}`))
formLoading.value = false
return
}

4
src/components/SearchTableCount/src/SearchTableCount.vue

@ -70,7 +70,7 @@
<script setup lang="ts">
import * as defaultButtons from '@/utils/disposition/defaultButtons'
// const { t } = useI18n() //
const { t } = useI18n() //
const message = useMessage() //
const radioListType = ref(1)
@ -193,7 +193,7 @@ const submitForm = async () => {
//
} else {
if (selections.length == 0) {
message.warning('至少选择一条数据!')
message.warning(t(`ts.${'至少选择一条数据!'}`))
formLoading.value = false
return
}

4
src/components/SearchTableV2/src/SearchTableV2.vue

@ -38,7 +38,7 @@
<script setup lang="ts">
import * as defaultButtons from '@/utils/disposition/defaultButtons'
// const { t } = useI18n() //
const { t } = useI18n() //
const message = useMessage() //
const route = useRoute() //
@ -168,7 +168,7 @@ const submitForm = async () => {
//
}else{
if(selections.length == 0) {
message.warning('至少选择一条数据!')
message.warning(t(`ts.${'至少选择一条数据!'}`))
formLoading.value = false
return
}

52
src/locales/en-US.ts

@ -1379,8 +1379,56 @@ export default {
: ' data',
: 'Yes or no read',
: 'Purchase Order Type',
// 数量: '',
// 数量: '',
PDA安装程序下载链接:'PDA installer download link',
ASN直接收货: 'The ASN receives the goods directly',
ASN外部收货: 'ASN external receipt',
: 'Receiving spare parts',
: 'Target location',
: 'Has the inspection application been sent',
: 'Whether the shelf application has been generated',
: 'Item Type',
: 'Detailed remarks',
: 'Accounts receivable',
: 'Paid in',
: 'Lack of harvest',
Q2通知单: 'Q2 Notice',
Q2通知单号: 'Q2 Advice No',
退: 'Reasons for return',
退: 'Description of reasons for return',
: 'Tax rebate',
: 'Total rebate value and tax',
: 'Unit price difference',
: 'Quantity of goods arriving',
: 'Rebate the amount of unpaid tax',
: 'Invoice number',
: 'Difference of tail',
: 'Purchase price approval time',
: 'The spread is explained',
: 'Financial Posting date',
: 'Factory location',
: 'Reference credential Description',
: 'Summary information',
: 'Total rebate included',
: 'Including rebate without tax',
: 'Including rebate tax',
: 'Material description',
: 'Amount of contract',
: 'Amount of purchase',
'至少选择一条数据!':'Select at least one piece of data!',
'请填写明细信息!':'Please fill in the details!',
: 'Please select buyer',
: 'Please select user information',
: 'Please select supplier information',
: 'Please select Purchase order',
: 'Whether excessive hair is allowed',
: 'Please select the library code',
: 'Please select the repository code',
: 'Select the library bit group code',
// 物料描述: '',
// 返利未税金额: '',
// 财务过账日期: '',
// Q2通知单: '',
// ASN外部收货: '',
// 数量: '',
},

45
src/locales/zh-CN.ts

@ -1377,6 +1377,51 @@ export default {
: ' 条数据',
: '是否已读d',
: '采购订单类型',
PDA安装程序下载链接:'PDA安装程序下载链接',
ASN直接收货: 'ASN直接收货',
ASN外部收货: 'ASN外部收货',
: '备件收货',
: '目标库位',
: '是否已发送检验申请',
: '是否已生成上架申请',
: '物料类型',
: '明细备注',
: '应收',
: '实收',
: '缺收',
Q2通知单: 'Q2通知单',
Q2通知单号: 'Q2通知单号',
退: '退货原因',
退: '退货原因描述',
: '返利税额',
: '返利价税合计',
: '单价差额',
: '到货数量',
: '返利未税金额',
: '发票号码',
: '尾差',
: '采购价格审批时间',
: '价差通过说明',
: '财务过账日期',
: '工厂地点',
: '参考凭证描述',
: '汇总信息',
: '含返利合计',
: '含返利未税',
: '含返利税额',
: '物料描述',
: '合同金额',
: '采购金额',
'至少选择一条数据!':'至少选择一条数据!',
'请填写明细信息!':'请填写明细信息!',
: '请选择采购员',
: '请选择用户信息',
: '请选择供应商信息',
: '请选择采购订单',
: '是否允许超发',
: '请选择库区代码',
: '请选择仓库代码',
: '请选择库位组代码',
},

3
src/views/login/components/QRCodePDA.vue

@ -5,12 +5,13 @@
<!-- <vue-qr bgSrc='https://img2.baidu.com/it/u=1188690822,3145215011&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1038' logoSrc="https://img1.baidu.com/it/u=605875105,1314303687&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500" text="Hello world!" :size="200"></vue-qr> -->
<vue-qr :text="apkUrl" :size="200" ></vue-qr>
</div>
<el-button type="primary" v-if="pdaUrl" link @click="handleClose">PDA安装程序下载链接</el-button>
<el-button type="primary" v-if="pdaUrl" link @click="handleClose">{{ t('ts.PDA安装程序下载链接') }}</el-button>
</div>
</template>
<script setup lang="ts">
import { downloadApk } from "@/api/login";
import { getPDAUrl,getNeedCode } from '@/utils/systemParam'
const { t } = useI18n() //
// import logoImg from '@/assets/imgs/logo_white_blue.png'

8
src/views/wms/basicDataManage/systemSetting/supplierUser/supplierUser.data.ts

@ -105,7 +105,7 @@ export const SupplierUser = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
tableForm:{
isInpuFocusShow: true,
searchListPlaceholder: '请选用户信息',
searchListPlaceholder: '请选用户信息',
searchField: 'username',
searchTitle: '用户信息',
searchAllSchemas: User.allSchemas,
@ -117,7 +117,7 @@ export const SupplierUser = useCrudSchemas(reactive<CrudSchema[]>([
enterSearch: true,
dialogWidth:'1025px',//搜索出来弹窗的宽度
isSearchList: true,
searchListPlaceholder: '请选用户信息',
searchListPlaceholder: '请选用户信息',
searchField: 'username',
searchTitle: '用户信息',
searchAllSchemas: User.allSchemas,
@ -148,7 +148,7 @@ export const SupplierUser = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
tableForm:{
isInpuFocusShow: true,
searchListPlaceholder: '请选供应商信息',
searchListPlaceholder: '请选供应商信息',
searchField: 'code',
searchTitle: '供应商信息',
searchAllSchemas: Supplier.allSchemas,
@ -159,7 +159,7 @@ export const SupplierUser = useCrudSchemas(reactive<CrudSchema[]>([
componentProps: {
enterSearch:true,
isSearchList: true,
searchListPlaceholder: '请选供应商信息',
searchListPlaceholder: '请选供应商信息',
searchField: 'code',
searchTitle: '供应商信息',
searchAllSchemas: Supplier.allSchemas,

8
src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/index.vue

@ -142,15 +142,15 @@
>
<!-- 价税合计尾差 -->
<template #Descriptions_totalTaxDiffAmount="{ row }">
<span>{{row['totalTaxDiffAmount']}}<span class="red-text"> (含返利合计:{{ row['rebateTotal'] }})</span></span>
<span>{{row['totalTaxDiffAmount']}}<span class="red-text"> ({{t('ts.含返利合计')}}:{{ row['rebateTotal'] }})</span></span>
</template>
<!-- 未税尾差 -->
<template #Descriptions_beforeTaxDiffAmount="{ row }">
<span>{{row['beforeTaxDiffAmount']}}<span class="red-text"> (含返利未税:{{ row['discountAmount1'] }})</span></span>
<span>{{row['beforeTaxDiffAmount']}}<span class="red-text"> ({{t('ts.含返利未税')}}:{{ row['discountAmount1'] }})</span></span>
</template>
<!-- 税额尾差 -->
<template #Descriptions_taxAmountDiff="{ row }">
<span>{{row['taxAmountDiff']}}<span class="red-text"> (含返利税额:{{ row['rebateTax'] }})</span></span>
<span>{{row['taxAmountDiff']}}<span class="red-text"> ({{t('ts.含返利税额')}}:{{ row['rebateTax'] }})</span></span>
</template>
<template #differencePrice="{row}">
<span :class="{'red-text':row.differencePrice!=0}">{{ row.differencePrice }}</span>
@ -244,7 +244,7 @@
rows = [...rows,...item.selectionRows.map(item1=>item1.id)]
})
if(rows.length==0){
message.warning('至少选择一条数据!')
message.warning(t(`ts.${'至少选择一条数据!'}`))
return
}
console.log('批量打印',rows.join(','))

8
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue

@ -142,15 +142,15 @@
>
<!-- 价税合计尾差 -->
<template #Descriptions_totalTaxDiffAmount="{ row }">
<span>{{row['totalTaxDiffAmount']}}<span class="red-text"> (含返利合计:{{ row['rebateTotal'] }})</span></span>
<span>{{row['totalTaxDiffAmount']}}<span class="red-text"> ({{t('ts.含返利合计')}}:{{ row['rebateTotal'] }})</span></span>
</template>
<!-- 未税尾差 -->
<template #Descriptions_beforeTaxDiffAmount="{ row }">
<span>{{row['beforeTaxDiffAmount']}}<span class="red-text"> (含返利未税:{{ row['discountAmount1'] }})</span></span>
<span>{{row['beforeTaxDiffAmount']}}<span class="red-text"> ({{t('ts.含返利未税')}}:{{ row['discountAmount1'] }})</span></span>
</template>
<!-- 税额尾差 -->
<template #Descriptions_taxAmountDiff="{ row }">
<span>{{row['taxAmountDiff']}}<span class="red-text"> (含返利税额:{{ row['rebateTax'] }})</span></span>
<span>{{row['taxAmountDiff']}}<span class="red-text"> ({{t('ts.含返利税额')}}:{{ row['rebateTax'] }})</span></span>
</template>
<template #differencePrice="{row}">
<span :class="{'red-text':row.differencePrice!=0}">{{ row.differencePrice }}</span>
@ -241,7 +241,7 @@ const handleSelectionPoint = async ()=>{
rows = [...rows,...item.selectionRows.map(item1=>item1.id)]
})
if(rows.length==0){
message.warning('至少选择一条数据!')
message.warning(t(`ts.${'至少选择一条数据!'}`))
return
}
console.log('批量打印',rows.join(','))

10
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -182,7 +182,7 @@
>
<template #selectionsActionspoLine="{ selections }">
<div style="text-align: left; margin-right: 10px">
系统未税金额:{{
{{t('ts.系统未税金额')}}:{{
Number(
selections.reduce(
(prev, item) =>
@ -321,15 +321,15 @@
>
<!-- 价税合计尾差 -->
<template #Descriptions_totalTaxDiffAmount="{ row }">
<span>{{row['totalTaxDiffAmount']}}<span class="red-text"> (含返利合计:{{ row['rebateTotal'] }})</span></span>
<span>{{row['totalTaxDiffAmount']}}<span class="red-text"> ({{t('ts.含返利合计')}}:{{ row['rebateTotal'] }})</span></span>
</template>
<!-- 未税尾差 -->
<template #Descriptions_beforeTaxDiffAmount="{ row }">
<span>{{row['beforeTaxDiffAmount']}}<span class="red-text"> (含返利未税:{{ row['discountAmount1'] }})</span></span>
<span>{{row['beforeTaxDiffAmount']}}<span class="red-text"> ({{t('ts.含返利未税')}}:{{ row['discountAmount1'] }})</span></span>
</template>
<!-- 税额尾差 -->
<template #Descriptions_taxAmountDiff="{ row }">
<span>{{row['taxAmountDiff']}}<span class="red-text"> (含返利税额:{{ row['rebateTax'] }})</span></span>
<span>{{row['taxAmountDiff']}}<span class="red-text"> ({{t('ts.含返利税额')}}:{{ row['rebateTax'] }})</span></span>
</template>
<template #differencePrice="{ row }">
<span :class="{ 'red-text': row.differencePrice != 0 }">{{ row.differencePrice }}</span>
@ -1549,7 +1549,7 @@ const handleSelectionPoint = async () => {
rows = [...rows, ...item.selectionRows.map((item1) => item1.id)]
})
if (rows.length == 0) {
message.warning('至少选择一条数据!')
message.warning(t(`ts.${'至少选择一条数据!'}`))
return
}
console.log('批量打印', rows.join(','))

6
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue

@ -122,15 +122,15 @@
>
<!-- 价税合计尾差 -->
<template #Descriptions_totalTaxDiffAmount="{ row }">
<span>{{row['totalTaxDiffAmount']}}<span class="red-text"> (含返利合计:{{ row['rebateTotal'] }})</span></span>
<span>{{row['totalTaxDiffAmount']}}<span class="red-text"> ({{t('ts.含返利合计')}}:{{ row['rebateTotal'] }})</span></span>
</template>
<!-- 未税尾差 -->
<template #Descriptions_beforeTaxDiffAmount="{ row }">
<span>{{row['beforeTaxDiffAmount']}}<span class="red-text"> (含返利未税:{{ row['discountAmount1'] }})</span></span>
<span>{{row['beforeTaxDiffAmount']}}<span class="red-text"> ({{t('ts.含返利未税')}}:{{ row['discountAmount1'] }})</span></span>
</template>
<!-- 税额尾差 -->
<template #Descriptions_taxAmountDiff="{ row }">
<span>{{row['taxAmountDiff']}}<span class="red-text"> (含返利税额:{{ row['rebateTax'] }})</span></span>
<span>{{row['taxAmountDiff']}}<span class="red-text"> ({{t('ts.含返利税额')}}:{{ row['rebateTax'] }})</span></span>
</template>
<template #differencePrice="{row}">
<span :class="{'red-text':row.differencePrice!=0}">{{ row.differencePrice }}</span>

Loading…
Cancel
Save