Commit 87887ad8 authored by gengchunlei's avatar gengchunlei

药具领取正式版本v1

parent eee63dfb
...@@ -273,7 +273,11 @@ ...@@ -273,7 +273,11 @@
}) })
let result = [] let result = []
for (let i= 0; i< this.detailInfo.length; i++) { for (let i= 0; i< this.detailInfo.length; i++) {
if (this.detailInfo[i].number != '' || this.detailInfo[i].number != null || typeof this.detailInfo[i].number != 'undefined') { if (this.detailInfo[i].number != '' &&
this.detailInfo[i].number != null &&
typeof this.detailInfo[i].number != 'undefined' &&
this.detailInfo[i].number != '0'
) {
result.push(this.detailInfo[i]) result.push(this.detailInfo[i])
} }
} }
...@@ -291,7 +295,7 @@ ...@@ -291,7 +295,7 @@
this.$router.push({path:"/manualSuccess",query:{info: data.data}}); this.$router.push({path:"/manualSuccess",query:{info: data.data}});
} else { } else {
Toast({ Toast({
message: '系统异常,请联系客服!', message: `${data.msg}`,
duration: 2000 duration: 2000
}); });
} }
...@@ -397,7 +401,7 @@ ...@@ -397,7 +401,7 @@
color: white; color: white;
border-radius: 8px 2px; border-radius: 8px 2px;
padding: 4px 9px; padding: 4px 9px;
width: 70px; /*width: 70px;*/
font-size: 10px font-size: 10px
} }
.netNameTitle { .netNameTitle {
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
import sharpImg from '../assets/img/sharp.png'; import sharpImg from '../assets/img/sharp.png';
import {getNetworkInfo, getUserReceiveNum} from '../utils/api'; import {getNetworkInfo, getUserReceiveNum} from '../utils/api';
import {callMobile, getQueryVariable, isIOSWebKit} from "../utils/common"; import {callMobile, getQueryVariable, isIOSWebKit} from "../utils/common";
import {MessageBox} from 'mint-ui'; import {Toast} from 'mint-ui';
export default { export default {
name: "myMap", name: "myMap",
...@@ -104,9 +104,17 @@ ...@@ -104,9 +104,17 @@
} else { } else {
result = val result = val
} }
console.log(JSON.stringify(result))
if (!result.netType) { if (!result.netType) {
return return
} }
if (result.status == 1) {
Toast({
message: '该网点目前非营业中...!',
duration: 2000
});
return;
}
if (result.netType == 2){ if (result.netType == 2){
this.$router.push({path: `/manualCollection`, query: result}); this.$router.push({path: `/manualCollection`, query: result});
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment