| | |
| | | } |
| | | }) |
| | | }, |
| | | // submit() { |
| | | // if (this.barcode == "") { |
| | | // this.$refs.uToast.show({ |
| | | // title: "è¯·æ«æè´§ä½ç¼å·", |
| | | // type: 'error' |
| | | // }) |
| | | // return; |
| | | // } |
| | | // if (this.materSn.length == 0) { |
| | | // this.$refs.uToast.show({ |
| | | // title: "请è¾å
¥å
¥åºæ°é", |
| | | // type: 'error' |
| | | // }) |
| | | // return; |
| | | // } |
| | | // uni.showLoading({ |
| | | // title: 'æäº¤ä¸...' |
| | | // }); |
| | | // this.$u.post('/api/CabinOrder/FeedbackIn', { |
| | | // MainData: { |
| | | // "LocationCode": this.barcode, |
| | | // "id":this.id, |
| | | // "warehouseCode": this.warehouseId, |
| | | // "orderNo": this.orderNo, |
| | | // "materielCode": this.materielCode, |
| | | // "Inqty": this.materSn, |
| | | // "batchNo": this.batchNo, |
| | | // }, |
| | | // DelKeys: this.sns |
| | | // }).then(res => { |
| | | // uni.hideLoading(); |
| | | // this.Testcheck = false; |
| | | // if (res.status) { |
| | | // this.$refs.uToast.show({ |
| | | // title: "å
¥åºæå", |
| | | // type: "success" |
| | | // }) |
| | | // this.Inqty = parseInt(res.message); |
| | | // this.order_Inqty = "å·²å
¥åºæ°éï¼" + this.Inqty; |
| | | // this.barcode = ""; |
| | | // this.materSn = ""; |
| | | // if (this.Inqty == this.orderqty) { |
| | | // uni.setStorageSync('isIn', true); |
| | | // this.handleInboundComplete(); |
| | | // } |
| | | // } else { |
| | | // this.$refs.uToast.show({ |
| | | // title: res.message, |
| | | // type: "error" |
| | | // }) |
| | | // } |
| | | // }).catch(err => { |
| | | // uni.hideLoading(); |
| | | // this.$refs.uToast.show({ |
| | | // title: "ç½ç»é误ï¼è¯·éè¯", |
| | | // type: "error" |
| | | // }) |
| | | // }) |
| | | // }, |
| | | // æ°å¢æ¹æ³å¤çå
¥åºå®æé»è¾ |
| | | |
| | | submit() { |
| | | if (this.barcode == "") { |
| | | this.$refs.uToast.show({ |
| | |
| | | }) |
| | | return; |
| | | } |
| | | |
| | | // æ°å¢äºæ¬¡ç¡®è®¤é»è¾ |
| | | uni.showModal({ |
| | | title: '确认å
¥åº', |
| | | content: 'æ¨ç¡®å®è¦æäº¤å
¥åºä¿¡æ¯åï¼', |
| | | success: (res) => { |
| | | if (res.confirm) { |
| | | // ç¨æ·ç¹å»ç¡®å®ï¼æ§è¡åæçæäº¤é»è¾ |
| | | uni.showLoading({ |
| | | title: 'æäº¤ä¸...' |
| | | }); |
| | |
| | | type: "error" |
| | | }) |
| | | }) |
| | | } else { |
| | | // ç¨æ·ç¹å»åæ¶ï¼ä¸åä»»ä½æä½ |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | // æ°å¢æ¹æ³å¤çå
¥åºå®æé»è¾ |
| | | |
| | | handleInboundComplete() { |
| | | // æ¾ç¤ºå®ææç¤º |
| | | // uni.showModal({ |