|
|
|
@ -99,7 +99,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
|
|
<script setup lang="ts">
|
|
|
|
import { ref, reactive, onMounted, toRefs } from 'vue'
|
|
|
|
import { ref, reactive, onMounted, watch } from 'vue'
|
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
|
import request from '@/utils/request'
|
|
|
|
import request from '@/utils/request'
|
|
|
|
import type { ProductionRecord, ProductionDashboardSummary } from '@/types'
|
|
|
|
import type { ProductionRecord, ProductionDashboardSummary } from '@/types'
|
|
|
|
@ -254,4 +254,9 @@ function handleAdjust(row: ProductionRecord){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onMounted(init)
|
|
|
|
onMounted(init)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 监听页码和每页条数变化,自动重新加载数据
|
|
|
|
|
|
|
|
watch([() => page.page, () => page.pageSize], () => {
|
|
|
|
|
|
|
|
loadData()
|
|
|
|
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|