创建备料单

This commit is contained in:
zhangdingyu
2019-01-07 09:31:38 +08:00
parent 9dc3d8f448
commit ec13e61f74

View File

@@ -103,6 +103,9 @@ export default {
},
methods: {
exportTable() {
if (this.tableData2.length === 0) {
this.$message.warning('暂无数据')
} else {
const htmlNode = $('#BL').html()
const body = $('body')
body.children().hide()
@@ -111,6 +114,7 @@ export default {
window.print()
body.children().not('script').show()
printNode.remove()
}
},
// 查询表格数据
searchTable() {