|
|
|
@ -360,6 +360,12 @@
|
|
|
|
|
></edittablehead> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script lang="ts"> |
|
|
|
|
export default { |
|
|
|
|
name: '/distribution/artery/truckLoadingDetails', |
|
|
|
|
}; |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
|
import { ref, reactive, toRefs, computed, onMounted, nextTick, watch } from 'vue'; |
|
|
|
|
import functions from '@/utils/functions'; |
|
|
|
@ -1650,21 +1656,13 @@ const handleBatchLoadConfirm = () => {
|
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
watch( |
|
|
|
|
$route, |
|
|
|
|
(newVal, oldVal) => { |
|
|
|
|
console.log('newVal :>> ', newVal); |
|
|
|
|
console.log('oldVal :>> ', oldVal); |
|
|
|
|
if (newVal.path !== '/distribution/artery/truckLoadingDetails') return; |
|
|
|
|
details.pageInfo.loadId = $route.query.loadId; |
|
|
|
|
details.pageInfo.type = $route.query.type; |
|
|
|
|
console.log('details.pageInfo :>> ', details.pageInfo); |
|
|
|
|
onLoad(); |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
immediate: true, |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|
const initPage = () => { |
|
|
|
|
details.pageInfo.loadId = $route.query.loadId; |
|
|
|
|
details.pageInfo.type = $route.query.type; |
|
|
|
|
onLoad(); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
initPage(); |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
|
|