From e9ebe0b65f45b5ecb5729f22bc7e54ce479314d7 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期五, 20 六月 2025 17:12:38 +0800
Subject: [PATCH] 报工以及取消报工联调

---
 pages/product/report/components/saveForm.vue |   31 +++++++++++++++++++++----------
 1 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/pages/product/report/components/saveForm.vue b/pages/product/report/components/saveForm.vue
index 07dfda6..9ec9a98 100644
--- a/pages/product/report/components/saveForm.vue
+++ b/pages/product/report/components/saveForm.vue
@@ -39,6 +39,14 @@
               <u-input class="item-one item-two" v-model="form.reelNumber" />
             </view>
           </view>
+		  <view class="packing-registration-param-item param-extra">
+		    <view class="packing-registration-param-item-left">
+		      <text class="item-one">鐩橀噸</text>
+		    </view>
+		    <view class="packing-registration-param-item-right">
+		      <u-input class="item-one item-two" v-model="form.reelWeight" />
+		    </view>
+		  </view>
           <view class="packing-registration-param-item param-extra">
             <view class="packing-registration-param-item-left">
               <text class="item-one">姣涢噸</text>
@@ -52,7 +60,7 @@
               <text class="item-one">鍑�閲�</text>
             </view>
             <view class="packing-registration-param-item-right">
-              <u-input class="item-one item-two" v-model="form.theoryWeight" />
+              <u-input class="item-one item-two" v-model="form.netWeight" />
             </view>
           </view>
           <view class="packing-registration-param-item param-extra">
@@ -60,7 +68,7 @@
               <text class="item-one">宸ュ簭</text>
             </view>
             <view class="packing-registration-param-item-right">
-              <u-input class="item-one item-two" v-model="form.name" />
+              <u-input class="item-one item-two" v-model="form.name" disabled />
             </view>
           </view>
           <view class="packing-registration-param-item param-extra">
@@ -100,7 +108,10 @@
               <text class="item-one item-two">鐢熶骇閫熷害</text>
             </view>
             <view class="packing-registration-param-item-right">
-              <u-input class="item-one item-two" v-model="form.productionSpeed" />
+              <u-input
+                class="item-one item-two"
+                v-model="form.productionSpeed"
+              />
             </view>
           </view>
         </view>
@@ -151,15 +162,15 @@
         this.$refs.uModal.clearLoading(); // 娓呴櫎鍔犺浇鐘舵��
         return;
       }
-	  this.operationTaskList.operationTaskId = this.operationTaskList.id
-	  this.form.operationTaskId = this.operationTaskList.id
-	  this.operationTaskList.productOutputList = []; // 鍒涘缓涓�涓┖鏁扮粍
-	  this.operationTaskList.productOutputList.push(this.form); // 鍚戞暟缁勪腑娣诲姞鍏冪礌
-	  console.log('this.operationTaskList',this.operationTaskList)
+      this.operationTaskList.operationTaskId = this.operationTaskList.id;
+      this.form.operationTaskId = this.operationTaskList.id;
+      this.operationTaskList.productOutputList = []; // 鍒涘缓涓�涓┖鏁扮粍
+      this.operationTaskList.productOutputList.push(this.form); // 鍚戞暟缁勪腑娣诲姞鍏冪礌
+      console.log("this.operationTaskList", this.operationTaskList);
       this.$u.api.workReporting
         .submitPDA(this.operationTaskList)
         .then((res) => {
-          this.$emit('update')
+          this.$emit("update");
           this.$refs.uModal.cancel();
         });
     },
@@ -169,7 +180,7 @@
     },
     open(val) {
       this.show = true;
-       this.form = val.data;
+      this.form = val.data;
     },
   },
 };

--
Gitblit v1.9.3