Browse Source

Merge branch 'bug7290'

shanbinzhang 3 weeks ago
parent
commit
510bfe6138

+ 1 - 0
src/views/chartETA/ChartDetail.vue

@@ -912,6 +912,7 @@ function openDateSelect(){
             <SourceDetail
                 :show="showSourceDetail"
                 :EdbInfoId="showEDBData.EdbInfoId"
+                :UniqueCode="showEDBData.UniqueCode"
             />
         </van-popup> 
         <!-- 上下限调整弹窗 -->

+ 5 - 1
src/views/chartETA/components/SourceDetail.vue

@@ -10,6 +10,10 @@ const props = defineProps({
     EdbInfoId:{
         type:Number,
         default:0
+    },
+    UniqueCode: {
+        type:Number,
+        default: ''
     }
 })
 
@@ -22,7 +26,7 @@ watch(()=>props.show,()=>{
 const edbSourceData = ref([])
 async function getEdbInfo(){
     const res = await apiChart.getEdbCreateHistory({
-        EdbInfoId:props.EdbInfoId
+        UniqueCode:props.UniqueCode
     })
     if(res.Ret!==200) return 
     edbSourceData.value = flatTreeData([res.Data]||[]).reverse()

+ 1 - 0
src/views/myETA/components/EDBInfo.vue

@@ -272,6 +272,7 @@ function goDetail(){
         <SourceDetail
             :show="showSourceDetail"
             :EdbInfoId="data.EdbInfoId"
+            :UniqueCode="data.UniqueCode"
         />
     </van-popup> 
 </template>