diff --git a/manifest.json b/manifest.json index 668992b..29943ca 100644 --- a/manifest.json +++ b/manifest.json @@ -96,5 +96,12 @@ "setting" : { "urlCheck" : true } + }, + "h5" : { + "title" : "热表智能化", + "router" : { + "mode" : "hash", + "base" : "./" + } } } diff --git a/pages/plan/factionalwork.vue b/pages/plan/factionalwork.vue index d88a41c..8a6e967 100644 --- a/pages/plan/factionalwork.vue +++ b/pages/plan/factionalwork.vue @@ -33,7 +33,7 @@ 工序名称 作业中心/供应商 - + {{ item.processNo }} {{ item.processName }} {{ item.workCenterName }} @@ -65,7 +65,7 @@ export default { cradNoText: "", unFsBool: false, getDataFun: true, - tableData:[] + tableData: [], }; }, methods: { @@ -85,7 +85,7 @@ export default { this.cradNoText = code; if (!this.cradNo) return; this.getDataFun = false; - uni.showLoading({ + uni.showLoading({ title: "提交中...", }); let query = { @@ -97,7 +97,10 @@ export default { .then((res) => { let data = res.data; this.makeTeam = data; - uni.hideLoading() + if (this.makeTeam.length <= 0) { + this.$message.error("订单分派失败,请到异常订单管理页面处理!"); + } + uni.hideLoading(); uni.showToast({ title: "操作成功", }); diff --git a/pages/production/unBinding.vue b/pages/production/unBinding.vue index 2b416f2..6bb4c6d 100644 --- a/pages/production/unBinding.vue +++ b/pages/production/unBinding.vue @@ -169,7 +169,7 @@ export default { }); } if (num == 2) { - this.$u.api.getBsFeiBaSetByCode().then((res) => { + this.$u.api.getBsFeiBaSetByCode(code).then((res) => { let data = res.data; this.feibaObj = data; diff --git a/template.h5.html b/template.h5.html index 383b1b5..2cc5ef5 100644 --- a/template.h5.html +++ b/template.h5.html @@ -3,7 +3,7 @@ - + <%= htmlWebpackPlugin.options.title %> @@ -13,7 +13,7 @@ document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px' }) </script> - <link rel="stylesheet" href="<%= BASE_URL %>static/index.css" /> + <link rel="stylesheet" href="/static/index.css" /> </head> <body> <noscript>