| | |
| | | title: '组托入库', |
| | | name: 'pakin', |
| | | color: 'purple', |
| | | cuIcon: 'vipcard', |
| | | cuIcon: 'list', |
| | | url: '/pakin/pakin' |
| | | }, |
| | | { |
| | | title: '退出登录', |
| | | name: 'logOut', |
| | | color: 'grey', |
| | | cuIcon: 'vipcard', |
| | | cuIcon: 'exit', |
| | | url: '/login/logOut' |
| | | }, |
| | | |
New file |
| | |
| | | <template> |
| | | <view></view> |
| | | </template> |
| | | <script> |
| | | export default { |
| | | mounted() { |
| | | uni.showToast({ |
| | | title: '注销成功', |
| | | duration: 1000 |
| | | }) |
| | | setTimeout(() => { |
| | | uni.removeStorageSync('token'); |
| | | uni.reLaunch({ |
| | | url:"/pages/login/login" |
| | | }); |
| | | }, 1000); |
| | | }, |
| | | |
| | | } |
| | | |
| | | </script> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="tag-item">商品编号: {{item.matnr}}</view> |
| | | <view class="tag-item">商品名称: {{item.maktx}}</view> |
| | | <view class="tag-item">商品规格: {{item.specs}}</view> |
| | | <view class="tag-item">商品名称: {{item.maktx ? item.maktx : '--'}}</view> |
| | | <view class="tag-item">商品规格: {{item.specs ? item.specs : '--'}}</view> |
| | | </view> |
| | | </view> |
| | | <uni-load-more v-show="matList.length != 0" :status="status" :icon-size="16" :content-text="contentText" /> |
| | |
| | | if (tagId == null || tagId == '' || tagId == undefined) { |
| | | return; |
| | | } |
| | | console.log(tagId); |
| | | uni.request({ |
| | | url: that.baseUrl + '/mat/list/pda/page/auth', |
| | | data: { |
| | |
| | | let list = res.data.records |
| | | that.matList = that.reload ? list : that.matList.concat(list); |
| | | that.curr = that.curr + 1 |
| | | if (res.data.records.length == 0) { |
| | | that.status = 'noMore' |
| | | } |
| | | that.baColor = "background-color: #1cbbb4;" |
| | | } |
| | | if (res.data.records.length == 0) { |
| | | that.status = 'noMore' |
| | | } |
| | | that.baColor = "background-color: #1cbbb4;" |
| | | } else if (res.code === 403 ) { |
| | | uni.showToast({title: res.msg, icon: "none", position: 'top'}) |
| | | setTimeout(() => { |