Parcourir la source

fix 修改 bug

ylong il y a 2 mois
Parent
commit
bafd3d2c53

+ 5 - 5
pages/index/detail/components/ReviewBookInfo.vue

@@ -44,11 +44,11 @@ const auditNum = computed(() => {
 });
 
 function handleBookClick(book) {
-    if(book.auditReviewComment?.sts){
-        uni.$u.toast("该书已复审完成");
-        uni.$u.ttsModule.speak("该书已复审完成");
-        return;
-    }
+    // if(book.auditReviewComment?.sts){
+    //     uni.$u.toast("该书已复审完成");
+    //     uni.$u.ttsModule.speak("该书已复审完成");
+    //     return;
+    // }
     uni.navigateTo({
         url: `/pages/index/detail/review-book?isbn=${book.isbn}&orderId=${props.detail.orderId}&auditReviewId=${book.auditReviewComment.auditReviewId}&&index=${book.auditReviewComment.index}`,
     });

+ 5 - 0
pages/index/detail/components/ReviewInfo.vue

@@ -136,6 +136,11 @@ const auditList = ref([
 function radioClick(sts) {
     if (sts == 2) return;
     form.value.reviewAuditSts = sts;
+    // 选中“品相良好”时,清空“品相极差”下已选择的原因
+    if (sts === 1) {
+        form.value.auditList = [];
+        form.value.reviewAudit = '';
+    }
 }
 
 defineExpose({

+ 1 - 1
pages/index/detail/review-detail.vue

@@ -103,7 +103,7 @@ function handleBindCode() {
     uni.$u.toast("暂无开发");
 }
 
-const list = ref(["图书清单", "物流信息", "上传附件"]);
+const list = ref(["不良清单", "物流信息", "上传附件"]);
 const current = ref(0);
 const handleSectionChange = (index) => {
     current.value = index;