From 75f31dd978012506ba7fe7ca3d469c0bc0874a95 Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Mon, 6 May 2024 15:01:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/en-US.ts | 152 ++++++++++++++++++++++-- src/locales/zh-CN.ts | 76 ++++++++++-- src/utils/disposition/defaultButtons.ts | 132 ++++++++++---------- 3 files changed, 276 insertions(+), 84 deletions(-) diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index a9cac12c6..def6ac63f 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -668,13 +668,149 @@ export default { 价格:'Price', 订单日期:'Order Date', 行号:'Line Number', - 操作:'Operations', + 操作:'Operation', 计量单位:'Measuring Unit', - // ------ - // 客户代码:'Customer Code', - - }, - btn:{ + 人民币:'RMB', + 美元:'Dollar', + 版本号:'Version Number', + 发布时间:'Publish Time', + 开始时间:'Start Time', + 结束时间:'Finish Time', + 业务类型:'Business Type', + 预测时间类型:'Forecast time type', + 预测日期:'Forecast Date', + 订单行:'Order Line', + 计划数量:'Planned Quantity', + 最后更新时间:'Last update time', + 最后更新者:'Last Updater', + 要货计划:'Demand plan', + 申请单号:'Request number', + 从仓库代码:'Code from the repository', + 到仓库代码:'to the repository code', + 到月台代码:'to the dock code', + 时间窗口:'Time window', + 计划到货时间:'Scheduled arrival time', + 承运商:'Carriers', + 运输方式:'Shipping method', + 车牌号:'License plate number', + 出库事务类型:'The type of outbound transaction', + 入库事务类型:'Inbound transaction type', + 执行时间:'Execution time', + 申请时间:'Application timeline', + 截止时间:'Deadline', + 部门:'department', + 接口类型:'Interface type', + 包装号:'Package number', + 订单号:'Order number', + 订单数量:'Order quantity', + 数量:'quantity', + 包装数量:'Packing quantity', + 供应商计量数量:'The quantity measured by the supplier', + 供应商:'vendor', + 从库位代码:'From the location code', + 到库位代码:'to the location code', + 从库位组代码:'From the bin location group code', + 到库位组代码:'to the bin location group code', + 从库区代码:'Code from the depot', + 到库区代码:'to the depot code', + 从货主代码:'Code from the shipper', + 到货主代码:'Shipper code', + 查看其他包装规格:'See other packaging formats', + 包装规格:'Packing specifications', + 单据打印:'Document printing', + 明细列表:'Itemized list', + 暂无数据:'No data yet', + 供应商发货申请:'supplier Shipping Request', + 查询字段:'Query Field', + 供应商批次:'Measuring UnitSupplier batchDate of production', + 生产日期:'Production Date', + 发货数量:'Number of shipments', + 主数据:'Primary data', + 要货计划单号:'Cargo Plan Bill Number', + 联系人姓名:'Contact name', + 联系人电话:'Contact phone', + 联系人电子邮件:'Contact email', + 供应商发货仓库代码:'Supplier shipments Repository code', + 运输方式车牌号:'Shipping method License plate number', + 自动提交:'Auto-submit', + 自动通过:'Automatically passed', + 自动执行:'Automated', + 直接生成记录:'Generate records directly', + 明细:'Details', + 批次:'Batch', + 生产日期:'Date of manufacture', + 到货日期:'Arrival date', + 过期日期:'Expiration date', + 供应商计量单位 :'Supplier unit of measure', + 转换率:'Conversion rate', + 物料名称:'Material Name', + 物料描述1:'Material Description1', + 物料描述2:'Material Description2', + 项目代码:'Item Code', + 质检明细:'Quality inspection details', + 添加附件:'Add Attachment', + 请输入备注:'Please enter a comment', + 变更记录:'Changelog', + 添加明细:'Add details', + 上传质量报告:'Upload quality report', + 上传质检报告:'Upload the quality inspection report', + 供应商批次:'Supplier lots', + 个:'piece', + 张:'sheet', + 克:'gram', + 公斤:'kg', + 吨:'ton', + 米:'rice', + 平方米:'square metre', + 生成标签:'Generate labels', + 创建标签:'Create a label', + 包装规格1:'Packing Specification 1', + 包装规格2:'Package Specification 2', + 包装数量1:'Package Quantity1', + 包装数量2:'Package Quantity2', + 物品包装信息:'Item packaging information', + 系统提示:'System prompts', + 是否为此数据生成标签:'Do you generate labels for this data?', + 是否处理所选中数据:'Do you process the selected data?', + 发货:'shipments', + 包装号:'Package number', + 标签信息:'Label information', + 采购收货记录:'Purchase receipt records', + 表单数据:'Form data', + 任务单号:'Task ticket number', + ERP单据号:'ERP document number', + 检验申请单号:'Inspection requisition number', + 采购订单号:'Purchase order number', + 物料名称:'The name of the item', + 数据来源:'Data source', + 从库区类型范围:'From the range of reservoir types', + 到库区类型范围:'to the depot type range', + 从库区代码范围:'From the range of depot codes', + 到库区代码范围:'to the range of codes in the reservoir', + 生效日期:'Effective Date', + 收货明细:'Receipt details', + 缺货明细:'Out-of-stock details', + 行类型:'Row type', + 收货数量:'The quantity received', + 到批次:'to the batch', + 从包装号:'From the package number', + 到包装号:'to the package number', + 库存状态:'Inventory status', + 从库位组:'From the bin location group', + 到库位组:'to the bin location group', + 从库区:'From the reservoir area', + 到库区:'to the reservoir area', + 从货主:'from the owner of the goods', + 到货主:'to the owner of the goods', + 采购退货记录:'Purchase return records', + 采购收货记录单号:'Purchase receipt record number', + qad采购退货记录单号:'QAD purchase return record number', + 从月台代码:'From the dock code', + 原因:'Cause', + 退货数量:'Number of returns', + 单位:'unit', + 金额:'amount', + 客户代码:'Customer Code', 查询:'Query', 重置:'Reset', 新增:'Add', @@ -685,15 +821,11 @@ export default { 设置:'Settings', 确定:'Confirm', 取消:'Cancel', - 操作:'Operations', 编辑:'Edit', 删除:'Delete', - 添加附件:'Add Attachment', 添加筛选条件:'Add Filter', - 关闭:'Close', 打开:'Open', 保存:'Save', - 发布:'Punblish', //-------- // 单据打印:'Document Print', // 上传质量报告:'Upload Quality Report', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 252664561..5d35358ca 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -675,9 +675,73 @@ export default { 行号:'行号', 操作:'操作', 计量单位:'计量单位', + 人民币:'人民币', + 美元:'美元', + 版本号:'版本号', + 发布时间:'发布时间', + 开始时间:'开始时间', + 结束时间:'结束时间', + 业务类型:'业务类型', + 预测时间类型:'预测时间类型', + 预测日期:'预测日期', + 订单行:'订单行', + 计划数量:'计划数量', + 最后更新时间:'最后更新时间', + 最后更新者:'最后更新者', + 要货计划:'要货计划', + 申请单号:'申请单号', + 从仓库代码:'从仓库代码', + 到仓库代码:'到仓库代码', + 到月台代码:'到月台代码', + 时间窗口:'时间窗口', + 计划到货时间:'计划到货时间', + 承运商:'承运商', + 运输方式:'运输方式', + 车牌号:'车牌号', + 出库事务类型:'出库事务类型', + 入库事务类型:'入库事务类型', + 执行时间:'执行时间', + 申请时间:'申请时间', + 截止时间:'截止时间', + 部门:'部门', + 接口类型:'接口类型', + 包装号:'包装号', + 订单号:'订单号', + 订单数量:'订单数量', + 数量:'数量', + 包装数量:'包装数量', + 供应商计量数量:'供应商计量数量', + 供应商:'供应商', - }, - btn:{ + 从库位代码:'从库位代码', + 到库位代码:'到库位代码', + 从库位组代码:'从库位组代码', + 到库位组代码:'到库位组代码', + 从库区代码:'从库区代码', + 到库区代码:'到库区代码', + 从货主代码:'从货主代码', + 到货主代码:'到货主代码', + 查看其他包装规格:'查看其他包装规格', + 包装规格:'包装规格', + 单据打印:'单据打印', + 明细列表:'明细列表', + 暂无数据:'暂无数据', + 供应商发货申请:'供应商发货申请', + 查询字段:'查询字段', + 供应商批次:'供应商批次', + 生产日期:'生产日期', + 发货数量:'发货数量', + 主数据:'主数据', + 要货计划单号:'要货计划单号', + 联系人姓名:'联系人姓名', + 联系人电话:'联系人电话', + 联系人电子邮件:'联系人电子邮件', + 供应商发货仓库代码:'供应商发货仓库代码', + 运输方式车牌号:'运输方式车牌号', + 自动提交:'自动提交', + 自动通过:'自动通过', + 自动执行:'自动执行', + 直接生成记录:'直接生成记录', 查询:'查询', 重置:'重置', 新增:'新增', @@ -688,15 +752,12 @@ export default { 设置:'设置', 确定:'确定', 取消:'取消', - 操作:'操作', 编辑:'编辑', 删除:'删除', 添加附件:'添加附件', 添加筛选条件:'添加筛选条件', - 关闭:'关闭', - 打开:'关闭', - 保存:'关闭', - 发布:'发布', + 打开:'打开', + 保存:'保存', ////// 启用:'启用', 禁用:'禁用', @@ -716,7 +777,6 @@ export default { 打印标签:'打印标签', 批量打印:'批量打印', 生成采购收货申请:'生成采购收货申请', - 单据打印:'单据打印', 发送到货检验申请:'发送到货检验申请', 生成采购上架申请:'生成采购上架申请', 生成盘点调整申请:'生成盘点调整申请', diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts index b17c3eb2d..164f2c295 100644 --- a/src/utils/disposition/defaultButtons.ts +++ b/src/utils/disposition/defaultButtons.ts @@ -9,7 +9,7 @@ const { t } = useI18n() // 新增按钮 export function defaultAddBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.新增`).replace('btn.', ''), + label: t(`ts.新增`).replace('ts.', ''), name: 'add', hide: false, type: 'primary', @@ -22,7 +22,7 @@ export function defaultAddBtn(option:any) { // 导入按钮 export function defaultImportBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.导入`).replace('btn.', ''), + label: t(`ts.导入`).replace('ts.', ''), name: 'import', hide: false, type: 'warning', @@ -35,7 +35,7 @@ export function defaultImportBtn(option:any) { // 导出按钮 export function defaultExportBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.导出`).replace('btn.', ''), + label: t(`ts.导出`).replace('ts.', ''), name: 'export', hide: false, type: 'success', @@ -79,7 +79,7 @@ export function defaultExportBtn(option:any) { // 刷新按钮 export function defaultFreshBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.刷新`).replace('btn.', ''), + label: t(`ts.刷新`).replace('ts.', ''), name: 'refresh', hide: false, type: 'primary', @@ -93,7 +93,7 @@ export function defaultFreshBtn(option:any) { // 重置按钮 export function defaultResetBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.重置`).replace('btn.', ''), + label: t(`ts.重置`).replace('ts.', ''), name: 'reset', hide: false, type: 'info', @@ -107,7 +107,7 @@ export function defaultResetBtn(option:any) { // 字段设置 export function defaultSetBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.设置`).replace('btn.', ''), + label: t(`ts.设置`).replace('ts.', ''), name: 'set', hide: false, type: 'info', @@ -121,7 +121,7 @@ export function defaultSetBtn(option:any) { // 筛选按钮 export function defaultFilterBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.筛选`).replace('btn.', ''), + label: t(`ts.筛选`).replace('ts.', ''), name: 'filtrate', hide: false, type: 'info', @@ -135,7 +135,7 @@ export function defaultFilterBtn(option:any) { // 筛选——查询按钮 export function defaultSearchBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.搜索`).replace('btn.', ''), + label: t(`ts.搜索`).replace('ts.', ''), name: 'search', hide: false, type: 'primary', @@ -149,7 +149,7 @@ export function defaultSearchBtn(option:any) { // 筛选——重置按钮 export function defaultSearchResetBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.重置`).replace('btn.', ''), + label: t(`ts.重置`).replace('ts.', ''), name: 'searchReset', hide: false, type: 'info', @@ -163,7 +163,7 @@ export function defaultSearchResetBtn(option:any) { // form表单-保存按钮 export function formSaveBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.保存`).replace('btn.', ''), + label: t(`ts.保存`).replace('ts.', ''), name: 'save', hide: false, type: 'primary', @@ -177,7 +177,7 @@ export function formSaveBtn(option:any) { // form表单-关闭按钮 export function formCloseBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.关闭`).replace('btn.', ''), + label: t(`ts.关闭`).replace('ts.', ''), name: 'close', hide: false, icon: 'ep:close', @@ -190,7 +190,7 @@ export function formCloseBtn(option:any) { // drawer抽屉头部-编辑按钮 export function drawerEditBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.编辑`).replace('btn.', ''), + label: t(`ts.编辑`).replace('ts.', ''), name: 'edit', hide: false, type: 'warning', @@ -203,7 +203,7 @@ export function drawerEditBtn(option:any) { // drawer抽屉头部-删除按钮 export function drawerDeleteBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.删除`).replace('btn.', ''), + label: t(`ts.删除`).replace('ts.', ''), name: 'delete', hide: false, type: 'danger', @@ -229,7 +229,7 @@ export function drawerDeleteBtn(option:any) { // 主列表-编辑按钮 export function mainListEditBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.编辑`).replace('btn.', ''), + label: t(`ts.编辑`).replace('ts.', ''), name: 'edit', hide: false, type: 'warning', @@ -242,7 +242,7 @@ export function mainListEditBtn(option:any) { // 主列表-删除按钮 export function mainListDeleteBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.删除`).replace('btn.', ''), + label: t(`ts.删除`).replace('ts.', ''), name: 'delete', hide: false, type: 'danger', @@ -253,7 +253,7 @@ export function mainListDeleteBtn(option:any) { } export function mainListEnableBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.启用`).replace('btn.', ''), + label: t(`ts.启用`).replace('ts.', ''), name: 'enable', hide: false, type: 'danger', @@ -264,7 +264,7 @@ export function mainListEnableBtn(option:any) { } export function mainListDisableBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.禁用`).replace('btn.', ''), + label: t(`ts.禁用`).replace('ts.', ''), name: 'disable', hide: false, type: 'danger', @@ -276,7 +276,7 @@ export function mainListDisableBtn(option:any) { // 主列表-中止按钮1 export function mainListSuspend1Btn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.中止`), + label: t(`ts.中止`), name: 'suspend', hide: false, type: 'danger', @@ -289,7 +289,7 @@ export function mainListSuspend1Btn(option:any) { // 主列表-中止按钮2 export function mainListSuspend2Btn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.中止`).replace('btn.', ''), + label: t(`ts.中止`).replace('ts.', ''), name: 'suspend', hide: false, type: 'danger', @@ -302,7 +302,7 @@ export function mainListSuspend2Btn(option:any) { // 主列表-领取按钮 export function mainListReceiveBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.领取`).replace('btn.', ''), + label: t(`ts.领取`).replace('ts.', ''), name: 'receive', hide: false, type: 'primary', @@ -315,7 +315,7 @@ export function mainListReceiveBtn(option:any) { // 主列表-完成按钮 export function mainListFinishBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.完成`).replace('btn.', ''), + label: t(`ts.完成`).replace('ts.', ''), name: 'finish', hide: false, type: 'primary', @@ -328,7 +328,7 @@ export function mainListFinishBtn(option:any) { // 主列表-绑定 export function mainListBindBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.绑定`).replace('btn.', ''), + label: t(`ts.绑定`).replace('ts.', ''), name: 'bind', hide: false, type: 'primary', @@ -340,7 +340,7 @@ export function mainListBindBtn(option:any) { // 主列表-申请流程-关闭按钮 export function mainListCloseBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.关闭`).replace('btn.', ''), + label: t(`ts.关闭`).replace('ts.', ''), name: 'mainClose', hide: false, type: 'danger', @@ -353,7 +353,7 @@ export function mainListCloseBtn(option:any) { // 主列表-申请流程-重新添加按钮 export function mainListReAddBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.重新添加`).replace('btn.', ''), + label: t(`ts.重新添加`).replace('ts.', ''), name: 'mainReAdd', hide: false, type: 'warning', @@ -366,7 +366,7 @@ export function mainListReAddBtn(option:any) { // 主列表-申请流程-提交审批按钮 export function mainListSubmitBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.提交审批`).replace('btn.', ''), + label: t(`ts.提交审批`).replace('ts.', ''), name: 'mainSubmit', hide: false, type: 'primary', @@ -379,7 +379,7 @@ export function mainListSubmitBtn(option:any) { // 主列表-申请流程-驳回按钮 export function mainListTurnDownBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.驳回`).replace('btn.', ''), + label: t(`ts.驳回`).replace('ts.', ''), name: 'mainTurnDown', hide: false, type: 'danger', @@ -392,7 +392,7 @@ export function mainListTurnDownBtn(option:any) { // 主列表-申请流程-审批通过按钮 export function mainListApproveBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.审批通过`).replace('btn.', ''), + label: t(`ts.审批通过`).replace('ts.', ''), name: 'mainApprove', hide: false, type: 'primary', @@ -405,7 +405,7 @@ export function mainListApproveBtn(option:any) { // 主列表-申请流程-处理按钮 export function mainListHandleBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.处理`).replace('btn.', ''), + label: t(`ts.处理`).replace('ts.', ''), name: 'mainHandle', hide: false, type: 'primary', @@ -418,7 +418,7 @@ export function mainListHandleBtn(option:any) { // 主列表-订单流程-发布按钮 export function mainListOrderPubBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.发布`).replace('btn.', ''), + label: t(`ts.发布`).replace('ts.', ''), name: 'mainOrderPub', hide: false, type: 'success', @@ -431,7 +431,7 @@ export function mainListOrderPubBtn(option:any) { // 主列表-订单流程-关闭按钮 export function mainListOrderCloBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.关闭`).replace('btn.', ''), + label: t(`ts.关闭`).replace('ts.', ''), name: 'mainOrderClo', hide: false, type: 'danger', @@ -444,7 +444,7 @@ export function mainListOrderCloBtn(option:any) { // 主列表-订单流程-打开按钮 export function mainListOrderOpeBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.打开`).replace('btn.', ''), + label: t(`ts.打开`).replace('ts.', ''), name: 'mainOrderOpe', hide: false, type: 'warning', @@ -457,7 +457,7 @@ export function mainListOrderOpeBtn(option:any) { // 主列表-订单流程-下架按钮 export function mainListOrderWitBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.下架`).replace('btn.', ''), + label: t(`ts.下架`).replace('ts.', ''), name: 'mainOrderWit', hide: false, type: 'danger', @@ -470,7 +470,7 @@ export function mainListOrderWitBtn(option:any) { // 主列表-计划流程-打开按钮 export function mainListPlanOpeBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.打开`).replace('btn.', ''), + label: t(`ts.打开`).replace('ts.', ''), name: 'mainPlanOpe', hide: false, type: 'warning', @@ -483,7 +483,7 @@ export function mainListPlanOpeBtn(option:any) { // 主列表-计划流程-关闭按钮 export function mainListPlanCloBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.关闭`).replace('btn.', ''), + label: t(`ts.关闭`).replace('ts.', ''), name: 'mainPlanClo', hide: false, type: 'danger', @@ -496,7 +496,7 @@ export function mainListPlanCloBtn(option:any) { // 主列表-上传质量报告 export function mainListPlanUploadQualityReportBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.上传质量报告`).replace('btn.', ''), + label: t(`ts.上传质量报告`).replace('ts.', ''), name: 'mainPlanUploadQualityReport', hide: false, type: 'primary', @@ -509,7 +509,7 @@ export function mainListPlanUploadQualityReportBtn(option:any) { // 主列表-计划流程-提交审批按钮 export function mainListPlanSubBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.提交审批`).replace('btn.', ''), + label: t(`ts.提交审批`).replace('ts.', ''), name: 'mainPlanSub', hide: false, type: 'primary', @@ -522,7 +522,7 @@ export function mainListPlanSubBtn(option:any) { // 主列表-计划流程-驳回按钮 export function mainListPlanTurBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.驳回`).replace('btn.', ''), + label: t(`ts.驳回`).replace('ts.', ''), name: 'mainPlanTur', hide: false, type: 'danger', @@ -535,7 +535,7 @@ export function mainListPlanTurBtn(option:any) { // 主列表-计划流程-重置按钮 export function mainListPlanResBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.重置`).replace('btn.', ''), + label: t(`ts.重置`).replace('ts.', ''), name: 'mainPlanRes', hide: false, type: 'danger', @@ -548,7 +548,7 @@ export function mainListPlanResBtn(option:any) { // 主列表-计划流程-审批通过按钮 export function mainListPlanAppBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.审批通过`).replace('btn.', ''), + label: t(`ts.审批通过`).replace('ts.', ''), name: 'mainPlanApp', hide: false, type: 'primary', @@ -561,7 +561,7 @@ export function mainListPlanAppBtn(option:any) { // 主列表-计划流程-发布按钮 export function mainListPlanPubBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.发布`).replace('btn.', ''), + label: t(`ts.发布`).replace('ts.', ''), name: 'mainPlanPub', hide: false, type: 'success', @@ -574,7 +574,7 @@ export function mainListPlanPubBtn(option:any) { // 主列表-计划流程-执行按钮 export function mainListPlanComBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.执行`).replace('btn.', ''), + label: t(`ts.执行`).replace('ts.', ''), name: 'mainPlanCom', hide: false, type: 'danger', @@ -587,7 +587,7 @@ export function mainListPlanComBtn(option:any) { // 主列表-要货计划流程-修改按钮 export function mainListPurchasePlanModBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.修改`).replace('btn.', ''), + label: t(`ts.修改`).replace('ts.', ''), name: 'mainPurPlanMod', hide: false, type: 'danger', @@ -600,7 +600,7 @@ export function mainListPurchasePlanModBtn(option:any) { // 主列表-要货计划流程-下架按钮 export function mainListPurchasePlanWitBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.下架`), + label: t(`ts.下架`), name: 'mainPurPlanWit', hide: false, type: 'danger', @@ -613,7 +613,7 @@ export function mainListPurchasePlanWitBtn(option:any) { // 主列表-要货计划流程-不接受按钮 export function mainListPurchasePlanRejBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.不接受`).replace('btn.', ''), + label: t(`ts.不接受`).replace('ts.', ''), name: 'mainPurPlanRej', hide: false, type: 'danger', @@ -626,7 +626,7 @@ export function mainListPurchasePlanRejBtn(option:any) { // 主列表-要货计划流程-接受按钮 export function mainListPurchasePlanAccBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.接受`).replace('btn.', ''), + label: t(`ts.接受`).replace('ts.', ''), name: 'mainPurPlanAcc', hide: false, type: 'primary', @@ -639,7 +639,7 @@ export function mainListPurchasePlanAccBtn(option:any) { // 主列表-要货计划流程-发布按钮 export function mainListPurchasePlanPubBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.发布`).replace('btn.', ''), + label: t(`ts.发布`).replace('ts.', ''), name: 'mainPurPlanPub', hide: false, type: 'success', @@ -652,7 +652,7 @@ export function mainListPurchasePlanPubBtn(option:any) { // 主列表-要货计划流程-关闭按钮 export function mainListPurchasePlanCloBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.关闭`).replace('btn.', ''), + label: t(`ts.关闭`).replace('ts.', ''), name: 'mainPurPlanClo', hide: false, type: 'danger', @@ -665,7 +665,7 @@ export function mainListPurchasePlanCloBtn(option:any) { // 主列表-要货计划流程-打开按钮 export function mainListPurchasePlanOpeBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.打开`).replace('btn.', ''), + label: t(`ts.打开`).replace('ts.', ''), name: 'mainPurPlanOpe', hide: false, type: 'warning', @@ -678,7 +678,7 @@ export function mainListPurchasePlanOpeBtn(option:any) { // 主列表-任务流程-承接按钮 export function mainListJobAccBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.承接`).replace('btn.', ''), + label: t(`ts.承接`).replace('ts.', ''), name: 'mainJobAcc', hide: false, type: 'success', @@ -691,7 +691,7 @@ export function mainListJobAccBtn(option:any) { // 主列表-任务流程-关闭按钮 export function mainListJobCloBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.关闭`).replace('btn.', ''), + label: t(`ts.关闭`).replace('ts.', ''), name: 'mainJobClo', hide: false, type: 'danger', @@ -704,7 +704,7 @@ export function mainListJobCloBtn(option:any) { // 主列表-任务流程-放弃按钮 export function mainListJobAbaBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.放弃`).replace('btn.', ''), + label: t(`ts.放弃`).replace('ts.', ''), name: 'mainJobAba', hide: false, type: 'danger', @@ -717,7 +717,7 @@ export function mainListJobAbaBtn(option:any) { // 主列表-任务流程-执行按钮 export function mainListJobExeBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.执行`).replace('btn.', ''), + label: t(`ts.执行`).replace('ts.', ''), name: 'mainJobExe', hide: false, type: 'primary', @@ -730,7 +730,7 @@ export function mainListJobExeBtn(option:any) { // 主列表-任务流程-执行按钮(与执行按钮一致 只是名改叫'收货'而已) export function mainListJobRecBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.收货`).replace('btn.', ''), + label: t(`ts.收货`).replace('ts.', ''), name: 'mainJobExe', hide: false, type: 'primary', @@ -742,7 +742,7 @@ export function mainListJobRecBtn(option:any) { // 主列表-包装按钮 export function mainListPackageBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.包装`).replace('btn.', ''), + label: t(`ts.包装`).replace('ts.', ''), name: 'mainPackage', hide: false, type: 'primary', @@ -754,7 +754,7 @@ export function mainListPackageBtn(option:any) { // 主列表-打印 export function mainListPointBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.打印标签`).replace('btn.', ''), + label: t(`ts.打印标签`).replace('ts.', ''), name: 'point', hide: false, type: 'primary', @@ -766,7 +766,7 @@ export function mainListPointBtn(option:any) { // 主列表-批量打印 export function mainLisSelectiontPointBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.批量打印`).replace('btn.', ''), + label: t(`ts.批量打印`).replace('ts.', ''), name: 'selection_point', hide: false, type: 'primary', @@ -779,7 +779,7 @@ export function mainLisSelectiontPointBtn(option:any) { // 主列表-生成采购收货申请 export function mainListGenerateApplicationBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.生成采购收货申请`).replace('btn.', ''), + label: t(`ts.生成采购收货申请`).replace('ts.', ''), name: 'generateApplication', hide: false, type: 'primary', @@ -791,7 +791,7 @@ export function mainListGenerateApplicationBtn(option:any) { // 主列表-打印 export function mainListDocumentPrintBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.单据打印`).replace('btn.', ''), + label: t(`ts.单据打印`).replace('ts.', ''), name: 'documentPrint', hide: false, type: 'primary', @@ -803,7 +803,7 @@ export function mainListDocumentPrintBtn(option:any) { // 主列表-生成到货检验申请 export function mainInspectRequestBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.发送到货检验申请`).replace('btn.', ''), + label: t(`ts.发送到货检验申请`).replace('ts.', ''), name: 'inspectRequest', hide: false, type: 'primary', @@ -815,7 +815,7 @@ export function mainInspectRequestBtn(option:any) { // 主列表-生成采购上架申请 export function mainPutawayRequestBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.生成采购上架申请`).replace('btn.', ''), + label: t(`ts.生成采购上架申请`).replace('ts.', ''), name: 'putawayRequest', hide: false, type: 'primary', @@ -827,7 +827,7 @@ export function mainPutawayRequestBtn(option:any) { // 主列表-生成盘点调整申请 export function mainCountAdjustRequesttBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.生成盘点调整申请`).replace('btn.', ''), + label: t(`ts.生成盘点调整申请`).replace('ts.', ''), name: 'countAdjustRequest', hide: false, type: 'primary', @@ -839,7 +839,7 @@ export function mainCountAdjustRequesttBtn(option:any) { // 主列表-重盘 export function mainReCountBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.重盘`).replace('btn.', ''), + label: t(`ts.重盘`).replace('ts.', ''), name: 'mainReCount', hide: false, type: 'primary', @@ -851,7 +851,7 @@ export function mainReCountBtn(option:any) { // 主列表-监盘 export function mainSuperviseCountBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.监盘`).replace('btn.', ''), + label: t(`ts.监盘`).replace('ts.', ''), name: 'mainSuperviseCount', hide: false, type: 'primary', @@ -863,7 +863,7 @@ export function mainSuperviseCountBtn(option:any) { // 主列表-解冻 export function mainThawRequesttBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.解冻`).replace('btn.', ''), + label: t(`ts.解冻`).replace('ts.', ''), name: 'mainThaw', hide: false, type: 'primary', @@ -875,7 +875,7 @@ export function mainThawRequesttBtn(option:any) { // 主列表-更新检验记录 export function mainUpdataRecodeBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.更新检验记录`).replace('btn.', ''), + label: t(`ts.更新检验记录`).replace('ts.', ''), name: 'updataRecode', hide: false, type: 'primary', @@ -887,7 +887,7 @@ export function mainUpdataRecodeBtn(option:any) { // 主列表-使用决策 export function mainApplyDecisionBtn(option:any) { return __defaultBtnOption(option,{ - label: t(`btn.使用决策`).replace('btn.', ''), + label: t(`ts.使用决策`).replace('ts.', ''), name: 'applyDecision', hide: false, type: 'primary',