|
@@ -36,10 +36,16 @@
|
|
|
:searchConfig="searchConfigTwo"
|
|
|
highlight-current-row
|
|
|
:action-list="[
|
|
|
- // {
|
|
|
- // text: '出库登记',
|
|
|
- // action: () => clickModal(),
|
|
|
- // },
|
|
|
+ status
|
|
|
+ ? {
|
|
|
+ text: '出库登记',
|
|
|
+ action: () => clickModal(),
|
|
|
+ }
|
|
|
+ : {},
|
|
|
+ {
|
|
|
+ text: '导出Excel',
|
|
|
+ action: () => deriveExcel(),
|
|
|
+ },
|
|
|
]"
|
|
|
@get-list="getListTwo"
|
|
|
@clickReset="clickResetTwo">
|
|
@@ -402,6 +408,11 @@ const clickModal = () => {
|
|
|
},
|
|
|
});
|
|
|
};
|
|
|
+const deriveExcel = () => {
|
|
|
+ proxy.postFile("/inOutStorageBom/exportExcel", sourceList.value.pagination).then((res) => {
|
|
|
+ proxy.downloadFile(res, "出库明细.xlsx");
|
|
|
+ });
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|