| | |
| | | <view class="desc">No:</view> |
| | | <view class="left-item">{{i + 1}}</view> |
| | | </view> |
| | | <!-- <view class="list-left-item"> |
| | | <view class="desc">箱码:</view> |
| | | <view class="list-left-item"> |
| | | <view class="desc">订单号:</view> |
| | | <view class="left-item"> |
| | | <input type="text" v-model="item.containerCode"> |
| | | <uni-tag :text="item.containerCode" type="primary"></uni-tag> |
| | | <input type="text" v-model="item.csocode"> |
| | | <!-- <uni-tag :text="item.csocode" type="primary"></uni-tag> --> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | <view class="list-left-item"> |
| | | <view class="desc">自由项:</view> |
| | | <view class="left-item"> |
| | | <input type="text" v-model="item.isoseq"> |
| | | </view> |
| | | </view> |
| | | <view class="list-left-item"> |
| | | <view class="desc">编码:</view> |
| | | <view class="left-item"> |
| | |
| | | </view> |
| | | <view class="list-right"> |
| | | <uni-icons type="compose" color="#9add8b" size="24" @click="revise(item,i)"></uni-icons> |
| | | <view style="width: 10rpx;"></view> |
| | | <uni-icons type="trash" color="#f58a8a" size="24" @click="remove(item,i,'warn')"></uni-icons> |
| | | </view> |
| | | </view> |
| | |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="list" style="background-color: #fda800;color: #fff;" v-for="wrkMast in waitPakins"> |
| | | <view class="list" style="background-color: #fda800;color: #fff;" v-if="!wrkDetls" v-for="wrkMast in waitPakins"> |
| | | <view class="list-left"> |
| | | <view>物料号:{{wrkMast.matnr}}</view> |
| | | <view>物料名称:{{wrkMast.maktx}}</view> |
| | |
| | | data: {devNo: e}, |
| | | method: 'POST', |
| | | success(res) { |
| | | res = res.data |
| | | if (res.code === 200) { |
| | | _this.searchValue = '' |
| | | setTimeout(()=> { |
| | | _this.getBasDevp() |
| | | },100) |
| | | } else { |
| | | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) |
| | | setTimeout(()=> { |
| | | _this.searchValue = '' |
| | | _this.getBasDevp() |
| | | },2000) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | |
| | | data: JSON.stringify(devNo), |
| | | method: 'POST', |
| | | success(res) { |
| | | |
| | | res = res.data |
| | | if (res.code === 200) { |
| | | _this.searchValue = '' |
| | | setTimeout(()=> { |
| | | _this.getBasDevp() |
| | | },100) |
| | | } else { |
| | | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) |
| | | setTimeout(()=> { |
| | | _this.searchValue = '' |
| | | _this.getBasDevp() |
| | | },2000) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | |
| | | success(result) { |
| | | var res = result.data |
| | | if (res.code === 200) { |
| | | setTimeout(()=> { |
| | | that.searchValue = '' |
| | | that.getBasDevp() |
| | | },300) |
| | | uni.showToast({ |
| | | title: res.msg, |
| | | icon: "none", |
| | |
| | | reviseConfirm() { |
| | | this.startPakin('empty') |
| | | this.$refs.revise.close() |
| | | setTimeout(()=> { |
| | | this.getBasDevp() |
| | | },300) |
| | | } |
| | | } |
| | | } |
| | |
| | | stationCodeInput() { |
| | | setTimeout(() => { |
| | | var len = this.stationCode.length |
| | | if (len != 15) { |
| | | if (len != 7) { |
| | | this.stationCode = '' |
| | | this.stationCodeFocus = true |
| | | uni.showToast({ |
| | |
| | | // barcode input 事件 |
| | | barcodeInput() { |
| | | // 不设置定时器 会出现扫入的字符串不全 |
| | | if (this.barcode.split('_')[1]) { |
| | | this.barcode = this.barcode.split('_')[1] |
| | | } |
| | | setTimeout(() => { |
| | | var len = this.barcode.length |
| | | if (len != 10) { |
| | | if (len != 6) { |
| | | uni.showToast({ |
| | | title: '料箱码有误请重试', |
| | | icon: "none", |
| | |
| | | } |
| | | .list-right { |
| | | display: flex; |
| | | width: 20vw; |
| | | /* width: 20vw; */ |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | margin-right: 20rpx; |
| | | /* margin-right: 20rpx; */ |
| | | } |
| | | .buttom { |
| | | width: 100%; |