yyb
2 天以前 26c601a5e0285f68041e3408ca610157a75c9cf6
pages/product/report/seachPersonnelNo.vue
@@ -178,37 +178,37 @@
         selectRecommendation(item) {
            console.log('选择推荐项:', item);
            console.log('选择推荐项:', this.moOn);
            // this.$u.api.cancelReporting
            //    .selInputPartInfoPDA({
            //       outBatchNo: item.lotBatchNo,
            //       partNo: item.partNo,
            //       moOn: this.moOn,
            //    })
            //    .then((res) => {
            //       const list = {
            //          suppliedQuantity: res.data.suppliedQuantity,
            //          ifsBatchNo: res.data.ifsBatchNo,
            //          partNo: res.data.partNo,
            //          partName: res.data.partName,
            //          locationNo: res.data.locationNo,
            //          ifsLineItemNo: res.data.ifsLineItemNo,
            //          serialNo: res.data.serialNo,
            //          engChgLevel: res.data.engChgLevel,
            //          ifsWdr: res.data.waivDevRejNo,
            //          activitySeq: res.data.activitySeq,
            //       };
            //       this.detailedList = list;
            //       this.showModal = true;
            //       // 清空输入框和推荐列表
            //       this.keywords = '';
            //       this.recommendations = [];
            //    });
                  this.detailedList = item;
                  this.detailedList.suppliedQuantity = item.availableStockQuantity;
            this.$u.api.cancelReporting
               .selInputPartInfoPDA({
                  outBatchNo: item.ifsBatchNo,
                  partNo: item.partNo,
                  moOn: this.moOn,
               })
               .then((res) => {
                  const list = {
                     suppliedQuantity: res.data.suppliedQuantity,
                     ifsBatchNo: res.data.ifsBatchNo,
                     partNo: res.data.partNo,
                     partName: res.data.partName,
                     locationNo: res.data.locationNo,
                     ifsLineItemNo: res.data.ifsLineItemNo,
                     serialNo: res.data.serialNo,
                     engChgLevel: res.data.engChgLevel,
                     ifsWdr: res.data.waivDevRejNo,
                     activitySeq: res.data.activitySeq,
                  };
                  this.detailedList = list;
                  this.showModal = true;
                  // 清空输入框和推荐列表
                  this.keywords = '';
                  this.recommendations = [];
               });
                  // this.detailedList = item;
                  // this.detailedList.suppliedQuantity = item.availableStockQuantity;
                  // this.showModal = true;
                  // // 清空输入框和推荐列表
                  // this.keywords = '';
                  // this.recommendations = [];
         },
         updateArray(arr, newObj) {