From 435036a0ccc171f00679f5db0b1922a098fcf2f2 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期五, 17 十月 2025 10:36:20 +0800
Subject: [PATCH] 核磅录入的字段映射

---
 pages/product/report/index.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/pages/product/report/index.vue b/pages/product/report/index.vue
index 48371fa..a660941 100644
--- a/pages/product/report/index.vue
+++ b/pages/product/report/index.vue
@@ -703,12 +703,14 @@
           copperList.executiveStandard = val.ES;
           copperList.netWeight = val.NW;
           copperList.specificationType = val.ST;
-          copperList.grossWeight = val.TR;
+          copperList.reelWeight= val.TR;
+          copperList.grossWeight = val.TW;
           copperList.operationTaskId = this.form.id;
           copperList.status = this.form.status;
           copperList.Persons = this.form.Persons;
           copperList.productStaffIds = this.form.productStaffIds;
           copperList.productStaffs = this.form.productStaffs;
+          copperList.dutyRecordId = this.dutyId;
           this.form.productOutputList = [];
           this.form.operationTaskId = this.form.id;
           this.form.dutyRecordId = this.dutyId;
@@ -716,6 +718,8 @@
           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);
             // this.getHandelList();
             this.$u.toast("鎶ュ伐鎴愬姛");

--
Gitblit v1.9.3