|
@@ -159,10 +159,12 @@ export default {
|
|
|
},
|
|
|
|
|
|
getPaperNum() {
|
|
|
+ this.$loading.show("正在获取打印机纸张数量信息");
|
|
|
let form = {
|
|
|
- machineId: JSON.parse(sessionStorage.getItem("MACHINE_INFO")).id,
|
|
|
+ machineId: JSON.parse(sessionStorage.getItem("MACHINE_INFO") || "{}").id || "",
|
|
|
};
|
|
|
syPageNum(form).then((res) => {
|
|
|
+ this.$loading.hide()
|
|
|
if (res.code == 200) {
|
|
|
this.getYyzz();
|
|
|
} else {
|