|
|
@ -41,8 +41,12 @@ |
|
|
|
@searchTableSuccessDetail="searchTableSuccessDetail" /> |
|
|
|
|
|
|
|
<!-- 导入 --> |
|
|
|
<ImportForm ref="importFormRef" url="/wms/purchase-main/import" :importTemplateData="importTemplateData" |
|
|
|
@success="importSuccess" :isShowOut="true" :updateIsDisable="true" :coverIsDisable="true" :mode="2" /> |
|
|
|
<ImportForm |
|
|
|
ref="importFormRef" |
|
|
|
url="/eam/countJobDetail/import" |
|
|
|
:importTemplateData="importTemplateData" |
|
|
|
@success="importSuccess" |
|
|
|
/> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
@ -157,8 +161,9 @@ |
|
|
|
const butttondata = (row) => { |
|
|
|
return [ |
|
|
|
defaultButtons.mainExport(null),// 导出 |
|
|
|
defaultButtons.mainListEditBtn(null), // 编辑 |
|
|
|
defaultButtons.mainListDeleteBtn(null), // 删除 |
|
|
|
defaultButtons.mainAdjustImport(null),// 导入 |
|
|
|
// defaultButtons.mainListEditBtn(null), // 编辑 |
|
|
|
// defaultButtons.mainListDeleteBtn(null), // 删除 |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
@ -171,6 +176,9 @@ |
|
|
|
else if (val == 'mainExport') { // 导出 |
|
|
|
handleMainExport(row.id) |
|
|
|
} |
|
|
|
else if (val == 'mainAdjustImport') { // 导入 |
|
|
|
handleImport() |
|
|
|
} |
|
|
|
else if (val == 'mainOrderClo') { // 关闭 |
|
|
|
handleClose(row.id) |
|
|
|
} |
|
|
|