diff --git a/src/i18n/lang/cn.ts b/src/i18n/lang/cn.ts index cef1beb..aa296d6 100644 --- a/src/i18n/lang/cn.ts +++ b/src/i18n/lang/cn.ts @@ -150,6 +150,7 @@ export default { Pi_InputFactory: '请输入工厂代码', Pi_OrderNoNotSelected: '未选中订单号', Pi_NoDataFound: '未查询到数据', + Pi_NoData: '数据为0!', Pi_QueryResults: '查询结果', Pi_Summary: '汇总', Pi_ByOrder: '按单', diff --git a/src/i18n/lang/en.ts b/src/i18n/lang/en.ts index 0b69756..34b72b9 100644 --- a/src/i18n/lang/en.ts +++ b/src/i18n/lang/en.ts @@ -151,6 +151,7 @@ export default { Pi_InputFactory: 'Please input factory code', Pi_OrderNoNotSelected: 'Order number not selected', Pi_NoDataFound: 'No Data Found', + Pi_NoData: 'The data is 0!', Pi_QueryResults: 'Query result', Pi_Summary: 'By Summary', Pi_ByOrder: 'By Order', diff --git a/src/pages/raw/handover/aggregating/model.ts b/src/pages/raw/handover/aggregating/model.ts index 735a636..65603c8 100644 --- a/src/pages/raw/handover/aggregating/model.ts +++ b/src/pages/raw/handover/aggregating/model.ts @@ -221,7 +221,7 @@ export class AggregatingModule extends VuexModule { // icon: 'none', // title: 'No Data Found!', // }); - vm.customToast(vm.$t('message.Pi_NoDataFound') as any); + vm.customToast(vm.$t('message.Pi_NoData') as any); return { aggregateList }; } console.log('aggregateList', aggregateList);