|
|
@ -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', |
|
|
|