| | |
| | | }, |
| | | getHBarCodeData(HBarCode){ |
| | | uni.request({ |
| | | url: this.serverUrl + '/Cj_StationEntrustInBill/txtHBarCode_KeyDown', |
| | | data: {HBarCode: HBarCode}, |
| | | url: this.serverUrl + '/Cj_StationBill/txtHBarCode_KeyDown2', |
| | | data: {HBarCode: HBarCode,HInterID:this.hform.HProcExchHinteID,UserID:this.userInfo.Czybm,HBillType:"Out"}, |
| | | success: (res) => { |
| | | console.log(2,res.data); |
| | | if(res.data.code == 1){ |
| | |
| | | this.hform.HMaterName= data.产品 |
| | | this.hform.HMaterNumber= data.产品代码 |
| | | this.hform.HMaterModel= data.规格型号 |
| | | this.hform.单位= data.单位 |
| | | // this.hform.HPieceQty= data.流转卡数量 |
| | | this.hform.HPieceQty= data.流转卡数量 |
| | | this.hform.HPlanQty= data.流转卡数量 |
| | | this.hform.HProcExchBillNo= data.单据号 |
| | | this.hform.HProcExchHinteID= data.hmainid |
| | | this.hform.HICMOQty= data.任务单数量 |
| | | this.hform.HOrderProcNO= data.订单跟踪号 |
| | | this.hform.HPRDOrg= data.组织 |
| | | this.hform.HPRDOrgID= data.组织 |
| | | this.hform.HPRDOrg= data.组织名称 |
| | | this.hform.lngBillKey= data.hmainid |
| | | this.hform.lngBillSubKey= data.hsubid |
| | | this.hform.HProcName= data.工序 |
| | | this.hform.HProcID= data.HProcID |
| | | this.hform.HProcNo= data.流水号 |
| | | this.hform.HCenterName= data.工作中心 |
| | | this.hform.HCenterID= data.HCenterID |
| | | this.hform.NoOutboundHqty= (data.流转卡数量 - data.出站报废关联数量 - data.出站关联数量) |
| | | console.log(this.hform.NoOutboundHqty) |
| | | }else{ |
| | | uni.showToast({ |
| | | title:res.data.Message, |