From a5f2db040227a99224b72e7fe9cccf4be5287eb8 Mon Sep 17 00:00:00 2001 From: 44673626 <44673626@qq.com> Date: Tue, 21 Dec 2021 21:19:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=8F=AF=E7=94=A8=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/router/index.js | 8 ++++---- .../basedate/m100Online/normalPritIndex.vue | 17 +++++++++++++++-- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/vue/src/router/index.js b/vue/src/router/index.js index 39b06ed9..d5f65438 100644 --- a/vue/src/router/index.js +++ b/vue/src/router/index.js @@ -169,11 +169,11 @@ export const asyncRoutes = [ /** when your routing map is too long, you can split it into small modules **/ managerRouter,//系统首页 personRouter,//系统管理 - basedataRouter,//基础数据维护 - vwFisDataRouter,//结算与开票数据导入 - billdataRouter,//销售结算与开票报表 + //basedataRouter,//基础数据维护 + //vwFisDataRouter,//结算与开票数据导入 + //billdataRouter,//销售结算与开票报表 //businessdataRouter, - wheeldataRouter,//大众看板和备件 + //wheeldataRouter,//大众看板和备件 pgfisPrint,//排序单打印 pgfis,//派格fis //JobTimeDataRouter,//后台作业监控 diff --git a/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue b/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue index 66c51caf..cfe34e11 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue @@ -283,6 +283,7 @@ v-model="form.beginHostSN" placeholder="" clearable + :disabled="true" size="small" style="width: 240px" /> @@ -445,6 +446,7 @@ export default { list: null, totalCount: 0, listLoading: true, + listLoaddingPrint: true, customerInfo: { bomId: "", }, @@ -1124,6 +1126,7 @@ export default { }, /**保存*/ save() { + //this.listLoaddingPrint = true; if (this.isShowHostSN === true) { if (this.form.beginHostSN === "" || this.form.endHostSN === "") { this.$message({ @@ -1233,14 +1236,19 @@ export default { .then((response) => { console.log("获取文件base64编码"); console.log(response); + this.formLoading = false; this.printpdf(response); //打印我文件流 + + }) + .catch((error) => { + this.formLoading = false; }); } }); }) .catch(() => {}); - } //无断号 - else { + } + else {//无断号 //门板 //传递大众顺序号起止 this.$axios @@ -1272,7 +1280,12 @@ export default { .then((response) => { console.log("获取文件base64编码"); console.log(response); + this.formLoading = false; this.printpdf(response); //打印我文件流 + + }) + .catch((error) => { + this.formLoading = false; }); } })