Browse Source

报表看板管理所有报表页面添加重新打开按钮,封装开发及调用

dev_web_online
安虹睿 2 years ago
parent
commit
ee4bec5b4c
  1. 21
      fe/PC/src/views/activeReportManage/reportForm/InventoryAgingSegmentSummary.vue
  2. 21
      fe/PC/src/views/activeReportManage/reportForm/InventoryBookDetail.vue
  3. 21
      fe/PC/src/views/activeReportManage/reportForm/InventoryBookSummary.vue
  4. 21
      fe/PC/src/views/activeReportManage/reportForm/InventoryBookSummaryLocation.vue
  5. 21
      fe/PC/src/views/activeReportManage/reportForm/InventoryDetailReport.vue
  6. 21
      fe/PC/src/views/activeReportManage/reportForm/UnplannedDeliverSummary.vue
  7. 20
      fe/PC/src/views/activeReportManage/reportForm/completionReceiptSummary.vue
  8. 21
      fe/PC/src/views/activeReportManage/reportForm/finishedProductDeliverySummary.vue
  9. 21
      fe/PC/src/views/activeReportManage/reportForm/inventoryBalanceReport.vue
  10. 37
      fe/PC/src/views/activeReportManage/reportForm/inventoryBalanceReportLocationCode.vue
  11. 37
      fe/PC/src/views/activeReportManage/reportForm/inventoryBalanceReportLocationErpCode.vue
  12. 21
      fe/PC/src/views/activeReportManage/reportForm/inventoryReport.vue
  13. 21
      fe/PC/src/views/activeReportManage/reportForm/inventorySummary.vue
  14. 13
      fe/PC/src/views/activeReportManage/reportForm/inventoryTransactions.vue
  15. 27
      fe/PC/src/views/activeReportManage/reportForm/popUpPage/index.vue
  16. 21
      fe/PC/src/views/activeReportManage/reportForm/productionIssuanceSummary.vue
  17. 21
      fe/PC/src/views/activeReportManage/reportForm/productionReturnSummary.vue
  18. 21
      fe/PC/src/views/activeReportManage/reportForm/purchaseReceiptSummary.vue
  19. 21
      fe/PC/src/views/activeReportManage/reportForm/purchaseReturnSummaryReport.vue
  20. 21
      fe/PC/src/views/activeReportManage/reportForm/purchaseSum.vue
  21. 14
      fe/PC/src/views/activeReportManage/reportForm/safetyStockReport.vue
  22. 21
      fe/PC/src/views/activeReportManage/reportForm/scrapDetails.vue
  23. 21
      fe/PC/src/views/activeReportManage/reportForm/unplannedReceiptSummary.vue

21
fe/PC/src/views/activeReportManage/reportForm/InventoryAgingSegmentSummary.vue

