|
|
@ -29,6 +29,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 头部右侧按钮模块 --> |
|
|
|
<!-- 头部右侧按钮模块 --> |
|
|
|
<div class="avue-crud__right"> |
|
|
|
<div class="avue-crud__right"> |
|
|
|
|
|
|
|
<el-button icon="Download" @click="handleExportData" circle></el-button> |
|
|
|
<el-button icon="el-icon-refresh" @click="searchChangeS" circle></el-button> |
|
|
|
<el-button icon="el-icon-refresh" @click="searchChangeS" circle></el-button> |
|
|
|
<el-button icon="Operation" @click="showdrawer(true)" circle></el-button> |
|
|
|
<el-button icon="Operation" @click="showdrawer(true)" circle></el-button> |
|
|
|
<el-button icon="Search" @click="searchHide" circle></el-button> |
|
|
|
<el-button icon="Search" @click="searchHide" circle></el-button> |
|
|
@ -419,6 +420,7 @@ import { |
|
|
|
import DeleteWarningDialog from '@/components/popupnotification/popupnotification.vue'; |
|
|
|
import DeleteWarningDialog from '@/components/popupnotification/popupnotification.vue'; |
|
|
|
import { useStore } from 'vuex'; |
|
|
|
import { useStore } from 'vuex'; |
|
|
|
import dayjs from 'dayjs'; |
|
|
|
import dayjs from 'dayjs'; |
|
|
|
|
|
|
|
import { exportExcel } from '@/utils/exportData'; |
|
|
|
const $router = useRouter(); //跳转 |
|
|
|
const $router = useRouter(); //跳转 |
|
|
|
const $useStore = useStore(); //权限 |
|
|
|
const $useStore = useStore(); //权限 |
|
|
|
const $route = useRoute(); //获取地址栏参数 |
|
|
|
const $route = useRoute(); //获取地址栏参数 |
|
|
@ -1344,6 +1346,11 @@ const Inventorysynchronization = row => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch(() => {}); |
|
|
|
.catch(() => {}); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** 导出表格数据 */ |
|
|
|
|
|
|
|
const handleExportData = () => { |
|
|
|
|
|
|
|
exportExcel(details.columnList, details.data, '预入库车次 - ' + new Date().getTime()); |
|
|
|
|
|
|
|
}; |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
|
<style scoped lang="scss"> |
|
|
|