|
|
@ -1,6 +1,7 @@ |
|
|
|
<!--未知总成管理页--> |
|
|
|
<template> |
|
|
|
<div class="cr-body-content"> |
|
|
|
<div ref="box"> |
|
|
|
<flexbox class="content-header"> |
|
|
|
<el-form |
|
|
|
:model="listQuery" |
|
|
@ -167,6 +168,7 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</flexbox> |
|
|
|
</div> |
|
|
|
<div class="l-table"> |
|
|
|
<!--表格渲染--> |
|
|
|
<el-table |
|
|
@ -254,6 +256,7 @@ |
|
|
|
></Detail> |
|
|
|
</div> |
|
|
|
</el-drawer> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!--添加总成--> |
|
|
|
<el-dialog |
|
|
@ -395,7 +398,6 @@ |
|
|
|
<el-button type="text" @click="dialogNumVisible = false">取消</el-button> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
@ -562,11 +564,12 @@ export default { |
|
|
|
}; |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
var self = this; |
|
|
|
window.onresize = function () { |
|
|
|
var offsetHei = document.documentElement.clientHeight; |
|
|
|
self.tableHeight = offsetHei - 220; |
|
|
|
}; |
|
|
|
this.$nextTick(() => { |
|
|
|
var offsetHei = document.documentElement.clientHeight; |
|
|
|
//console.log(offsetHei); |
|
|
|
let boxH = this.$refs.box.offsetHeight; |
|
|
|
this.tableHeight = offsetHei - boxH - 57 - 79;//57为footer高度,79为页面上部标签高度 |
|
|
|
}); |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.getvehicleModel(); |
|
|
@ -741,7 +744,7 @@ export default { |
|
|
|
handleDownload() { |
|
|
|
this.listLoading = true; |
|
|
|
this.$axios |
|
|
|
.gets("/api/newjit/unknown-assembly/export", this.listQuery) |
|
|
|
.posts("/api/newjit/unknown-assembly/export", this.listQuery) |
|
|
|
.then((res) => { |
|
|
|
let filename = res; |
|
|
|
this.$axios |
|
|
@ -856,6 +859,7 @@ export default { |
|
|
|
.gets("/api/newjit/unknown-assembly/list", this.listQuery) |
|
|
|
.then((response) => { |
|
|
|
this.list = response.items; |
|
|
|
this.totalCount = response.totalCount; |
|
|
|
setTimeout(() => { |
|
|
|
//大数据量加载时 |
|
|
|
this.listLoading = false; |
|
|
@ -1026,7 +1030,7 @@ export default { |
|
|
|
.gets( |
|
|
|
"/api/newjit/unknown-assembly/"+this.listUnknownAssemblyQuery.billId |
|
|
|
).then((response) => { |
|
|
|
this.data2 = response.item.unknownAssemblyParts; |
|
|
|
this.data2 = response.item.unknownAssemblyParts.filter(u => u.partType === "1" || u.partType === null); |
|
|
|
setTimeout(() => { |
|
|
|
//大数据量加载时 |
|
|
|
this.listLoading = false; |
|
|
|