|
@@ -569,16 +569,16 @@ export default {
|
|
|
// 点击打印
|
|
|
toPrint() {
|
|
|
|
|
|
- // if (!this.isAllEqual(this.tableSelection)) {
|
|
|
- // return this.$errorMsg("只能选择同一个提货订单");
|
|
|
- // }
|
|
|
+ if (!this.isAllEqual(this.tableSelection)) {
|
|
|
+ return this.$errorMsg("只能选择同一个提货订单");
|
|
|
+ }
|
|
|
|
|
|
if (!this.tableSelection[0].printNum) {
|
|
|
this.queryItem = this.tableSelection;
|
|
|
console.log(this.tableSelection);
|
|
|
getDetails(this.tableSelection)
|
|
|
this.$refs.preView.show(this.hiprintTemplate, detailArr)
|
|
|
- } else {
|
|
|
+ } else {
|
|
|
this.queryItem = this.tableSelection;
|
|
|
this.dialogForm.createMan = JSON.parse(
|
|
|
localStorage.getItem("supply_user")
|