@openmrs/esm-stock-management-app 1.0.1-pre.548 → 1.0.1-pre.559

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/dist/271.js +1 -1
  2. package/dist/281.js +1 -1
  3. package/dist/281.js.map +1 -1
  4. package/dist/319.js +1 -1
  5. package/dist/460.js +1 -1
  6. package/dist/574.js +1 -1
  7. package/dist/757.js +1 -1
  8. package/dist/788.js +1 -1
  9. package/dist/807.js +1 -1
  10. package/dist/833.js +1 -1
  11. package/dist/main.js +1 -1
  12. package/dist/main.js.map +1 -1
  13. package/dist/openmrs-esm-stock-management-app.js.buildmanifest.json +30 -30
  14. package/dist/routes.json +1 -1
  15. package/package.json +5 -5
  16. package/src/core/api/types/stockOperation/StockOperationDTO.ts +0 -1
  17. package/src/stock-operations/add-stock-operation/add-stock-operation.component.tsx +13 -9
  18. package/src/stock-operations/add-stock-operation/add-stock-operation.utils.tsx +1 -4
  19. package/src/stock-operations/add-stock-operation/stock-operation-submission.component.tsx +17 -17
  20. package/src/stock-operations/stock-operations-dialog/stock-operations-complete-button.component.tsx +3 -2
  21. package/src/stock-operations/stock-operations-dialog/stock-operations-completed-dispatch-button.component.tsx +3 -2
  22. package/src/stock-operations/stock-operations-table.component.tsx +19 -65
  23. package/src/stock-sources/stock-sources-delete/stock-sources-delete.component.tsx +4 -3
  24. package/src/stock-sources/stock-sources-delete/stock-sources-delete.test.tsx +190 -0
  25. package/translations/am.json +1 -0
  26. package/translations/ar.json +1 -0
  27. package/translations/en.json +2 -1
  28. package/translations/es.json +1 -0
  29. package/translations/fr.json +1 -0
  30. package/translations/he.json +1 -0
  31. package/translations/km.json +1 -0
  32. package/translations/zh.json +1 -0
