|
@@ -733,16 +733,15 @@ export default {
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|
|
cancelButtonText: "取消",
|
|
cancelButtonText: "取消",
|
|
customClass: "text",
|
|
customClass: "text",
|
|
- })
|
|
|
|
- .then(() => {
|
|
|
|
- if (this.tableSelection[0].printNum) {
|
|
|
|
- this.dialogForm.createMan = JSON.parse(
|
|
|
|
- localStorage.getItem("supply_user")
|
|
|
|
- ).nickName;
|
|
|
|
- this.dialogForm.createDate = this.getDate();
|
|
|
|
- this.isShowDialog = true;
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ }).then(() => {
|
|
|
|
+ if (this.tableSelection[0].printNum) {
|
|
|
|
+ this.dialogForm.createMan = JSON.parse(
|
|
|
|
+ localStorage.getItem("supply_user")
|
|
|
|
+ ).nickName;
|
|
|
|
+ this.dialogForm.createDate = this.getDate();
|
|
|
|
+ this.isShowDialog = true;
|
|
|
|
+ }
|
|
|
|
+ });
|
|
} else {
|
|
} else {
|
|
this.getDateil(this.tableSelection, "getDtailPrintDis");
|
|
this.getDateil(this.tableSelection, "getDtailPrintDis");
|
|
this.$refs.preView.show(this.hiprintTemplate, this.outputData);
|
|
this.$refs.preView.show(this.hiprintTemplate, this.outputData);
|
|
@@ -765,9 +764,9 @@ export default {
|
|
};
|
|
};
|
|
checkPassword(params).then((res) => {
|
|
checkPassword(params).then((res) => {
|
|
this.cancelDialogForm();
|
|
this.cancelDialogForm();
|
|
- this.getDateil(this.tableSelection, "getDtailPrintDis");
|
|
|
|
- this.$refs.preView.show(this.hiprintTemplate, this.outputData);
|
|
|
|
});
|
|
});
|
|
|
|
+ this.getDateil(this.tableSelection, "getDtailPrintDis");
|
|
|
|
+ this.$refs.preView.show(this.hiprintTemplate, this.outputData);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|