|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <basic-container v-if="show" class="page-crad">
|
|
|
+ <basic-container v-show="show" class="page-crad">
|
|
|
<avue-crud
|
|
|
ref="crud"
|
|
|
:option="option"
|
|
@@ -60,10 +60,7 @@
|
|
|
</el-date-picker>
|
|
|
</template>
|
|
|
<template slot="corpIdSearch">
|
|
|
- <select-component
|
|
|
- v-model="search.corpId"
|
|
|
- :configuration="configuration"
|
|
|
- ></select-component>
|
|
|
+ <crop-select v-model="search.corpId" corpType="KH"></crop-select>
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="corpId">
|
|
|
{{ scope.row.corpsName }}
|
|
@@ -86,13 +83,13 @@
|
|
|
</template>
|
|
|
</avue-crud>
|
|
|
</basic-container>
|
|
|
- <detail-page @goBack="goBack" :detailData="detailData" v-else></detail-page>
|
|
|
+ <detail-page @goBack="goBack" :detailData="detailData" v-if="!show"></detail-page>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import option from "./config/mainList.json";
|
|
|
-import { getList, remove,gainUser } from "@/api/exportTrade/receipt";
|
|
|
+import { getList, remove, gainUser } from "@/api/exportTrade/receipt";
|
|
|
import detailPage from "./detailsPage.vue";
|
|
|
import { micrometerFormat } from "@/util/validate";
|
|
|
import { defaultDate } from "@/util/date";
|
|
@@ -119,7 +116,7 @@ export default {
|
|
|
pageSize: 10,
|
|
|
currentPage: 1,
|
|
|
total: 0,
|
|
|
- pageSizes:[10,50,100,200,300,400,500]
|
|
|
+ pageSizes: [10, 50, 100, 200, 300, 400, 500]
|
|
|
},
|
|
|
show: true,
|
|
|
detailData: {},
|
|
@@ -245,6 +242,7 @@ export default {
|
|
|
}
|
|
|
this.show = true;
|
|
|
this.$store.commit("REC_OUT_DETAIL");
|
|
|
+ this.onLoad(this.page, this.search);
|
|
|
},
|
|
|
summaryMethod({ columns, data }) {
|
|
|
const sums = [];
|