package/dist/271.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_stock_management_app=globalThis.webpackChunk_openmrs_esm_stock_management_app||[]).push([[271],{8271:e=>{e.exports=JSON.parse('{"abbreviation":"缩写","acronym":"首字母缩写/代码","action":"操作","actionFrequency":"通知频率(分钟)","actions":"操作","activeFrom":"开始生效","ActiveFrom":"开始生效","activeTo":"结束生效","addedRule":"添加规则","addedSource":"添加来源","addItem":"添加 stock item","addLocation":"创建新位置","addNewStock":"添加新","addNewStockRule":"添加新规则","addNewStockSource":"添加新来源","addNewUserRoleScope":"添加新用户角色范围","addStockItem":"添加库存项","addStockOperation":"添加库存操作","addStockUserRoleScope":"添加库存用户角色范围","addUserRole":"添加用户角色","adminSettings":"管理员设置","alertRole":"警报角色","all":"全部","approve":"批准","batch":"批次号","batchInformation":"批次信息","batchJob":"批处理任务","batchJobErrorMessage":"创建批处理任务时出错","BatchJobErrorTitle":"批处理任务","BatchJobSuccess":"批处理任务创建成功","batchNo":"批次号","batchNumber":"批次编号","by":"由","cancel":"取消","cancelled":"已取消","category":"类别","checkFilters":"检查上面的过滤器","childLocations":"子位置","chooseACategory":"选择一个类别","chooseADestination":"选择一个目的地","chooseAlertRole":"选择一个警报角色","chooseALocation":"选择位置","chooseAnItem":"选择一个项目","chooseAPackagingUoM":"选择包装单位","chooseAReason":"选择一个理由","chooseARole":"包括子位置","chooseASource":"选择来源","chooseLocation":"选择位置","chooseMailRole":"选择邮件角色","chooseQuantityUnit":"选择数量单位","chooseSourceType":"选择来源类型","chooseVendor":"选择供应商","code":"代码","comingSoonUnderDev":"令人兴奋的更新即将到来!与此同时,请使用下面的链接访问管理员界面设置。","commonName":"通用名称","complete":"完成发货","completed":"已完成","continue":"继续","created":"已创建","createLocation":"创建位置","date":"日期","dateCompleted":"完成日期","dateCreated":"创建日期","dateRequested":"请求日期","defaultStockOperationsPackagingUnit":"默认库存作业包装单位","defaultStockOperationsUoMName":"大宗包装","delete":"删除","deleteConfirmationText":"您确定要删除此用户范围吗?此操作无法撤销。","deletePackagingUnitMesaage":"库存项包装单位删除成功","deletePackagingUnitTitle":"删除库存项引用","deletePackingUnitErrorTitle":"删除库存项包装单位时出错","deleteRule":"删除规则","deleteRuleConfirmationText":"您确定要删除此库存规则吗?此操作无法撤销。","deleteSource":"删除来源","deleteStock":"删除库存来源","deleteStockItemReferenceMesaage":"库存项引用删除成功","deleteStockItemReferenceTitle":"删除库存项引用时出错","deleteStockRule":"删除库存规则","deleteStockUserScope":"删除库存用户范围","deleteUserScope":"删除用户范围","deletingRule":"删除规则","deletingSource":"删除来源","deletingstockUserScope":"删除库存用户范围","dispatch":"发货","dispatched":"已发货","dispensingUnit":"分配单位","dispensingUnitHolder":"选择一个分配单位","dispensingUnitName":"分配单位","dispensingUnitOfMeasurement":"分配包装单位的计量单位:","displayInventoryReport":"stockmanagement.report.edit.inventorygroupby","displayMaxReorderReport":"stockmanagement.report.edit.maxreorderlevelratio","displayMostLeastMovingReport":"stockmanagement.report.edit.mostleastmoving","displayReportDate":"stockmanagement.report.edit.date","displayStockDestinationReport":"stockmanagement.report.edit.stocksourcedestination","displayStockReport":"stockmanagement.report.edit.stocksource","disposedstock":"处理库存","doesThisTransactionRequireApproval":"该交易是否需要批准?","drug":"药品","editFullfillmentReport":"stockmanagement.report.edit.fullfillment","editItem":"编辑{{name}}","editOperationTitle":"编辑{{operationType}}","editStockItem":"编辑库存项","editStockOperation":"编辑库存操作","editStockRule":"编辑库存规则","editUserScope":"编辑用户范围","enabled":"启用?","endDate":"结束日期","error":"错误","errorAddingRule":"添加规则时出错","errorAddingSource":"添加来源时出错","errorAddingStockItem":"添加库存项时出错","errorCreatingForm":"创建位置时出错","errorDeletingRule":"删除规则时出错","errorDeletingSource":"删除来源时出错","errorDeletingUserScope":"删除用户范围时出错","errorEditingStockItem":"编辑库存项时出错","errorLoadingStockOperation":"加载库存项时出错","errorSavingBaseOperation":"保存基本操作时出错","errorSavingForm":"保存表单时出错","errorSavingUserRoleScope":"保存用户角色范围时出错","errorStockMetric":"获取股票指标时出错","errorUploadingItems":"上传库存商品时出错","evaluationFrequency":"评估频率(分钟)","expirationNotice":"到期通知(天)","expired":"已过期","expires":"到期","expiringStock":"即将过期的库存","expiry":"过期","expiryNoticeDays":"到期通知(天)","filter":"过滤器 ...","filterByLocation":"按位置过滤","formCreated":"添加位置","from":"来自","fullFulfillment":"完全履行","fullName":"全名","genericName":"通用名称","goBack":"返回","hasExpiration":"商品是否过期?","highestServiceVolume":"缺货","home":"主页","import":"导入","importStockItems":"导入库存商品","in6Months":"6 个月内","includeChildLocations":"包括子位置","inventory Alerts":"库存提醒","inventoryAlertNull":"无库存警报可显示","inventoryBy":"库存依据","issueStock":"库存发行","issuing":"发行","issuingNull":"无发行可显示","item":"商品","itemAlreadyExists":"商品已存在","itemsAboveMax":"大于最大值的项目","itemsBelowMin":"小于最小值的项目","itemType":"商品类型","leastMoving":"移动最少","limit":"限制","loading":"正在加载...","loadingData":"正在加载数据...","location":"位置","locationAndBatchno":"位置和批次","locationAndStockItem":"位置和库存项目","locationCreatedSuccessfully":"位置 {{locationName}} 已成功创建。","locationPlaceholder":"添加位置","locations":"位置","mailRole":"邮件角色","manageStock":"管理库存","mostMoving":"移动最多","name":"名称","newOperationTitle":"新建:{{operationName}}","newReport":"新报告","next":"下一个","no":"否","noData":"无数据可显示","noItemsToDisplay":"无库存项目可显示","noneFulfillment":"无履行","noOperationsToDisplay":"没有要显示的库存用户范围","noPrivilagesTitle":"","noReportsToDisplay":"没有要显示的库存报告","noRulesToDisplay":"没有要显示的库存规则","noSourcesToDisplay":"没有要显示的库存来源","noStockItemsToDisplay":"没有要显示的库存项目","notes":"请解释原因:","notSet":"未设置","noViewPrivilegesDescription":"说明:{{description}}","number":"编号","operationDate":"操作日期","operationModalTitle":"{{title}} 手术","operationSuccessful":"您已成功 {{title}} 手术","operationSuccessTitle":"{{title}} 手术","orderLevel":"重新订购级别:","other":"其他","outofstock":"缺货","packagingUnit":"包装单位","packagingUnits":"包装单位","packSize":"包装尺寸","panelDescription":"要访问库存管理功能,用户必须已分配指定位置和库存操作类型范围的角色。","parameters":"参数","partialFulfillment":"部分履行","patients":"患者","permanent":"永久?","pleaseFillField":"{{message}}","pleaseSpecify":"请指定","poorquality":"质量差","print":"打印","providersAvailableToday":"已处置库存","purchasePrice":"购买价格","purchasePricePackagingUnit":"购买价格包装单位:","quantities":"数量","quantity":"数量阈值","quantityIssued":"发行数量","quantityReceived":"收到数量","quantityRequested":"请求数量","quantitySent":"发送数量","quantityUnit":"数量单位","quantityUoM":"数量计量单位(UoM)","rank":"排名","reason":"原因","reasonLabel":"请说明原因:","reasonPlaceholder":"在此输入原因","receivedItems":"收到的物品","receivedNull":"未收到要显示的","receivedView":"查看全部","receiving":"接收","references":"参考","reject":"拒绝","rejected":"已拒绝","rejectOrder":"已上传订单","remarks":"Remarks","removePackagingUnit":"移除包装单位","removePackagingUnitConfirmation":":","reorderLevel":"重新订购级别","reorderLevelPackagingUnit":"Reorder level packaging unit","report":"报告","ReportDescription":"用户请求的报告列表","reportName":"报告","requested":"Requested","requestedBy":"请求者","responsiblePerson":"负责人","return":"退货","returned":"已退货","role":"角色","roleDescription":"该角色仅适用于选定的库存操作。","save":"保存","savePackagingUnitErrorMessage":"保存包装单元时出错","savePackagingUnitErrorTitle":"包装单元","savePackingUnitMessage":"包装单元保存成功","savePackingUnitTitle":"包装单元","saveReferenceTitle":"库存商品参考","saveStockItemReferenceErrorTitle":"库存商品参考","saveStockItemReferenceMessage":"库存商品参考保存成功","searchThisList":"搜索此列表","SelectOption":"选择一个选项","selectTags":"选择标签","source":"来源","sourceType":"来源类型","startDate":"开始日期","started":"已开始","status":"状态","stockItem":"库存商品","stockItemAdded":"库存商品已成功添加","stockItemCategory":"库存商品类别","stockItemDetails":"库存商品详情","stockItemEdited":"库存商品已成功编辑","stockItems":"库存商品","stockManagement":"库存管理","stockOperation":"库存操作","stockOperationAdded":"库存操作已成功添加","stockOperationEdited":"库存操作已成功编辑","stockOperationErrorDescription":"细节: {{message}}","stockOperationErrorTitle":"保存表单时出错","stockOperations":"库存操作","stockOperationTrackMovement":"用于跟踪库存变动的库存操作。","stockRuleAddedSuccessfully":"库存规则已成功添加","stockRuleDeletedSuccessfully":"库存规则已成功删除","stockRules":"规则","stocks":"即将过期的库存","stockSourceAddedSuccessfully":"库存源已成功添加","stockSourceDeletedSuccessfully":"库存源已成功删除","stockUserScopeDeletedSuccessfully":"库存用户范围已成功删除","submit":"提交","submitted":"已提交","successfullysaved":"您已成功保存用户角色范围","SuccessfullyUploadedStockItem":"您已成功上传库存商品","tabletOverlay":"平板电脑覆盖","tags":"标签","toggleMessage":"使用切换","tradeName":"贸易名称","transactions":"交易","type":"类型","updatePackagingUnitErrorMessage":"更新包裹单元 {{name}} 时出错","updatePackagingUnitErrorTitle":"包裹单元","updatePackingUnitMessage":"包裹单元 {{ name }} 已成功更新","updatePackingUnitTitle":"包裹单元","uploadStockItems":"上传库存商品","user":"用户","view":"查看","whoIsThePreferredVendor":"谁是首选供应商?","yes":"是"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_stock_management_app=globalThis.webpackChunk_openmrs_esm_stock_management_app||[]).push([[271],{8271:e=>{e.exports=JSON.parse('{"abbreviation":"缩写","acronym":"首字母缩写/代码","action":"操作","actionFrequency":"通知频率(分钟)","actions":"操作","activeFrom":"开始生效","ActiveFrom":"开始生效","activeTo":"结束生效","addedRule":"添加规则","addedSource":"添加来源","addItem":"添加 stock item","addLocation":"创建新位置","addNewStock":"添加新","addNewStockRule":"添加新规则","addNewStockSource":"添加新来源","addNewUserRoleScope":"添加新用户角色范围","addStockItem":"添加库存项","addStockOperation":"添加库存操作","addStockUserRoleScope":"添加库存用户角色范围","addUserRole":"添加用户角色","adminSettings":"管理员设置","alertRole":"警报角色","all":"全部","approve":"批准","batch":"批次号","batchInformation":"批次信息","batchJob":"批处理任务","batchJobErrorMessage":"创建批处理任务时出错","BatchJobErrorTitle":"批处理任务","BatchJobSuccess":"批处理任务创建成功","batchNo":"批次号","batchNumber":"批次编号","by":"由","cancel":"取消","cancelled":"已取消","category":"类别","checkFilters":"检查上面的过滤器","childLocations":"子位置","chooseACategory":"选择一个类别","chooseADestination":"选择一个目的地","chooseAlertRole":"选择一个警报角色","chooseALocation":"选择位置","chooseAnItem":"选择一个项目","chooseAPackagingUoM":"选择包装单位","chooseAReason":"选择一个理由","chooseARole":"包括子位置","chooseASource":"选择来源","chooseLocation":"选择位置","chooseMailRole":"选择邮件角色","chooseQuantityUnit":"选择数量单位","chooseSourceType":"选择来源类型","chooseVendor":"选择供应商","code":"代码","comingSoonUnderDev":"令人兴奋的更新即将到来!与此同时,请使用下面的链接访问管理员界面设置。","commonName":"通用名称","complete":"完成发货","completed":"已完成","continue":"继续","created":"已创建","createLocation":"创建位置","date":"日期","dateCompleted":"完成日期","dateCreated":"创建日期","dateRequested":"请求日期","defaultStockOperationsPackagingUnit":"默认库存作业包装单位","defaultStockOperationsUoMName":"大宗包装","delete":"删除","deleteConfirmationText":"您确定要删除此用户范围吗?此操作无法撤销。","deletePackagingUnitMesaage":"库存项包装单位删除成功","deletePackagingUnitTitle":"删除库存项引用","deletePackingUnitErrorTitle":"删除库存项包装单位时出错","deleteRule":"删除规则","deleteRuleConfirmationText":"您确定要删除此库存规则吗?此操作无法撤销。","deleteSource":"删除来源","deleteStock":"删除库存来源","deleteStockItemReferenceMesaage":"库存项引用删除成功","deleteStockItemReferenceTitle":"删除库存项引用时出错","deleteStockRule":"删除库存规则","deleteStockUserScope":"删除库存用户范围","deleteUserScope":"删除用户范围","deletingRule":"删除规则","deletingSource":"删除来源","deletingstockUserScope":"删除库存用户范围","dispatch":"发货","dispatched":"已发货","dispensingUnit":"分配单位","dispensingUnitHolder":"选择一个分配单位","dispensingUnitName":"分配单位","dispensingUnitOfMeasurement":"分配包装单位的计量单位:","displayInventoryReport":"stockmanagement.report.edit.inventorygroupby","displayMaxReorderReport":"stockmanagement.report.edit.maxreorderlevelratio","displayMostLeastMovingReport":"stockmanagement.report.edit.mostleastmoving","displayReportDate":"stockmanagement.report.edit.date","displayStockDestinationReport":"stockmanagement.report.edit.stocksourcedestination","displayStockReport":"stockmanagement.report.edit.stocksource","disposedstock":"处理库存","doesThisTransactionRequireApproval":"该交易是否需要批准?","drug":"药品","editFullfillmentReport":"stockmanagement.report.edit.fullfillment","editItem":"编辑{{name}}","editOperationTitle":"编辑{{operationType}}","editStockItem":"编辑库存项","editStockOperation":"编辑库存操作","editStockRule":"编辑库存规则","editUserScope":"编辑用户范围","enabled":"启用?","endDate":"结束日期","error":"错误","errorAddingRule":"添加规则时出错","errorAddingSource":"添加来源时出错","errorAddingStockItem":"添加库存项时出错","errorCreatingForm":"创建位置时出错","errorDeletingRule":"删除规则时出错","errorDeletingSource":"删除来源时出错","errorDeletingUserScope":"删除用户范围时出错","errorEditingStockItem":"编辑库存项时出错","errorLoadingStockOperation":"加载库存项时出错","errorSavingBaseOperation":"保存基本操作时出错","errorSavingForm":"保存表单时出错","errorSavingUserRoleScope":"保存用户角色范围时出错","errorStockMetric":"获取股票指标时出错","errorUploadingItems":"上传库存商品时出错","evaluationFrequency":"评估频率(分钟)","expirationNotice":"到期通知(天)","expired":"已过期","expires":"到期","expiringStock":"即将过期的库存","expiry":"过期","expiryNoticeDays":"到期通知(天)","filter":"过滤器 ...","filterByLocation":"按位置过滤","formCreated":"添加位置","from":"来自","fullFulfillment":"完全履行","fullName":"全名","genericName":"通用名称","goBack":"返回","hasExpiration":"商品是否过期?","highestServiceVolume":"缺货","home":"主页","import":"导入","importStockItems":"导入库存商品","in6Months":"6 个月内","includeChildLocations":"包括子位置","inventory Alerts":"库存提醒","inventoryAlertNull":"无库存警报可显示","inventoryBy":"库存依据","issueStock":"库存发行","issuing":"发行","issuingNull":"无发行可显示","item":"商品","itemAlreadyExists":"商品已存在","itemsAboveMax":"大于最大值的项目","itemsBelowMin":"小于最小值的项目","itemType":"商品类型","leastMoving":"移动最少","limit":"限制","loading":"正在加载...","loadingData":"正在加载数据...","location":"位置","locationAndBatchno":"位置和批次","locationAndStockItem":"位置和库存项目","locationCreatedSuccessfully":"位置 {{locationName}} 已成功创建。","locationPlaceholder":"添加位置","locations":"位置","mailRole":"邮件角色","manageStock":"管理库存","mostMoving":"移动最多","name":"名称","newOperationTitle":"新建:{{operationName}}","newReport":"新报告","next":"下一个","no":"否","noData":"无数据可显示","noItemsToDisplay":"无库存项目可显示","noneFulfillment":"无履行","noOperationsToDisplay":"没有要显示的库存用户范围","noPrivilagesTitle":"","noReportsToDisplay":"没有要显示的库存报告","noRulesToDisplay":"没有要显示的库存规则","noSourcesToDisplay":"没有要显示的库存来源","noStockItemsToDisplay":"没有要显示的库存项目","notes":"请解释原因:","notSet":"未设置","noViewPrivilegesDescription":"说明:{{description}}","number":"编号","operationDate":"操作日期","operationModalTitle":"{{title}} 手术","operationSuccessful":"您已成功 {{title}} 手术","operationSuccessTitle":"{{title}} 手术","orderLevel":"重新订购级别:","other":"其他","outofstock":"缺货","packagingUnit":"包装单位","packagingUnits":"包装单位","packSize":"包装尺寸","panelDescription":"要访问库存管理功能,用户必须已分配指定位置和库存操作类型范围的角色。","parameters":"参数","partialFulfillment":"部分履行","patients":"患者","permanent":"永久?","pleaseFillField":"{{message}}","pleaseSpecify":"请指定","poorquality":"质量差","print":"打印","providersAvailableToday":"已处置库存","purchasePrice":"购买价格","purchasePricePackagingUnit":"购买价格包装单位:","quantities":"数量","quantity":"数量阈值","quantityIssued":"发行数量","quantityReceived":"收到数量","quantityRequested":"请求数量","quantitySent":"发送数量","quantityUnit":"数量单位","quantityUoM":"数量计量单位(UoM)","rank":"排名","reason":"原因","reasonLabel":"请说明原因:","reasonPlaceholder":"在此输入原因","receivedItems":"收到的物品","receivedNull":"未收到要显示的","receivedView":"查看全部","receiving":"接收","references":"参考","reject":"拒绝","rejected":"已拒绝","rejectOrder":"已上传订单","remarks":"Remarks","removePackagingUnit":"移除包装单位","removePackagingUnitConfirmation":":","reorderLevel":"重新订购级别","reorderLevelPackagingUnit":"Reorder level packaging unit","report":"报告","ReportDescription":"用户请求的报告列表","reportName":"报告","requested":"Requested","requestedBy":"请求者","responsiblePerson":"负责人","return":"退货","returned":"已退货","role":"角色","roleDescription":"该角色仅适用于选定的库存操作。","save":"保存","savePackagingUnitErrorMessage":"保存包装单元时出错","savePackagingUnitErrorTitle":"包装单元","savePackingUnitMessage":"包装单元保存成功","savePackingUnitTitle":"包装单元","saveReferenceTitle":"库存商品参考","saveStockItemReferenceErrorTitle":"库存商品参考","saveStockItemReferenceMessage":"库存商品参考保存成功","searchThisList":"搜索此列表","SelectOption":"选择一个选项","selectTags":"选择标签","source":"来源","sourceType":"来源类型","startDate":"开始日期","started":"已开始","status":"状态","stockItem":"库存商品","stockItemAdded":"库存商品已成功添加","stockItemCategory":"库存商品类别","stockItemDetails":"库存商品详情","stockItemEdited":"库存商品已成功编辑","stockItems":"库存商品","stockManagement":"库存管理","stockOperation":"库存操作","stockOperationAdded":"库存操作已成功添加","stockOperationEdited":"库存操作已成功编辑","stockOperationErrorDescription":"细节: {{message}}","stockOperationErrorTitle":"保存表单时出错","stockOperations":"库存操作","stockOperationTrackMovement":"用于跟踪库存变动的库存操作。","stockRuleAddedSuccessfully":"库存规则已成功添加","stockRuleDeletedSuccessfully":"库存规则已成功删除","stockRules":"规则","stocks":"即将过期的库存","stockSourceAddedSuccessfully":"库存源已成功添加","stockSourceDeletedSuccessfully":"库存源已成功删除","stockUserScopeDeletedSuccessfully":"库存用户范围已成功删除","submit":"提交","submitForReview":"Submit For Review","submitted":"已提交","successfullysaved":"您已成功保存用户角色范围","SuccessfullyUploadedStockItem":"您已成功上传库存商品","tabletOverlay":"平板电脑覆盖","tags":"标签","toggleMessage":"使用切换","tradeName":"贸易名称","transactions":"交易","type":"类型","updatePackagingUnitErrorMessage":"更新包裹单元 {{name}} 时出错","updatePackagingUnitErrorTitle":"包裹单元","updatePackingUnitMessage":"包裹单元 {{ name }} 已成功更新","updatePackingUnitTitle":"包裹单元","uploadStockItems":"上传库存商品","user":"用户","view":"查看","whoIsThePreferredVendor":"谁是首选供应商?","yes":"是"}')}}]);