Browse Source

【接口看板+job+sore+Inventory】反查主表按钮优化

master
安虹睿 1 year ago
parent
commit
1f6c4c9ae4
  1. 4
      PC/InterFace.Dash/src/components/filterForDetailPage/index.vue
  2. 40
      PC/UI.WinIn.FasterZ.Inventory/src/components/filterForDetailPage/index.vue
  3. 40
      PC/UI.WinIn.FasterZ.Job/src/components/filterForDetailPage/index.vue
  4. 4
      PC/UI.WinIn.FasterZ.Store/src/components/filterForDetailPage/index.vue

4
PC/InterFace.Dash/src/components/filterForDetailPage/index.vue

@ -56,9 +56,9 @@
>
<template slot-scope="scope">
<span v-for="item in operaButtons" style="margin: 0 10px;">
<!-- 查看主表信息 -->
<!-- 查看主表信息 如果配置中masterId的值为空则不显示-->
<el-button
v-if="item == 'showParent'"
v-if="item == 'showParent' && (scope.row[URLOption_masterId])"
type="text"
@click="showParentHandleForDetail(scope.row)"
>查看主表信息</el-button>

40
PC/UI.WinIn.FasterZ.Inventory/src/components/filterForDetailPage/index.vue

@ -1,5 +1,5 @@
<template>
<div class="filterForDetailPage" v-if="dialogShow">
<div class="filterForDetailPage" v-if="dialogShow">
<el-dialog
title="明细查询"
:visible.sync="dialogShow"
@ -56,9 +56,9 @@
>
<template slot-scope="scope">
<span v-for="item in operaButtons" style="margin: 0 10px;">
<!-- 查看主表信息 -->
<!-- 查看主表信息 如果配置中masterId的值为空则不显示-->
<el-button
v-if="item == 'showParent'"
v-if="item == 'showParent' && (scope.row[URLOption_masterId])"
type="text"
@click="showParentHandleForDetail(scope.row)"
>查看主表信息</el-button>
@ -119,17 +119,17 @@
<el-table-column property="address" label="地址"></el-table-column>
</el-table> -->
</el-dialog>
</div>
</template>
<script>
import currenDescriptions from "@/components/currenDescriptions"
import { tableMixins } from "@/mixins/TableMixins";
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { LoadingMixins } from "@/mixins/LoadingMixins";
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import {getListDesById,getPageListForDetail} from "@/api/wms-api"
export default {
</div>
</template>
<script>
import currenDescriptions from "@/components/currenDescriptions"
import { tableMixins } from "@/mixins/TableMixins";
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { LoadingMixins } from "@/mixins/LoadingMixins";
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import {getListDesById,getPageListForDetail} from "@/api/wms-api"
export default {
name: 'filterForDetailPage',
mixins: [
tableMixins,
@ -316,10 +316,10 @@ export default {
// })
},
}
}
</script>
<style lang="scss">
.filterForDetailPage {
}
</script>
<style lang="scss">
.filterForDetailPage {
.mainTable-dialog{
.el-dialog{
@ -334,5 +334,5 @@ export default {
.filterForDetailPage-list{
height: calc(100%);
overflow: auto;
}
</style>
}
</style>

40
PC/UI.WinIn.FasterZ.Job/src/components/filterForDetailPage/index.vue

@ -1,5 +1,5 @@
<template>
<div class="filterForDetailPage" v-if="dialogShow">
<div class="filterForDetailPage" v-if="dialogShow">
<el-dialog
title="明细查询"
:visible.sync="dialogShow"
@ -56,9 +56,9 @@
>
<template slot-scope="scope">
<span v-for="item in operaButtons" style="margin: 0 10px;">
<!-- 查看主表信息 -->
<!-- 查看主表信息 如果配置中masterId的值为空则不显示-->
<el-button
v-if="item == 'showParent'"
v-if="item == 'showParent' && (scope.row[URLOption_masterId])"
type="text"
@click="showParentHandleForDetail(scope.row)"
>查看主表信息</el-button>
@ -119,17 +119,17 @@
<el-table-column property="address" label="地址"></el-table-column>
</el-table> -->
</el-dialog>
</div>
</template>
<script>
import currenDescriptions from "@/components/currenDescriptions"
import { tableMixins } from "@/mixins/TableMixins";
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { LoadingMixins } from "@/mixins/LoadingMixins";
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import {getListDesById,getPageListForDetail} from "@/api/wms-api"
export default {
</div>
</template>
<script>
import currenDescriptions from "@/components/currenDescriptions"
import { tableMixins } from "@/mixins/TableMixins";
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { LoadingMixins } from "@/mixins/LoadingMixins";
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import {getListDesById,getPageListForDetail} from "@/api/wms-api"
export default {
name: 'filterForDetailPage',
mixins: [
tableMixins,
@ -316,10 +316,10 @@ export default {
// })
},
}
}
</script>
<style lang="scss">
.filterForDetailPage {
}
</script>
<style lang="scss">
.filterForDetailPage {
.mainTable-dialog{
.el-dialog{
@ -334,5 +334,5 @@ export default {
.filterForDetailPage-list{
height: calc(100%);
overflow: auto;
}
</style>
}
</style>

4
PC/UI.WinIn.FasterZ.Store/src/components/filterForDetailPage/index.vue

@ -56,9 +56,9 @@
>
<template slot-scope="scope">
<span v-for="item in operaButtons" style="margin: 0 10px;">
<!-- 查看主表信息 -->
<!-- 查看主表信息 如果配置中masterId的值为空则不显示-->
<el-button
v-if="item == 'showParent'"
v-if="item == 'showParent' && (scope.row[URLOption_masterId])"
type="text"
@click="showParentHandleForDetail(scope.row)"
>查看主表信息</el-button>

Loading…
Cancel
Save