| | |
| | | minCount:0, |
| | | maxCount:1, |
| | | rowNum:'', |
| | | value:'', |
| | | couChange:true, |
| | | value:0, |
| | | couChange:false, |
| | | baseIP:'', |
| | | basePORT:'', |
| | | selectArr : [], |
| | |
| | | if(res.data.data != null){ |
| | | that.addTableData(res.data.data) |
| | | }else if(res.data.code === 403){ |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }) |
| | | setTimeout(() => { |
| | | uni.reLaunch({ |
| | | url: '../login/login' |
| | | }); |
| | | }, 1000); |
| | | }else { |
| | | that.messageToggle('error') |
| | | that.messageText = res.data.msg |
| | |
| | | if(res.data.data != null){ |
| | | that.addTableData(res.data.data) |
| | | }else if(res.data.code === 403){ |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }) |
| | | setTimeout(() => { |
| | | uni.reLaunch({ |
| | | url: '../login/login' |
| | | }); |
| | | }, 1000); |
| | | }else { |
| | | that.messageToggle('error') |
| | | that.messageText = res.data.msg |
| | |
| | | } |
| | | } |
| | | if(toPush) { |
| | | // data[i].count = 0 |
| | | this.matData.push(data[i]); |
| | | } |
| | | } |
| | |
| | | that.messageText = '组托成功' |
| | | this.getFocus('firstFocus') |
| | | } else if(res.data.code === 403){ |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }) |
| | | setTimeout(() => { |
| | | uni.reLaunch({ |
| | | url: '../login/login' |
| | | }); |
| | | }, 1000); |
| | | } else { |
| | | that.messageToggle('error') |
| | | that.messageText = res.data.msg |
| | |
| | | color: 'olive', |
| | | cuIcon: 'goods' |
| | | }, |
| | | { |
| | | title: '出库启动', |
| | | name: 'matOut', |
| | | color: 'green', |
| | | cuIcon: 'video' |
| | | }, |
| | | { |
| | | title: '库存盘点', |
| | | name: 'stockCheck', |
| | | color: 'cyan', |
| | | cuIcon: 'squarecheck' |
| | | }, |
| | | { |
| | | title: '库存查询', |
| | | name: 'stockQuery', |
| | | color: 'blue', |
| | | cuIcon: 'searchlist' |
| | | }, |
| | | // { |
| | | // title: '出库启动', |
| | | // name: 'matOut', |
| | | // color: 'green', |
| | | // cuIcon: 'video' |
| | | // }, |
| | | // { |
| | | // title: '库存盘点', |
| | | // name: 'stockCheck', |
| | | // color: 'cyan', |
| | | // cuIcon: 'squarecheck' |
| | | // }, |
| | | // { |
| | | // title: '库存查询', |
| | | // name: 'stockQuery', |
| | | // color: 'blue', |
| | | // cuIcon: 'searchlist' |
| | | // }, |
| | | { |
| | | title: '退出登录', |
| | | name: 'logOut', |