|
@@ -24,7 +24,7 @@
|
|
|
<el-button
|
|
|
size="small"
|
|
|
type="primary"
|
|
|
- icon="el-icon-add"
|
|
|
+ icon="el-icon-plus"
|
|
|
@click.stop="newAdd()"
|
|
|
>创建单据</el-button>
|
|
|
</template>
|
|
@@ -111,6 +111,7 @@ export default {
|
|
|
this.option.searchMenuSpan = num * 8;
|
|
|
this.option.searchMenuPosition = "right";
|
|
|
}
|
|
|
+ this.option.height = window.innerHeight - 240;
|
|
|
},
|
|
|
methods: {
|
|
|
searchCriteriaSwitch(type) {
|
|
@@ -146,10 +147,10 @@ export default {
|
|
|
getList(queryParams).then(res => {
|
|
|
this.dataList = res.data.data.records;
|
|
|
this.page.total = res.data.data.total;
|
|
|
- this.option.height = window.innerHeight - 240;
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.crud.doLayout()
|
|
|
})
|
|
|
+ this.option.height = window.innerHeight - 240;
|
|
|
}).finally(() => {
|
|
|
this.loading = false;
|
|
|
})
|