|
|
@ -75,7 +75,8 @@ |
|
|
|
<!-- 导入 --> |
|
|
|
<ImportDetailForm |
|
|
|
ref="importFormRef" |
|
|
|
url="/wms/count-job-main/import" |
|
|
|
:dialogTitle="importTitle" |
|
|
|
:url="importUrl" |
|
|
|
:importTemplateData="importTemplateData" |
|
|
|
@success="importSuccess" |
|
|
|
:updateIsDisable="true" |
|
|
@ -237,6 +238,15 @@ const butttondata = (row, $index) => { |
|
|
|
link: true, //文本展现按钮 |
|
|
|
hasPermi: '' // wms:count-job-main:importCountJob |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '线边盘点', |
|
|
|
name: 'lineTypeImport', |
|
|
|
hide: false,//row.isLineType!=true, |
|
|
|
type: 'success', |
|
|
|
color: '', |
|
|
|
link: true, //文本展现按钮 |
|
|
|
hasPermi: '' // wms:count-job-main:lineTypeImport |
|
|
|
}, |
|
|
|
defaultButtons.mainListJobAbaBtn({ hide: isShowMainButton(row, ['2']) }), // 放弃 |
|
|
|
{ |
|
|
|
label: '完成', |
|
|
@ -250,7 +260,8 @@ const butttondata = (row, $index) => { |
|
|
|
// defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), // 执行 |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
|
const importTitle = ref('导入') |
|
|
|
const importUrl = ref('/wms/count-job-main/import') |
|
|
|
// 列表-操作按钮事件 |
|
|
|
const buttonTableClick = async (val, row) => { |
|
|
|
if (val == 'mainJobExe') { |
|
|
@ -284,6 +295,13 @@ const buttonTableClick = async (val, row) => { |
|
|
|
handleExportCountJob(row.id, row.number) |
|
|
|
} else if (val == 'importCountJob') { |
|
|
|
// 导入 |
|
|
|
importUrl.value = "/wms/count-job-main/import" |
|
|
|
importTitle.value = '导入' |
|
|
|
handleImport(row.id) |
|
|
|
} else if (val == 'lineTypeImport') { |
|
|
|
// 线边盘点 |
|
|
|
importUrl.value = "/wms/count-job-main/lineTypeImport" |
|
|
|
importTitle.value = '线边盘点' |
|
|
|
handleImport(row.id) |
|
|
|
} else if (val == 'done') { |
|
|
|
// 完成 |
|
|
|