From ba9bf955bbe50253e86e56ac2ab7961d8a1f9569 Mon Sep 17 00:00:00 2001 From: ShenQiLun <97694732@qq.com> Date: Thu, 2 Jul 2026 17:15:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=8F=90=E4=BA=A4=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=9C=A8=E5=BE=85=E5=85=A5=E5=BA=93=E4=B8=BA?= =?UTF-8?q?0=E6=88=96=E8=A1=A8=E5=8D=95=E6=9C=AA=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E6=97=B6=E7=BD=AE=E7=81=B0=E4=B8=8D=E5=8F=AF=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/upload/upload.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index 2267b39..85b226c 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -725,7 +725,7 @@ 确认上传 - + 提交入库({{ pendingCount }}) @@ -1088,6 +1088,14 @@ export default { }, computed: { + // 表单是否已清空(用于控制提交入库按钮) + isFormCleared() { + if (this.swiperIndex === 0) { + return !(this.isbn || this.bookName) + } else { + return !(this.noIsbnBookName) + } + }, warehouseLocked() { return !!(this._warehouseLocked) }, @@ -4475,6 +4483,11 @@ picker { justify-content: center; } +.receive-btn.disabled { + opacity: 0.5; + pointer-events: none; +} + .receive-text { color: #ffffff; font-size: 30rpx;