| | |
| | | "name" : "中扬WMS", |
| | | "appid" : "__UNI__DA5854D", |
| | | "description" : "", |
| | | "versionName" : "20220819A", |
| | | "versionName" : "20220824A", |
| | | "versionCode" : 103, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | |
| | | "enablePullDownRefresh": false |
| | | |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/basics/notificationFile", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText": "入库通知档", |
| | | "enablePullDownRefresh": false |
| | | |
| | | } |
| | | } |
| | | |
| | | |
New file |
| | |
| | | <template> |
| | | <view> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | commonUrl:null, |
| | | listData: [], |
| | | |
| | | }; |
| | | }, |
| | | onLoad() { |
| | | const UIP = uni.getStorageSync('UIP'); |
| | | this.baseIP = UIP; |
| | | const UPORT = uni.getStorageSync('UPORT'); |
| | | this.basePORT = UPORT |
| | | const PROJ = uni.getStorageSync('UPROJ'); |
| | | this.baseUrl = PROJ |
| | | this.getUrl() |
| | | this.getList() |
| | | }, |
| | | onPullDownRefresh() { |
| | | this.getList() |
| | | }, |
| | | onReachBottom() { |
| | | |
| | | }, |
| | | methods: { |
| | | // 获取url |
| | | getUrl() { |
| | | this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl |
| | | }, |
| | | getList() { |
| | | let that = this |
| | | console.log(that.commonUrl); |
| | | uni.request({ |
| | | url: that.commonUrl + '/waitPakin/list/auth', |
| | | data:{ |
| | | curr:1, |
| | | limit:16, |
| | | }, |
| | | header: { |
| | | 'token':uni.getStorageSync('token') |
| | | }, |
| | | method:'GET', |
| | | success: result =>{ |
| | | console.log(result); |
| | | let res = result.data |
| | | if (res.code === 200) { |
| | | if (res.data) { |
| | | that.listData = this.reload ? list : this.listData.concat(list); |
| | | |
| | | } |
| | | } |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |
| | |
| | | that.addLog(matCode,userName) |
| | | // that.foucss(); |
| | | // return; |
| | | if(that.matList.length > 15) { |
| | | that.messageToggle('warn'); |
| | | that.messageText = '组托商品数量已超过16件,请完成当前组托'; |
| | | that.foucss(); |
| | | return; |
| | | } |
| | | if (that.matnrId.length > 25){ |
| | | that.messageToggle('warn'); |
| | | that.messageText = '商品编码超长,请重试'; |
| | |
| | | cuIcon: 'copy' |
| | | }, |
| | | { |
| | | title: '入库通过档', |
| | | name: 'notificationFile', |
| | | color: 'blue', |
| | | cuIcon: 'copy' |
| | | }, |
| | | { |
| | | title: '出库确认', |
| | | name: 'checkout', |
| | | color: 'blue', |