@ -1,24 +1,21 @@
<template>
<!-- 库存账龄分段汇总表 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"InventoryAgingSegmentSummary",
// data() {
// return {
// url:reportsAddress.InventoryAgingSegmentSummary,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.InventoryAgingSegmentSummary)
methods:{
openHandle(){
createNewTabs(reportsAddress.InventoryAgingSegmentSummary)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/InventoryBookDetail.vue

@ -1,24 +1,21 @@
<template>
<!-- 库存流水帐明细 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"InventoryBookDetail",
// data() {
// return {
// url:reportsAddress.InventoryBookDetail,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.InventoryBookDetail)
methods:{
openHandle(){
createNewTabs(reportsAddress.InventoryBookDetail)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/InventoryBookSummary.vue

@ -1,24 +1,21 @@
<template>
<!-- 库存流水帐汇总 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"InventoryBookSummary",
// data() {
// return {
// url:reportsAddress.InventoryBookSummary,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.InventoryBookSummary)
methods:{
openHandle(){
createNewTabs(reportsAddress.InventoryBookSummary)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/InventoryBookSummaryLocation.vue

@ -1,24 +1,21 @@
<template>
<!-- 库存流水帐汇总(库位) -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"InventoryBookSummaryLocation",
// data() {
// return {
// url: reportsAddress.InventoryBookSummaryLocation,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.InventoryBookSummaryLocation)
methods:{
openHandle(){
createNewTabs(reportsAddress.InventoryBookSummaryLocation)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/InventoryDetailReport.vue

@ -1,24 +1,21 @@
<template>
<!-- 库存账龄明细 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"InventoryDetailReport",
// data() {
// return {
// url:reportsAddress.Inventory_Detail,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.Inventory_Detail)
methods:{
openHandle(){
createNewTabs(reportsAddress.Inventory_Detail)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/UnplannedDeliverSummary.vue

@ -1,24 +1,21 @@
<template>
<!-- 计划外出库汇总 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"UnplannedDeliverSummary",
// data() {
// return {
// url:reportsAddress.UnplannedDeliverSummary,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.UnplannedDeliverSummary)
methods:{
openHandle(){
createNewTabs(reportsAddress.UnplannedDeliverSummary)
}
}
}
</script>

20
fe/PC/src/views/activeReportManage/reportForm/completionReceiptSummary.vue

@ -1,24 +1,28 @@
<template>
<!-- 完工收货汇总表 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<!-- <iframe :src="url" class="fullPageIframe"></iframe> -->
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"completionReceiptSummary",
// data() {
// return {
// url: reportsAddress.CompletionReceiptSummary,
// }
// },
components:{popUpPage},
data() {
return {
// url: reportsAddress.CompletionReceiptSummary,
url:null
}
},
activated () {
createNewTabs(reportsAddress.CompletionReceiptSummary)
created () {
this.openHandle()
},
methods:{
openHandle(){
createNewTabs(reportsAddress.CompletionReceiptSummary)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/finishedProductDeliverySummary.vue

@ -1,24 +1,21 @@
<template>
<!-- 成品发货汇总表 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"finishedProductDeliverySummary",
// data() {
// return {
// url:reportsAddress.FinishedProductDeliverySummary,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.FinishedProductDeliverySummary)
methods:{
openHandle(){
createNewTabs(reportsAddress.FinishedProductDeliverySummary)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/inventoryBalanceReport.vue

@ -1,24 +1,21 @@
<template>
<!-- 库存余额报表 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"inventoryBalanceReport",
// data() {
// return {
// url:reportsAddress.InventoryBlanace,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.InventoryBlanace)
methods:{
openHandle(){
createNewTabs(reportsAddress.InventoryBlanace)
}
}
}
</script>

37
fe/PC/src/views/activeReportManage/reportForm/inventoryBalanceReportLocationCode.vue

@ -1,24 +1,21 @@
<template>
<!-- 库存余额报表按库位 -->
<iframe :src="url" class="fullPageIframe"></iframe>
</template>
<script>
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"inventoryBalanceReportLocationCode",
// data() {
// return {
// url:reportsAddress.InventoryBlanace,
// }
// },
data() {
return {
url:null
}
},
activated () {
<!-- 库存余额报表按库位 -->
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"inventoryBalanceReportLocationCode",
components:{popUpPage},
created () {
this.openHandle()
},
methods:{
openHandle(){
createNewTabs(reportsAddress.inventoryBalanceReportLocationCode)
}
}
</script>
}
</script>

37
fe/PC/src/views/activeReportManage/reportForm/inventoryBalanceReportLocationErpCode.vue

@ -1,24 +1,21 @@
<template>
<!-- 库存余额报表按ERP库位 -->
<iframe :src="url" class="fullPageIframe"></iframe>
</template>
<script>
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"inventoryBalanceReportLocationErpCode",
// data() {
// return {
// url:reportsAddress.InventoryBlanace,
// }
// },
data() {
return {
url:null
}
},
activated () {
<!-- 库存余额报表按ERP库位 -->
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"inventoryBalanceReportLocationErpCode",
components:{popUpPage},
created () {
this.openHandle()
},
methods:{
openHandle(){
createNewTabs(reportsAddress.inventoryBalanceReportLocationErpCode)
}
}
</script>
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/inventoryReport.vue

@ -1,24 +1,21 @@
<template>
<!-- 库存单据明细报表 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"inventoryReport",
// data() {
// return {
// url:reportsAddress.InventoryAccountingPeriodDetails,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.InventoryAccountingPeriodDetails)
methods:{
openHandle(){
createNewTabs(reportsAddress.InventoryAccountingPeriodDetails)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/inventorySummary.vue

@ -1,24 +1,21 @@
<template>
<!-- 盘点记录汇总表 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"inventorySummary",
// data() {
// return {
// url:reportsAddress.InventorySummary,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.InventorySummary)
methods:{
openHandle(){
createNewTabs(reportsAddress.InventorySummary)
}
}
}
</script>

13
fe/PC/src/views/activeReportManage/reportForm/inventoryTransactions.vue

@ -1,13 +0,0 @@
<template>
<!-- 库存事务 暂不使用-->
<iframe :src="url" class="fullPageIframe"></iframe>
</template>
<script>
export default {
data() {
return {
url:"http://10.74.150.81:9528/#/reports/202205311631455213.rdlx",
}
},
}
</script>

27
fe/PC/src/views/activeReportManage/reportForm/popUpPage/index.vue

@ -0,0 +1,27 @@
<template>
<div class="popUpPage">
<span class="tipper">该页面已在外部弹出</span>
<el-button @click="openHandle" type="primary">重新打开</el-button>
</div>
</template>
<script>
export default {
name:"popUpPage",
props:{
openHandle: {
type: Function,
default: null
},
},
}
</script>
<style lang="scss">
.popUpPage{
width: 100%;
text-align: center;
padding-top: 20%;
.tipper{
padding-right: 20px;
}
}
</style>

21
fe/PC/src/views/activeReportManage/reportForm/productionIssuanceSummary.vue

@ -1,24 +1,21 @@
<template>
<!-- 生产发料汇总表 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"productionIssuanceSummary",
// data() {
// return {
// url:reportsAddress.ProductionIssueSummary_dy,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.ProductionIssueSummary_dy)
methods:{
openHandle(){
createNewTabs(reportsAddress.ProductionIssueSummary_dy)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/productionReturnSummary.vue

@ -1,24 +1,21 @@
<template>
<!-- 生产退料汇总表 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"productionReturnSummary",
// data() {
// return {
// url:reportsAddress.ProductionReturnSummary,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.ProductionReturnSummary)
methods:{
openHandle(){
createNewTabs(reportsAddress.ProductionReturnSummary)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/purchaseReceiptSummary.vue

@ -1,24 +1,21 @@
<template>
<!-- 采购收货汇总表 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"purchaseReceiptSummary",
// data() {
// return {
// url:reportsAddress.PurchaseReceiptSummary,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.PurchaseReceiptSummary)
methods:{
openHandle(){
createNewTabs(reportsAddress.PurchaseReceiptSummary)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/purchaseReturnSummaryReport.vue

@ -1,24 +1,21 @@
<template>
<!-- 采购退货汇总 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"purchaseReturnSummaryReport",
// data() {
// return {
// url:reportsAddress.PurchaseReturnSummary,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.PurchaseReturnSummary)
methods:{
openHandle(){
createNewTabs(reportsAddress.PurchaseReturnSummary)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/purchaseSum.vue

@ -1,24 +1,21 @@
<template>
<!-- 订单汇总查询 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"purchaseSum",
// data() {
// return {
// url:reportsAddress.PurchaseSum,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.PurchaseSum)
methods:{
openHandle(){
createNewTabs(reportsAddress.PurchaseSum)
}
}
}
</script>

14
fe/PC/src/views/activeReportManage/reportForm/safetyStockReport.vue

@ -1,14 +0,0 @@
<template>
<!-- 安全库存报表 -->
<iframe :src="url" class="fullPageIframe"></iframe>
</template>
<script>
export default {
name:"safetyStockReport",
data() {
return {
url:"http://10.74.150.81:9528/#/reports/202205311631455213.rdlx",
}
},
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/scrapDetails.vue

@ -1,24 +1,21 @@
<template>
<!-- 报废明细表 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"scrapDetails",
// data() {
// return {
// url:reportsAddress.Scrap_Detail,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.Scrap_Detail)
methods:{
openHandle(){
createNewTabs(reportsAddress.Scrap_Detail)
}
}
}
</script>

21
fe/PC/src/views/activeReportManage/reportForm/unplannedReceiptSummary.vue

@ -1,24 +1,21 @@
<template>
<!-- 计划外入库汇总 -->
<iframe :src="url" class="fullPageIframe"></iframe>
<popUpPage :openHandle="openHandle"></popUpPage>
</template>
<script>
import popUpPage from "./popUpPage/index"
import { reportsAddress } from "@/filters/excelOrReportsOption";
import { createNewTabs } from '@/utils/index'
export default {
name:"unplannedReceiptSummary",
// data() {
// return {
// url:reportsAddress.UnPlannedReceiptSummary,
// }
// },
data() {
return {
url:null
}
components:{popUpPage},
created () {
this.openHandle()
},
activated () {
createNewTabs(reportsAddress.UnPlannedReceiptSummary)
methods:{
openHandle(){
createNewTabs(reportsAddress.UnPlannedReceiptSummary)
}
}
}
</script>
Loading…
Cancel
Save