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