diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index 4cedb45c2..ec715bc6f 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -1054,7 +1054,7 @@ export default { 供应商发票申请主:'Supplier invoice request master data', 请添明细数据:'Please provide detailed data', 非SCP订单无法打印:'Non SCP orders cannot be printed', - '明细数据条数已超过最大数量限制【999条】':'The number of detailed data items has exceeded the maximum limit [999 items]', + '明细数据条数已超过最大数量限制【20000条】':'The number of detailed data items has exceeded the maximum limit [20000 items]', 供应商发货申请主导入模版:'Supplier delivery request is led into the template', 供应商发票申请主导入模板:'Supplier invoice request lead into template', 供应商发票申请明细:'Supplier invoice request details', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index fbb2fd3a7..f7586d6ea 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -1054,7 +1054,7 @@ export default { 供应商发票申请主:'供应商发票申请主', 请添明细数据:'请添明细数据', 非SCP订单无法打印:'非SCP订单无法打印', - '明细数据条数已超过最大数量限制【999条】':'明细数据条数已超过最大数量限制【999条】', + '明细数据条数已超过最大数量限制【20000条】':'明细数据条数已超过最大数量限制【20000条】', 供应商发货申请主导入模版:'供应商发货申请主导入模版', 供应商发票申请主导入模板:'供应商发票申请主导入模板', 供应商发票申请明细:'供应商发票申请明细', diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index 47e2b3da1..21d03a373 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -985,10 +985,10 @@ const handleImport = () => { message.warning(t('ts.请添明细数据')) return; } - // if(data.subList.length > 999){ - // message.warning(t('ts.明细数据条数已超过最大数量限制【999条】')) - // return; - // } + if(data.subList.length > 20000){ + message.warning(t('ts.明细数据条数已超过最大数量限制【20000条】')) + return; + } await SupplierinvoiceRequestMainApi.createSupplierinvoiceRequestMain(data) message.success(t('common.createSuccess')) } else {