创建备料单
This commit is contained in:
@@ -103,6 +103,9 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
exportTable() {
|
exportTable() {
|
||||||
|
if (this.tableData2.length === 0) {
|
||||||
|
this.$message.warning('暂无数据')
|
||||||
|
} else {
|
||||||
const htmlNode = $('#BL').html()
|
const htmlNode = $('#BL').html()
|
||||||
const body = $('body')
|
const body = $('body')
|
||||||
body.children().hide()
|
body.children().hide()
|
||||||
@@ -111,6 +114,7 @@ export default {
|
|||||||
window.print()
|
window.print()
|
||||||
body.children().not('script').show()
|
body.children().not('script').show()
|
||||||
printNode.remove()
|
printNode.remove()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 查询表格数据
|
// 查询表格数据
|
||||||
searchTable() {
|
searchTable() {
|
||||||
|
|||||||
Reference in New Issue
Block a user