| | |
| | | <!-- 基本信息区 --> |
| | | <view class="basic-info"> |
| | | <view class="info-row"> |
| | | <span class="info-label">到货单号:</span> |
| | | <span class="info-value">{{formData.lotNo}}</span> |
| | | <span class="info-label">送货单号:</span> |
| | | <span class="info-value">{{formData.paperBillNo}}</span> |
| | | <span class="info-label">创建人:</span> |
| | | <span class="info-value">{{formData.createBy}}</span> |
| | | </view> |
| | |
| | | <span class="detail-value">{{ scannedMaterialInfo.itemModel }}</span> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <span class="detail-label">到货单号:</span> |
| | | <span class="detail-label">送货单号:</span> |
| | | <span class="detail-value">{{ scannedMaterialInfo.billNo }}</span> |
| | | </view> |
| | | <view class="detail-row"> |
| | |
| | | <span class="detail-value">{{ (scannedMaterialInfo && scannedMaterialInfo.itemModel) || '' }}</span> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <span class="detail-label">到货单号:</span> |
| | | <span class="detail-label">送货单号:</span> |
| | | <span class="detail-value">{{ (scannedMaterialInfo && scannedMaterialInfo.billNo) || formData.lotNo }}</span> |
| | | </view> |
| | | <view class="detail-row"> |
| | |
| | | releaseNo: "", |
| | | createBy: "", |
| | | createDate: "", |
| | | lotNo: "", |
| | | paperBillNo: "", |
| | | lotNo: "", // 送检批次(用于破坏实验) |
| | | itemNo: "", |
| | | billNo: "", |
| | | fcovertQty: "", |
| | |
| | | if (params["id"]) { |
| | | this.formData.id = params["id"]; |
| | | this.formData.releaseNo = params["releaseNo"]; |
| | | this.formData.lotNo = params["lotNo"]; |
| | | this.formData.paperBillNo = params["paperBillNo"]; |
| | | this.msgId = params["msgId"]; |
| | | this.emergency = params["emergency"] |
| | | this.meom = params["meom"] |
| | |
| | | this.$post({ |
| | | url: "/LLJ/CheckPhsyRecord", |
| | | data: { |
| | | billNo: this.formData.lotNo, // 使用到货单号 |
| | | billNo: this.formData.lotNo, // 使用送检批次(破坏实验使用) |
| | | releaseNo: this.formData.releaseNo // 使用检验单号 |
| | | } |
| | | }).then(res => { |
| | |
| | | this.$post({ |
| | | url: "/LLJ/GetPhsyRecordInfo", |
| | | data: { |
| | | billNo: this.formData.lotNo, // 使用到货单号 |
| | | billNo: this.formData.lotNo, // 使用送检批次(破坏实验使用) |
| | | releaseNo: this.formData.releaseNo // 使用检验单号 |
| | | } |
| | | }).then(res => { |
| | |
| | | url: "/LLJ/GetMaterialByBarcode", |
| | | data: { |
| | | itemBarcode: qrCodeResult, |
| | | currentBillNo: this.formData.lotNo // 传递当前检验单的到货单号 |
| | | currentBillNo: this.formData.paperBillNo // 传递当前检验单的送货单号 |
| | | } |
| | | }).then(res => { |
| | | uni.hideLoading(); |
| | |
| | | this.scannedMaterialInfo = null; |
| | | uni.showModal({ |
| | | title: '物料不匹配', |
| | | content: '扫秒的条码不为该检验单物料,请重新扫描', |
| | | content: '扫描的条码不为该检验单物料,请重新扫描', |
| | | showCancel: false |
| | | }); |
| | | return; |
| | |
| | | itemBarcode: this.scannedMaterialInfo.itemBarcode || this.scannedMaterialInfo.itemNo, // 使用扫描的条码 |
| | | yqty: availableQty, // 扫码查询出来的条码数量 |
| | | cqty: destructionQty, // 填写的破坏实验数量 |
| | | billNo: this.scannedMaterialInfo.billNo, // 查询到的到货单号 |
| | | billNo: this.formData.lotNo, // 使用送检批次(破坏实验使用) |
| | | lx: 1, // 操作类型:1新增 |
| | | releaseNo: this.formData.releaseNo, // 检验单号 |
| | | itemId: this.formData.itemId // 检验单的物料ID |
| | |
| | | itemBarcode: itemBarcode, // 使用扫描的条码 |
| | | yqty: yqty, // 使用扫码查询出来的条码数量 |
| | | cqty: newQuantity, // 新的破坏实验数量 |
| | | billNo: this.formData.lotNo, // 到货单号 |
| | | billNo: this.formData.lotNo, // 送检批次(破坏实验使用) |
| | | lx: 2, // 操作类型:2修改 |
| | | releaseNo: this.formData.releaseNo, // 检验单号 |
| | | itemId: this.formData.itemId // 检验单的物料ID |
| | |
| | | itemBarcode: itemBarcode, // 使用扫描的条码 |
| | | yqty: yqty, // 使用扫码查询出来的条码数量 |
| | | cqty: cqty, // 使用当前记录的破坏数量 |
| | | billNo: this.formData.lotNo, // 到货单号 |
| | | billNo: this.formData.lotNo, // 送检批次(破坏实验使用) |
| | | lx: 3, // 操作类型:3删除 |
| | | releaseNo: this.formData.releaseNo, // 检验单号 |
| | | itemId: this.formData.itemId // 检验单的物料ID |