From 25050d297012c4e0cfd22252a8b3fff96b70dc1f Mon Sep 17 00:00:00 2001 From: yyb <995253665@qq.com> Date: 星期五, 25 七月 2025 15:28:26 +0800 Subject: [PATCH] 批次号必输 --- pages/product/report/components/saveForm.vue | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/pages/product/report/components/saveForm.vue b/pages/product/report/components/saveForm.vue index 22841b1..a5d0a6e 100644 --- a/pages/product/report/components/saveForm.vue +++ b/pages/product/report/components/saveForm.vue @@ -14,6 +14,14 @@ <view class="packing-registration-param-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.outBatchNo" /> + </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"> @@ -165,8 +173,17 @@ this.$refs.uModal.clearLoading(); // 娓呴櫎鍔犺浇鐘舵�� return; } + if (!this.form.outBatchNo) { + this.$u.toast("璇疯緭鍏ユ壒鍙�"); + this.$refs.uModal.clearLoading(); // 娓呴櫎鍔犺浇鐘舵�� + return; + } this.operationTaskList.operationTaskId = this.operationTaskList.id; this.form.operationTaskId = this.operationTaskList.id; + this.form.status = this.operationTaskList.status; + this.form.Persons = this.operationTaskList.Persons; + this.form.productStaffIds = this.operationTaskList.productStaffIds; + this.form.productStaffs = this.operationTaskList.productStaffs; this.operationTaskList.productOutputList = []; // 鍒涘缓涓�涓┖鏁扮粍 this.operationTaskList.productOutputList.push(this.form); // 鍚戞暟缁勪腑娣诲姞鍏冪礌 console.log("this.operationTaskList", this.operationTaskList); -- Gitblit v1.9.3