| | |
| | | "name" : "中扬WMS", |
| | | "appid" : "__UNI__DA5854D", |
| | | "description" : "", |
| | | "versionName" : "20220825A", |
| | | "versionName" : "20230411B", |
| | | "versionCode" : 103, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | |
| | | "enablePullDownRefresh": false |
| | | |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/basics/changePallet", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText": "换板绑定", |
| | | "enablePullDownRefresh": false |
| | | |
| | | } |
| | | } |
| | | |
| | | |
New file |
| | |
| | | <template> |
| | | <view > |
| | | <scroll-view scroll-y catch:touchmove="touchmove"> |
| | | <view class="square-2"> |
| | | <view class="square-title"> |
| | | <view class="title-sign"><view class="sign"></view></view> |
| | | <view class="title-text"><text>原托盘码</text></view> |
| | | </view> |
| | | <view class="square-content"> |
| | | <view class="content-input"> |
| | | <input readonly="value" v-model="barcode" type="text" placeholder="扫码 / 输入" maxlength="8" |
| | | :focus="barcodeFocus" @input="nextInput"> |
| | | <uni-icons type="closeempty" size="20" color="#dadada" @click="removeBarcode()"></uni-icons> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="square-2"> |
| | | <view class="square-title"> |
| | | <view class="title-sign"><view class="sign"></view></view> |
| | | <view class="title-text"><text>转换托盘码</text></view> |
| | | </view> |
| | | <view class="square-content"> |
| | | <view class="content-input"> |
| | | <input v-model="matnrId" type="text" placeholder="扫码 / 输入" @input="findMat()" |
| | | :focus="focus"@focus="empty()"> |
| | | <!-- :focus="focus" @blur="clear "> --> |
| | | <!-- @focus="focuss" --> |
| | | <uni-icons type="closeempty" size="20" color="#dadada" @click="foucss()"></uni-icons> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </scroll-view> |
| | | <view class="footer flex justify-around"> |
| | | <view> |
| | | <button class="cu-btn lg" @click="resst()">重置</button> |
| | | </view> |
| | | <view> |
| | | <button class="cu-btn lg pakin-btn bg-blue" @click="comb()">组托</button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import permision from "@/common/permission.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | | commonUrl:null, |
| | | barcode: '', |
| | | barcodeFocus:true, |
| | | focus:false, |
| | | hide:true, |
| | | msgType: 'success', |
| | | messageText: '这是一条成功提示', |
| | | |
| | | } |
| | | }, |
| | | mounted(){ |
| | | 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() |
| | | }, |
| | | onLoad() { |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | methods: { |
| | | // 获取url |
| | | getUrl() { |
| | | this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | |
| | | |
| | | <style> |
| | | .pakin-btn { |
| | | background-color: #1E9FFF; |
| | | } |
| | | </style> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="square-1"> |
| | | <!-- <view class="square-1"> |
| | | <view class="square-title" style="display: flex;"> |
| | | <view class="title-sign"><view class="sign"></view></view> |
| | | <view class="title-text" style="width: 200rpx;"><text>拥有者</text></view> |
| | |
| | | <uni-combox :candidates="ownerList" placeholder="请选择拥有者" v-model="owner"></uni-combox> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | <view class="square-1"> |
| | | <view class="square-title"> |
| | | <view class="title-sign"><view class="sign"></view></view> |
| | |
| | | data: JSON.stringify({ |
| | | barcode: that.barcode, |
| | | origin: that.origin, |
| | | owner: that.ownerId, |
| | | owner: 1, |
| | | combMats: that.matList |
| | | }), |
| | | method: 'POST', |
| | |
| | | cuIcon: 'safe' |
| | | }, |
| | | { |
| | | title: '换板绑定', |
| | | name: 'changePallet', |
| | | color: 'blue', |
| | | cuIcon: 'refresh' |
| | | }, |
| | | { |
| | | title: '组托入库', |
| | | name: 'pakin', |
| | | color: 'grey', |