| | |
| | | </uni-forms-item> |
| | | </uni-forms> |
| | | <uni-list> |
| | | <uni-list-item direction="column" v-for="item in matInfos" :key="item.sn"> |
| | | <uni-list-item direction="column" v-for="item in matInfos" :key="item.palletCode"> |
| | | <template v-slot:body> |
| | | <view class="uni-list-box"> |
| | | <!-- <uni-icons type="trash" size="22" style="position: absolute;right: 5%;" |
| | | @click="deleteList(item.sn)"> |
| | | </uni-icons> --> |
| | | <view class="uni-content"> |
| | | <view class="uni-title-sub uni-ellipsis-2">åæ®ç¼å·ï¼{{item.orderNo}}</view> |
| | | <view class="uni-note">æçç¼å·ï¼{{item.palletCode}}</view> |
| | | <view class="uni-note">ç©ææ¹æ¬¡ï¼{{item.batchNo}}</view> |
| | | <view class="uni-note">ç©æç¼ç ï¼{{item.materielCode}}</view> |
| | | <view class="uni-note">ç©æåç§°ï¼{{item.materielName}}</view> |
| | | <view class="uni-note">åæ®æ°éï¼{{item.orderQuantity}}</view> |
| | | <view class="uni-note">åå§åºåï¼{{item.originalQuantity}}</view> |
| | | <view class="uni-note">åé
åºåï¼{{item.assignQuantity}}</view> |
| | | <view class="uni-note">å©ä½åºåï¼{{item.originalQuantity-item.assignQuantity}}</view> |
| | | <view>åæ®ç¼å·ï¼{{item.orderNo}}</view> |
| | | <view>æçç¼å·ï¼{{item.palletCode}}</view> |
| | | <view>ç©ææ¹æ¬¡ï¼{{item.batchNo}}</view> |
| | | <view>ç©æç¼ç ï¼{{item.materielCode}}</view> |
| | | <view>ç©æåç§°ï¼{{item.materielName}}</view> |
| | | <view>åæ®æ°éï¼{{item.orderQuantity}}</view> |
| | | <view>åå§åºåï¼{{item.originalQuantity}}</view> |
| | | <view>åé
åºåï¼{{item.assignQuantity}}</view> |
| | | <view>å©ä½åºåï¼{{item.originalQuantity-item.assignQuantity}}</view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | </uni-list-item> |
| | | </uni-list> |
| | |
| | | onLoad(res) { |
| | | this.barcodefocus = false; |
| | | this.warehouseId = res.warehouseId; |
| | | if (this.warehouseId == 5) { |
| | | this.address = "8005" |
| | | } |
| | | this.istrue = false; |
| | | this.addressFocus = false; |
| | | }, |
| | | methods: { |
| | | onClickItem(e) { |
| | |
| | | } |
| | | this.$u.post('/api/OutStockLockInfo/MaterialPick?palletCode=' + this.barcode, {}).then(res => { |
| | | if (res.status) { |
| | | // if(this.warehouseId==5){ |
| | | // this.Finish("8005"); |
| | | // } |
| | | |
| | | uni.$showMsg('æ£éæå!') |
| | | this.barcode = ""; |
| | | this.matInfos = []; |
| | |
| | | } |
| | | }) |
| | | }, |
| | | Finish(code) { |
| | | this.$u.post('http://127.0.0.1:9291/api/CTU_AGV/PutFinish?&code=' + code).then( |
| | | res => { |
| | | if (res.status) { |
| | | // this.$refs.uToast.show({ |
| | | // title: "宿æå", |
| | | // type: "success" |
| | | // }) |
| | | // this.barcode = ""; |
| | | } else { |
| | | // this.$refs.uToast.show({ |
| | | // title: res.message, |
| | | // type: "error" |
| | | // }) |
| | | } |
| | | }) |
| | | }, |
| | | inputChange(e) { |
| | | this.$nextTick(() => { |
| | | this.istrue = false; |