Browse Source

货代bug 2024-1-26

caojunjie 1 year ago
parent
commit
01a389c498
1 changed files with 6 additions and 2 deletions
  1. 6 2
      src/views/iosBasicData/aiamends/amendsDetails.vue

+ 6 - 2
src/views/iosBasicData/aiamends/amendsDetails.vue

@@ -1140,10 +1140,14 @@ export default {
                 mblno: this.form.mblno ? this.form.mblno : null,
                 hblno: this.form.hblno ? this.form.hblno : null,
                 refno: this.form.refno ? this.form.refno : null,
-                bookingNo: this.form.bookingNo ? this.form.bookingNo : null,
+                type:'AI'
             }).then(res => {
-                this.retrievePopupsType = true
                 this.retrievePopupsData = res.data.data
+                if (res.data.data.length == 1) {
+                    this.retrievePopupsSelect(this.retrievePopupsData[0])
+                }else {
+                    this.retrievePopupsType = true
+                }
             })
         },
         // 多选回调