| | |
| | | <view>æ¶è´§åå·ï¼{{orderNo}}</view> |
| | | <view>éè´åå·ï¼{{item.purchaseOrderNo}}</view> |
| | | <view>ç©æç¼å·ï¼{{item.materielCode}}</view> |
| | | <view>ç©æåç§°ï¼{{item.materielName}}</view> |
| | | <view>ç©æè§æ ¼ï¼{{item.materielSpec}}</view> |
| | | <view>æ¹æ¬¡å·ï¼{{item.lotNo}}</view> |
| | | <view>æ¶è´§æ°éï¼{{item.receivedQuantity}}</view> |
| | | <view>æ¯å¦è´¨æ£ï¼{{item.ifInspection==1?"æ¯":"å¦"}}</view> |
| | |
| | | this.itemCode = itemCode; |
| | | this.$refs.inputDialog.open() |
| | | }, |
| | | voiceSpeech(src) { |
| | | innerAudioContext.src = src; // '../../static/success.mp3'; |
| | | innerAudioContext.play(); |
| | | }, |
| | | // voiceSpeech(src) { |
| | | // innerAudioContext.src = src; // '../../static/success.mp3'; |
| | | // innerAudioContext.play(); |
| | | // }, |
| | | search() { |
| | | this.getData(); |
| | | }, |
| | |
| | | return; |
| | | } |
| | | var innerCode = this.innerCode; |
| | | //å°innerCode,SCåé¢çè¿è¡æ¿æ¢ç©º |
| | | if(this.warehouseId==11){ |
| | | innerCode=innerCode.replace(/,SC.*/, ''); |
| | | } |
| | | |
| | | if(innerCode.indexOf("POHA")>0){ |
| | | this.$u.post('/api/MaterielInfo/CodeAnalysis?serNum=' + innerCode, {}).then((res) => { |
| | | if (res.status) { |
| | | this.sns = res.data.serialNumber; |
| | | // this.matInfos.splice(0, this.matInfos.length); |
| | | // this.matInfos.push(res.data); |
| | | this.matCode = "ç©æç¼ç ï¼" + res.data.materielCode; |
| | | this.LotNo = "ç©ææ¹æ¬¡ï¼" + res.data.lotNo; |
| | | this.PurchaseOrderNo = "éè´åå·ï¼" + res.data.purchaseOrderNo; |
| | | this.EffectiveDate = "æææ¥æï¼" + res.data.effectiveDate; |
| | | this.ProductionDate = "çäº§æ¥æï¼" + res.data.productionDate; |
| | | this.orderQty = "è®¢åæ°éï¼" + res.data.quantity; |
| | | this.Quantity = res.data.quantity; |
| | | // setTimeout(() => { |
| | | // this.voiceSpeech('../../static/success.mp3'); |
| | | // }, 100); |
| | | } else { |
| | | this.$refs.uToast.show({ |
| | | title: res.message, |
| | | type: "error" |
| | | }) |
| | | // setTimeout(() => { |
| | | // this.voiceSpeech('../../static/fail.mp3'); |
| | | // }, 100); |
| | | } |
| | | }) |
| | | } |
| | | setTimeout(() => { |
| | | this.innerCode = ""; |
| | | this.focus=true; |
| | | }, 1); |
| | | |
| | | this.$u.post('/api/MaterielInfo/CodeAnalysis?serNum=' + innerCode, {}).then((res) => { |
| | | if (res.status) { |
| | | this.sns = res.data.serialNumber; |
| | | // this.matInfos.splice(0, this.matInfos.length); |
| | | // this.matInfos.push(res.data); |
| | | this.matCode = "ç©æç¼ç ï¼" + res.data.materielCode; |
| | | this.LotNo = "ç©ææ¹æ¬¡ï¼" + res.data.lotNo; |
| | | this.PurchaseOrderNo = "éè´åå·ï¼" + res.data.purchaseOrderNo; |
| | | this.EffectiveDate = "æææ¥æï¼" + res.data.effectiveDate; |
| | | this.ProductionDate = "çäº§æ¥æï¼" + res.data.productionDate; |
| | | this.orderQty = "è®¢åæ°éï¼" + res.data.quantity; |
| | | this.Quantity = res.data.quantity; |
| | | setTimeout(() => { |
| | | this.voiceSpeech('../../static/success.mp3'); |
| | | }, 100); |
| | | } else { |
| | | this.$refs.uToast.show({ |
| | | title: res.message, |
| | | type: "error" |
| | | }) |
| | | setTimeout(() => { |
| | | this.voiceSpeech('../../static/fail.mp3'); |
| | | }, 100); |
| | | } |
| | | }) |
| | | }, 100); |
| | | }) |
| | | }, |
| | | tagInput() { |