From c612912d4132e4d7b4a58279071fac837891c381 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期五, 27 九月 2024 17:08:25 +0800
Subject: [PATCH] feat:库管确认装卸毛重净重按条件显示,司机填原发信息增加限制

---
 pages/public-page/forward/forward.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/pages/public-page/forward/forward.vue b/pages/public-page/forward/forward.vue
index 4998e83..db7585b 100644
--- a/pages/public-page/forward/forward.vue
+++ b/pages/public-page/forward/forward.vue
@@ -645,6 +645,10 @@
 						this.$u.toast('璇疯緭鍏ュ悎娉曟暟瀛�');
 						isPass = false;
 						return isPass;
+					} else if (!v.name){
+						this.$u.toast('璇烽�夋嫨杞﹂槦');
+						isPass = false;
+						return isPass;
 					} else {
 						isPass = true;
 						return isPass;
@@ -656,7 +660,7 @@
 					this.$reqPost('forward', this.jhOrderPlanForwardList, 'json').then(res => {
 						console.log(res, 'zh');
 						// res.data.length == 0 鎻愪氦鎴愬姛 鍚﹀垯鎻愪氦澶辫触
-						if (res.data.length == 0) {
+						if (res.code === 0) {
 							this.loading = false
 							this.$u.toast('鎻愪氦鎴愬姛');
 							if(/鑱氭隘涔欑儻鏍戣剛/.test(this.productName)){

--
Gitblit v1.9.1