xwt
2025-11-13 252915c14e8d8ba92f2f41635a1c802c4503e52a
pages/QC/LLJ/Add.vue
@@ -13,8 +13,8 @@
      <!-- 基本信息区 -->
      <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>
@@ -196,7 +196,7 @@
                        <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">
@@ -261,7 +261,7 @@
                        <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">
@@ -543,7 +543,8 @@
               releaseNo: "",
               createBy: "",
               createDate: "",
               lotNo: "",
               paperBillNo: "",
               lotNo: "", // 送检批次(用于破坏实验)
               itemNo: "",
               billNo: "",
               fcovertQty: "",
@@ -637,7 +638,7 @@
         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"]
@@ -1572,7 +1573,7 @@
            this.$post({
               url: "/LLJ/CheckPhsyRecord",
               data: {
                  billNo: this.formData.lotNo, // 使用到货单号
                  billNo: this.formData.lotNo, // 使用送检批次(破坏实验使用)
                  releaseNo: this.formData.releaseNo // 使用检验单号
               }
            }).then(res => {
@@ -1621,7 +1622,7 @@
            this.$post({
               url: "/LLJ/GetPhsyRecordInfo",
               data: {
                  billNo: this.formData.lotNo, // 使用到货单号
                  billNo: this.formData.lotNo, // 使用送检批次(破坏实验使用)
                  releaseNo: this.formData.releaseNo // 使用检验单号
               }
            }).then(res => {
@@ -1745,7 +1746,7 @@
               url: "/LLJ/GetMaterialByBarcode",
               data: {
                  itemBarcode: qrCodeResult,
                  currentBillNo: this.formData.lotNo  // 传递当前检验单的到货单号
                  currentBillNo: this.formData.paperBillNo  // 传递当前检验单的送货单号
               }
            }).then(res => {
               uni.hideLoading();
@@ -1760,7 +1761,7 @@
                     this.scannedMaterialInfo = null;
                     uni.showModal({
                        title: '物料不匹配',
                        content: '扫秒的条码不为该检验单物料,请重新扫描',
                        content: '扫描的条码不为该检验单物料,请重新扫描',
                        showCancel: false
                     });
                     return;
@@ -1878,7 +1879,7 @@
                  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
@@ -1963,7 +1964,7 @@
                  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
@@ -2037,7 +2038,7 @@
                  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