|
@@ -1124,8 +1124,10 @@ export default {
|
|
|
this.queryItem = this.tableSelection;
|
|
|
if (!this.tableSelection[0].printNum) {
|
|
|
this.queryItem = this.tableSelection;
|
|
|
- this.getDateil(this.tableSelection, "getDeliverDetail");
|
|
|
- this.$refs.preView.show(this.hiprintTemplate, this.outputData);
|
|
|
+ this.getDateil(this.tableSelection, "getDeliverDetail").then(res=>{
|
|
|
+ this.$endLoading()
|
|
|
+ this.$refs.preView.show(this.hiprintTemplate, this.outputData);
|
|
|
+ });
|
|
|
} else {
|
|
|
this.queryItem = this.tableSelection;
|
|
|
this.dialogForm.createMan = JSON.parse(
|
|
@@ -1151,9 +1153,13 @@ export default {
|
|
|
password: this.dialogForm.password,
|
|
|
};
|
|
|
checkPassword(params).then((res) => {
|
|
|
+ this.getDateil(this.tableSelection, "getDeliverDetail").then(res=>{
|
|
|
+ this.$endLoading()
|
|
|
+ this.$refs.preView.show(this.hiprintTemplate, this.outputData);
|
|
|
+
|
|
|
+ });
|
|
|
this.cancelDialogForm();
|
|
|
- this.getDateil(this.tableSelection, "getDeliverDetail");
|
|
|
- this.$refs.preView.show(this.hiprintTemplate, this.outputData);
|
|
|
+
|
|
|
});
|
|
|
}
|
|
|
});
|