| | |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/AGV/AGVPakin", |
| | | "path": "pages/AGV/CachePakin", |
| | | "style": { |
| | | "navigationBarTitleText": "AGV组托" |
| | | "navigationBarTitleText": "缓存区组托" |
| | | } |
| | | }, |
| | | { |
| | |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/AGV/AGVMoveCall", |
| | | "path": "pages/AGV/CacheInCall", |
| | | "style": { |
| | | "navigationBarTitleText": "呼叫AGV" |
| | | "navigationBarTitleText": "缓冲区入库" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/AGV/AGVOutCall", |
| | | "style": { |
| | | "navigationBarTitleText": "AGV出库" |
| | | } |
| | | }, |
| | | { |
copy from pages/AGV/AGVMoveCall.vue
copy to pages/AGV/AGVOutCall.vue
| File was copied from pages/AGV/AGVMoveCall.vue |
| | |
| | | <view> |
| | | <view class="code"> |
| | | <view class="item"> |
| | | <view class="code-decs">入库站点:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="orgSite" :focus="barcodeFocus"> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">托盘码:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="barcode" > |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">目标库位:</view> |
| | | <view class="code-decs">目标站点:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="tarSite" > |
| | | <!-- <uni-combox :candidates="staList" placeholder="请选择站点" v-model="tarSite"></uni-combox> --> |
| | | </view> |
| | | </view> |
| | | <view class="mat-list-title"> |
| | | </view> |
| | | |
| | | <!-- 底部操作按钮 --> |
| | | <view class="buttom"> |
| | | <button size="mini" @click="reset('warn')">重置</button> |
| | | <button size="mini" type="primary" @click="combConfirm('warn')">呼叫</button> |
| | | </view> |
| | | <!-- 弹窗 --> |
| | | <!-- 修改数量 --> |
| | | |
| | | <!-- 移除确认 --> |
| | | <view> |
| | | <!-- 提示窗示例 --> |
| | |
| | | removeNum: 0, |
| | | locNo:"", |
| | | orgSite:'', |
| | | tarSite:'e', |
| | | tarSite:'', |
| | | staList:[], |
| | | } |
| | | }, |
| | | onLoad() { |
| | | let that = this |
| | | const eventChannel = this.getOpenerEventChannel(); |
| | | that.getSites() |
| | | // that.getSites() |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | mounted() { |
| | | this.tarSite = uni.getStorageSync('tarSite') |
| | | // this.tarSite = uni.getStorageSync('tarSite') |
| | | }, |
| | | methods: { |
| | | messageToggle(type) { |
| | |
| | | uni.setStorageSync('tarSite', this.tarSite); |
| | | uni.vibrateShort(); |
| | | let that = this; |
| | | if (that.orgSite === '') { |
| | | this.messageText = "产线站为空" |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | uni.request({ |
| | | url: that.baseUrl + '/mobile/cache/agv/call', |
| | | url: that.baseUrl + '/mobile/cache/out/call', |
| | | data: JSON.stringify({ |
| | | orgSite: that.orgSite, |
| | | barcode: that.barcode, |
| | | tarSite: that.tarSite |
| | | }), |
| | | method: 'POST', |
| | |
| | | } |
| | | |
| | | .code-decs { |
| | | width: 20vw; |
| | | width: 25vw; |
| | | font-size: 18px; |
| | | color: #303133; |
| | | } |
| File was renamed from pages/AGV/AGVMoveCall.vue |
| | |
| | | <view class="item"> |
| | | <view class="code-decs">目标库位:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="tarSite" > |
| | | <!-- <uni-combox :candidates="staList" placeholder="请选择站点" v-model="tarSite"></uni-combox> --> |
| | | </view> |
| | | </view> |
| | | <view class="mat-list-title"> |
| | |
| | | removeNum: 0, |
| | | locNo:"", |
| | | orgSite:'', |
| | | tarSite:'e', |
| | | tarSite:'', |
| | | staList:[], |
| | | } |
| | | }, |
| | |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | mounted() { |
| | | this.tarSite = uni.getStorageSync('tarSite') |
| | | // this.tarSite = uni.getStorageSync('tarSite') |
| | | }, |
| | | methods: { |
| | | messageToggle(type) { |
| | |
| | | staResults.forEach(item => { |
| | | that.staList.push(item?.locNo) |
| | | }) |
| | | console.log(that.staList); |
| | | } else if (result.code == 403) { |
| | | uni.showToast({ |
| | | title: result.msg, |
| File was renamed from pages/AGV/AGVPakin.vue |
| | |
| | | <view class="popup-item"> |
| | | <view class="popup-item-left">数量:</view> |
| | | <view class="popup-item-right" style="border: none;justify-content: center;"> |
| | | <uni-number-box :value="count" :step='0.01' :max="9999999" color="#747474" @change="changeValue" /> |
| | | <uni-number-box :value="count" :step='1' :max="9999999" color="#747474" @change="changeValue" /> |
| | | </view> |
| | | </view> |
| | | <view class="btn"> |
| | |
| | | // url: '/pingku/POrderListOut' |
| | | // }, |
| | | { |
| | | title: 'Agv组托', |
| | | name: 'AGVPakin', |
| | | title: '缓冲区组托', |
| | | name: 'AgvPakin', |
| | | color: 'cyan', |
| | | cuIcon: 'order', |
| | | url: '/AGV/AGVPakin' |
| | | url: '/AGV/CachePakin' |
| | | }, |
| | | { |
| | | title: 'Agv入库', |
| | | name: 'AGVMoveCall', |
| | | title: '缓冲区入库', |
| | | name: 'AgvIn', |
| | | color: 'green', |
| | | cuIcon: 'pullup', |
| | | url: '/AGV/AGVMoveCall' |
| | | url: '/AGV/CacheInCall' |
| | | }, |
| | | { |
| | | title: '缓冲区出库', |
| | | name: 'AgvOut', |
| | | color: 'red', |
| | | cuIcon: 'pulldown', |
| | | url: '/AGV/AGVOutCall' |
| | | }, |
| | | // { |
| | | // title: '呼叫Agv', |
| | |
| | | <view class="form-item"> |
| | | <view class="form-item-desc"><text>数量</text></view> |
| | | <view class="form-item-content"> |
| | | <uni-number-box :value="mat.enableQty" :max="99999999" :step='1' color="#747474" @change="changeValue" /> |
| | | <uni-number-box :value="mat.enableQty" :max="99999999" color="#747474" @change="changeValue" /> |
| | | </view> |
| | | </view> |
| | | </view> |