| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <PageHeader content="生产订单" /> |
| | | <PageHeader v-if="showHeader" |
| | | content="生产订单" /> |
| | | <el-card style="height:82vh;overflow:auto;"> |
| | | <template #header> |
| | | <div class="card-header"> |
| | |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { ref, reactive, onMounted } from "vue"; |
| | | import { ref, reactive, onMounted, computed } from "vue"; |
| | | import { useRoute, useRouter } from "vue-router"; |
| | | import { ElMessage } from "element-plus"; |
| | | import { parseTime } from "@/utils/ruoyi"; |
| | |
| | | const route = useRoute(); |
| | | const router = useRouter(); |
| | | |
| | | // 判断是否显示页头 |
| | | const showHeader = computed(() => { |
| | | return ( |
| | | Object.keys(route.query).length > 0 || Object.keys(route.params).length > 0 |
| | | ); |
| | | }); |
| | | |
| | | // 搜索相关 |
| | | const searchForm = reactive({ |
| | | npsNo: "", |