| | |
| | | <uni-forms-item :label="label" style="margin-top: -20px;"></uni-forms-item> |
| | | <!-- <uni-forms-item label="åæ®ç±»åï¼çäº§é¢æå" style="margin-top: -20px;"></uni-forms-item> --> |
| | | <uni-forms-item label="å
ç®±ç ï¼" style="margin-top: -20px;"> |
| | | <uni-easyinput type="text" placeholder="è¯·æ«æå
ç®±ç " ref='midInput' :focus="focus" |
| | | <uni-easyinput type="text" placeholder="è¯·æ«æå
ç®±ç " ref='midInput' :focus="!focus" |
| | | v-model="innerCode" @input="innercodeInput" /> |
| | | </uni-forms-item> |
| | | <uni-forms-item :label="PurchaseOrderNo" style="margin-top: -20px;"></uni-forms-item> |
| | |
| | | </uni-forms-item> |
| | | </uni-forms> --> |
| | | <uni-list :border="true"> |
| | | <uni-list-item direction="column" v-for="(item,index) in orderInfo" :key="item.id"> |
| | | <uni-list-item direction="column" v-for="item in orderinfoDetails" :key="item.id"> |
| | | <template v-slot:body> |
| | | <view class="uni-content"> |
| | | <view style="font-size: 18px;">æ¶è´§åå·ï¼{{orderNo}}</view> |
| | | <view style="font-size: 18px;">éè´åå·ï¼{{item.purchaseOrderNo}}</view> |
| | | <view style="font-size: 18px;">ç©æç¼å·ï¼{{item.materielCode}}</view> |
| | | <view style="font-size: 18px;">æ¹æ¬¡å·ï¼{{item.lotNo}}</view> |
| | | <view style="font-size: 18px;">æ¶è´§æ°éï¼{{item.receivedQuantity}}</view> |
| | | <view style="font-size: 18px;">æ¯å¦è´¨æ£ï¼{{item.ifInspection==1?"æ¯":"å¦"}}</view> |
| | | <view>æ¶è´§åå·ï¼{{orderNo}}</view> |
| | | <view>éè´åå·ï¼{{item.purchaseOrderNo}}</view> |
| | | <view>ç©æç¼å·ï¼{{item.materielCode}}</view> |
| | | <view>æ¹æ¬¡å·ï¼{{item.lotNo}}</view> |
| | | <view>æ¶è´§æ°éï¼{{item.receivedQuantity}}</view> |
| | | <view>æ¯å¦è´¨æ£ï¼{{item.ifInspection==1?"æ¯":"å¦"}}</view> |
| | | </view> |
| | | </template> |
| | | </uni-list-item> |
| | |
| | | current: 0, |
| | | orderNo: "", |
| | | orderInfo: [], |
| | | orderinfoDetails:[], |
| | | label: "", |
| | | innerCode: "", |
| | | PurchaseOrderNo: "éè´åå·ï¼", |
| | |
| | | remaindQty: "å®é
æ°éï¼", |
| | | tagFocus: true, |
| | | numberFocus: false, |
| | | focus: true, |
| | | focus: false, |
| | | tag: "", |
| | | number: "", |
| | | tagmatCode: "ç©æç¼ç ï¼", |
| | |
| | | endTypeRange: [], |
| | | sns: "", |
| | | receiveOrderId: 0, |
| | | warehouseId:"" |
| | | } |
| | | }, |
| | | |
| | |
| | | this.orderNo = res.orderNo; |
| | | this.receiveOrderId = res.receiveOrderId; |
| | | this.label = "æ¶è´§åå·ï¼" + this.orderNo; |
| | | this.warehouseId=res.warehouseId; |
| | | this.getData(); |
| | | }, |
| | | mounted() { |
| | |
| | | }) |
| | | return; |
| | | } |
| | | if(this.warehouseId==2){ |
| | | //æ¿æ¢æå®ä¸¤ä¸ªå符é´çå符 |
| | | this.sns = this.sns.replace(/(Q:)([^,PO]+)(,PO)/, (match, p1, p2, p3) => { |
| | | return p1 + this.Quantity + p3; |
| | | }); |
| | | } |
| | | this.$u.post('/api/ReceiveOrderDetail/AddReceiveOrderDetail?serNum=' + this.sns + '&orderNo=' + this |
| | | .orderNo, {}).then(res => { |
| | | if (res.status) { |
| | |
| | | } |
| | | this.$u.post('/api/ReceiveOrderDetail/GetReceiveOrderInfos', postData).then((res) => { |
| | | if (res.status) { |
| | | this.orderInfo = res.data; |
| | | if (this.orderInfo.length > 3) { |
| | | this.orderinfoDetails = res.data; |
| | | if (this.orderinfoDetails.length > 3) { |
| | | this.loadVisible = true; |
| | | } |
| | | } |
| | |
| | | var innerCode = this.innerCode; |
| | | setTimeout(() => { |
| | | this.innerCode = ""; |
| | | }, 10); |
| | | this.focus=false; |
| | | }, 1); |
| | | |
| | | this.$u.post('/api/MaterielInfo/CodeAnalysis?serNum=' + innerCode, {}).then((res) => { |
| | | if (res.status) { |
| | |
| | | this.ProductionDate = "çäº§æ¥æï¼" + res.data.productionDate; |
| | | this.orderQty = "è®¢åæ°éï¼" + res.data.quantity; |
| | | this.Quantity = res.data.quantity; |
| | | if (res.message) { |
| | | if (!res.status) { |
| | | this.$refs.uToast.show({ |
| | | title: res.message, |
| | | type: "error" |