yyb
11 小时以前 74ead6f7bb66fe8d3f8db11b1cbadd92b57e28d1
解决铜杆报工的数据覆盖问题
已修改1个文件
12 ■■■■ 文件已修改
pages/product/report/index.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/product/report/index.vue
@@ -711,6 +711,7 @@
          copperList.productStaffIds = this.form.productStaffIds;
          copperList.productStaffs = this.form.productStaffs;
          copperList.dutyRecordId = this.dutyId;
          copperList.proposedLocation = this.form.proposedLocation;
          this.form.productOutputList = [];
          this.form.operationTaskId = this.form.id;
          this.form.dutyRecordId = this.dutyId;
@@ -718,9 +719,14 @@
          console.log("this.form", this.form);
          this.$u.api.workReporting.submitPDA(this.form).then((res) => {
            this.subdisabled = true;
            this.form.outBatchNo = val.BN;
             this.form.netWeight = val.NW;
            this.InventoryReceiptList.unshift(this.form);
            console.log("val", val);
            // this.form.outBatchNo = val.BN;
            // this.form.netWeight = val.NW;
            console.log("this.form", this.form);
            this.InventoryReceiptList.unshift(this.form.productOutputList[0]);
            console.log("this.InventoryReceiptList", this.InventoryReceiptList);
            // this.getHandelList();
            this.$u.toast("报工成功");
          });