Browse Source

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

dev_web_online
安虹睿 2 years ago
parent
commit
ee4bec5b4c
  1. 19
      fe/PC/src/views/activeReportManage/reportForm/InventoryAgingSegmentSummary.vue
  2. 19
      fe/PC/src/views/activeReportManage/reportForm/InventoryBookDetail.vue
  3. 19
      fe/PC/src/views/activeReportManage/reportForm/InventoryBookSummary.vue
  4. 19
      fe/PC/src/views/activeReportManage/reportForm/InventoryBookSummaryLocation.vue
  5. 19
      fe/PC/src/views/activeReportManage/reportForm/InventoryDetailReport.vue
  6. 19
      fe/PC/src/views/activeReportManage/reportForm/UnplannedDeliverSummary.vue
  7. 18
      fe/PC/src/views/activeReportManage/reportForm/completionReceiptSummary.vue
  8. 19
      fe/PC/src/views/activeReportManage/reportForm/finishedProductDeliverySummary.vue
  9. 19
      fe/PC/src/views/activeReportManage/reportForm/inventoryBalanceReport.vue
  10. 31
      fe/PC/src/views/activeReportManage/reportForm/inventoryBalanceReportLocationCode.vue
  11. 31
      fe/PC/src/views/activeReportManage/reportForm/inventoryBalanceReportLocationErpCode.vue
  12. 19
      fe/PC/src/views/activeReportManage/reportForm/inventoryReport.vue
  13. 19
      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. 19
      fe/PC/src/views/activeReportManage/reportForm/productionIssuanceSummary.vue
  17. 19
      fe/PC/src/views/activeReportManage/reportForm/productionReturnSummary.vue
  18. 19
      fe/PC/src/views/activeReportManage/reportForm/purchaseReceiptSummary.vue
  19. 19
      fe/PC/src/views/activeReportManage/reportForm/purchaseReturnSummaryReport.vue
  20. 19
      fe/PC/src/views/activeReportManage/reportForm/purchaseSum.vue
  21. 14
      fe/PC/src/views/activeReportManage/reportForm/safetyStockReport.vue
  22. 19
      fe/PC/src/views/activeReportManage/reportForm/scrapDetails.vue
  23. 19
      fe/PC/src/views/activeReportManage/reportForm/unplannedReceiptSummary.vue

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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