Merge branch 'jsxswms-app' of http://47.97.1.152:5880/r/wms_app into jsxswms-app
| | |
| | | { |
| | | "path": "pages/AGV/CollectionPakin", |
| | | "style": { |
| | | "navigationBarTitleText": "集货区组托" |
| | | "navigationBarTitleText": "SO/EO区组托" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/AGV/CollectionInCall", |
| | | "style": { |
| | | "navigationBarTitleText": "集货区入库" |
| | | "navigationBarTitleText": "SO/EO区入库" |
| | | } |
| | | }, |
| | | { |
| | |
| | | { |
| | | "path": "pages/AGV/CallEmptyCar", |
| | | "style": { |
| | | "navigationBarTitleText": "入库区呼叫空车" |
| | | "navigationBarTitleText": "SO/EO区呼叫空车" |
| | | } |
| | | }, |
| | | { |
| | |
| | | <view> |
| | | <view class="code"> |
| | | <view class="item"> |
| | | <view class="code-decs">入库区:</view> |
| | | <view class="code-decs">起始区:</view> |
| | | <uni-combox :candidates="staList" placeholder="请选择站点" v-model="orgSite"></uni-combox> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">终点站:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="tarSite" :focus="barcodeFocus"> |
| | | </view> |
| | | |
| | |
| | | locNo: "", |
| | | orgSite: '', |
| | | tarSite: '', |
| | | staList: ["e"], |
| | | staList: ["SO", "EO"], |
| | | } |
| | | }, |
| | | onLoad() { |
| | |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | mounted() { |
| | | this.tarSite = uni.getStorageSync('tarSite') |
| | | // this.tarSite = uni.getStorageSync('tarSite') |
| | | }, |
| | | methods: { |
| | | messageToggle(type) { |
| | |
| | | this.$refs.combConfirm.close() |
| | | }, |
| | | comb() { |
| | | uni.setStorageSync('tarSite', this.tarSite); |
| | | // uni.setStorageSync('tarSite', this.tarSite); |
| | | uni.vibrateShort(); |
| | | let that = this; |
| | | if (that.orgSite === '') { |
| | | this.messageText = "起始区为空" |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | if (that.tarSite === '') { |
| | | this.messageText = "入库区为空" |
| | | this.messageText = "终点站为空" |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | |
| | | resst() { |
| | | this.orgSite = '' |
| | | this.dataList = [] |
| | | |
| | | this.tarSite = '' |
| | | |
| | | }, |
| | | } |
| | |
| | | <view class="code-decs">托盘码:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="barcode"> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">目标区:</view> |
| | | <uni-combox :candidates="staList" placeholder="请选择站点" v-model="tarSite"></uni-combox> |
| | | </view> |
| | | </view> |
| | | <view class="mat-list-title"> |
| | | </view> |
| | |
| | | locNo: "", |
| | | orgSite: '', |
| | | tarSite: '', |
| | | staList: [], |
| | | staList: ["EO", "SO"], |
| | | } |
| | | }, |
| | | onLoad() { |
| | | let that = this |
| | | const eventChannel = this.getOpenerEventChannel(); |
| | | that.getSites() |
| | | // that.getSites() |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | |
| | | this.$refs.combConfirm.close() |
| | | }, |
| | | comb() { |
| | | uni.setStorageSync('tarSite', this.tarSite); |
| | | // uni.setStorageSync('tarSite', this.tarSite); |
| | | uni.vibrateShort(); |
| | | let that = this; |
| | | if (that.orgSite === '') { |
| | | this.messageText = "产线站为空" |
| | | this.messageText = "起始站为空" |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | if (that.barcode === '') { |
| | | this.messageText = "托盘码为空" |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | if (that.tarSite === '') { |
| | | this.messageText = "目标区为空" |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | |
| | | url: that.baseUrl + '/mobile/collection/agv/call', |
| | | data: JSON.stringify({ |
| | | orgSite: that.orgSite, |
| | | barcode: that.barcode |
| | | barcode: that.barcode, |
| | | tarSite: that.tarSite |
| | | }), |
| | | method: 'POST', |
| | | header: { |
| | |
| | | resst() { |
| | | this.orgSite = '' |
| | | this.dataList = [] |
| | | |
| | | this.tarSite = '' |
| | | this.barcode = '' |
| | | |
| | | }, |
| | | } |