From e008da759c89b58431fc0c3a1b8f31759091c873 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 05 十一月 2025 19:50:27 +0800
Subject: [PATCH] 铜杆检测传wdr号
---
pages/product/report/index.vue | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/pages/product/report/index.vue b/pages/product/report/index.vue
index 48371fa..2b98391 100644
--- a/pages/product/report/index.vue
+++ b/pages/product/report/index.vue
@@ -697,18 +697,22 @@
if (valid) {
const copperList = {};
+ copperList.wdr = val.PT;
copperList.outBatchNo = val.BN;
copperList.partNo = val.PN;
copperList.weighingClerk = val.WC;
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;
+ copperList.proposedLocation = this.form.proposedLocation;
this.form.productOutputList = [];
this.form.operationTaskId = this.form.id;
this.form.dutyRecordId = this.dutyId;
@@ -716,7 +720,14 @@
console.log("this.form", this.form);
this.$u.api.workReporting.submitPDA(this.form).then((res) => {
this.subdisabled = true;
- 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("鎶ュ伐鎴愬姛");
});
--
Gitblit v1.9.3