|
@@ -59,7 +59,7 @@ export default {
|
|
|
{
|
|
|
name: '打印发货单',
|
|
|
click: () => {
|
|
|
- if (!this.tableSelection.length) {
|
|
|
+ if (!this.recordSelected.length) {
|
|
|
this.$message.info('请选择数据!')
|
|
|
return
|
|
|
}
|
|
@@ -323,7 +323,7 @@ export default {
|
|
|
hiprint.init()
|
|
|
this.hiprintTemplate = new hiprint.PrintTemplate()
|
|
|
// 兼容批量打印
|
|
|
- let params = !type ? this.tableSelection : [row.id]
|
|
|
+ let params = !type ? this.recordSelected : [row.id]
|
|
|
let len = params.length
|
|
|
let loadingLen = len
|
|
|
// 使用 i-- 提升for效率
|
|
@@ -424,7 +424,7 @@ export default {
|
|
|
</table>
|
|
|
</div>
|
|
|
<div style="margin:100px 0 0 0">
|
|
|
- <div>打印</div>
|
|
|
+ <div></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
`
|