From 4f940f90c4458bfa4e5f514eeca639ac97c71039 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期二, 01 八月 2023 16:33:47 +0800
Subject: [PATCH] 修改抢单错误

---
 pages/driver-page/driver-index/driver-index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pages/driver-page/driver-index/driver-index.vue b/pages/driver-page/driver-index/driver-index.vue
index cddf65a..b00d209 100644
--- a/pages/driver-page/driver-index/driver-index.vue
+++ b/pages/driver-page/driver-index/driver-index.vue
@@ -292,13 +292,13 @@
 			// 鎶㈠崟鎸夐挳
 			qiangDanBtn(value) {
 				if (value.tmcCount == '0') {
-					this.qiangDan(value.orderPlanId, value.fleetId, value.customerId === '' ? '0' : value.customerId,
-						value.xsUserId === '' ? '0' : value.xsUserId);
+					this.qiangDan(value.orderPlanId, value.fleetId, value.customerId === null ? '0' : value.customerId,
+						value.xsUserId === null ? '0' : value.xsUserId);
 				} else {
 					this.qiangDanOrderPlanId = value.orderPlanId;
 					this.fleetId = value.fleetId;
-					this.customerId = value.customerId === '' ? '0' : value.customerId;
-					this.xsUserId = value.xsUserId === '' ? '0' : value.xsUserId;
+					this.customerId = value.customerId === null ? '0' : value.customerId;
+					this.xsUserId = value.xsUserId === null ? '0' : value.xsUserId;
 					this.qiangDanShow = true;
 					this.qiangDanContent = `宸叉姠${value.tmcCount}鍗曪紝纭畾鎶㈠崟锛焋;
 				}

--
Gitblit v1.9.1