34 lines
717 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view class="container">
详情{{saleid}}
</view>
</template>
<script setup>
import { ref, onMounted } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
const saleid = ref('')
onLoad((options) => {
if (options.saleid) {
saleid.value = options.saleid
// 这里可以根据saleid请求详情数据
console.log('加载合同详情ID:', saleid.value)
// loadContractDetail(saleid.value)
}
})
function loadContractDetail(id) {
// 根据saleid请求详情数据的逻辑
console.log('加载合同详情ID:', id)
}
</script>
<style scoped>
.container {
padding: 10px;
background-color: #f5f7fa;
min-height: 100vh;
}
</style>