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;