Commit 87887ad8 authored by gengchunlei's avatar gengchunlei

药具领取正式版本v1

parent eee63dfb
......@@ -273,7 +273,11 @@
})
let result = []
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])
}
}
......@@ -291,7 +295,7 @@
this.$router.push({path:"/manualSuccess",query:{info: data.data}});
} else {
Toast({
message: '系统异常,请联系客服!',
message: `${data.msg}`,
duration: 2000
});
}
......@@ -397,7 +401,7 @@
color: white;
border-radius: 8px 2px;
padding: 4px 9px;
width: 70px;
/*width: 70px;*/
font-size: 10px
}
.netNameTitle {
......
......@@ -41,7 +41,7 @@
import sharpImg from '../assets/img/sharp.png';
import {getNetworkInfo, getUserReceiveNum} from '../utils/api';
import {callMobile, getQueryVariable, isIOSWebKit} from "../utils/common";
import {MessageBox} from 'mint-ui';
import {Toast} from 'mint-ui';
export default {
name: "myMap",
......@@ -104,9 +104,17 @@
} else {
result = val
}
console.log(JSON.stringify(result))
if (!result.netType) {
return
}
if (result.status == 1) {
Toast({
message: '该网点目前非营业中...!',
duration: 2000
});
return;
}
if (result.netType == 2){
this.$router.push({path: `/manualCollection`, query: result});
} 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