Skip to content

Commit

Permalink
remove console info and add message support english
Browse files Browse the repository at this point in the history
  • Loading branch information
Jzow committed Aug 14, 2024
1 parent d8c9746 commit 6633ac8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion web/src/layouts/default/header/components/notify/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const numberStyle = {};
const fetchMessages = () => {
getMessageList().then((res) => {
listData.value = res.data;
console.info(listData.value);
});
};
Expand Down
1 change: 1 addition & 0 deletions web/src/locales/lang/en/purchase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default {
noticeFour: 'The barcode cannot find product info',
noticeFive: 'The product barcode cannot be empty',
noticeSix: 'Enter the barcode product information automatically!',
noticeEight: 'The warehouse cannot be empty',
noticeSeven: 'Support product name, product number, product specifications, and product model',
cancel: 'Cancel',
save: 'Save',
Expand Down
1 change: 1 addition & 0 deletions web/src/locales/lang/zh-CN/purchase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export default {
noticeThree: '该文件超过2MB大小限制',
noticeFour: '该条码查询不到商品信息',
noticeFive: '商品条码不能为空',
noticeEight: '仓库不能为空',
noticeSix: '输入条码商品信息自动带出!',
noticeSeven: '支持商品名称、商品编号、商品规格、商品型号',
cancel: '取消',
Expand Down
8 changes: 6 additions & 2 deletions web/src/views/receipt/LinkReceiptModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'status'">
<Tag :color="record.status === 1 ? 'green' : 'red'">
<v-if v-if="localeStore === 'zh_CN'">{{ record.status === 1 ? '已审核' : '未审核' }}</v-if>
<v-else-if v-if="localeStore === 'en'">{{ record.status === 1 ? 'Audited' : 'Unaudited' }}</v-else-if>
<template v-if="localeStore === 'zh_CN'">
{{ record.status === 1 ? '已审核' : '未审核' }}
</template>
<template v-if="localeStore === 'en'">
{{ record.status === 1 ? 'Audited' : 'Unaudited' }}
</template>
</Tag>
</template>
<template v-else-if="column.key === 'receiptNumber'">
Expand Down

0 comments on commit 6633ac8

Please sign in to comment.