mes_mobile/pages/index/schedule.vue

79 lines
1.9 KiB
Vue
Raw Normal View History

2024-02-19 16:53:38 +08:00
<template>
2024-04-11 18:54:43 +08:00
<!-- 工单进度管理 -->
2024-04-23 11:48:55 +08:00
<view class="page_padding columnFlex">
<view class="headerView" :class="headerFixed?'headerViewFixed':''">
<searchView placeholder=" 搜索工单" />
</view>
<view class="flexBox">
<view class="detail_list contentboxsty font13" v-for="(item,index) in list" :key="index">
<view @click="toDetail(497)">
<view class="list_top">
<view class="top_left">
工单号{{item.sn}}
</view>
<view class="top_right">
工单详情<text class="arrow iconfont icon-gengduo"></text>
</view>
2024-02-19 16:53:38 +08:00
</view>
2024-04-23 11:48:55 +08:00
<view class="list_content">
<view class="list_row">
<text class="name">开始时间</text>
<text class="text">24-01-12 08:00</text>
</view>
<view class="list_row padd_top12">
<text class="name">计划完成</text>
<text class="text">24-01-12 08:00</text>
</view>
<view class="padd_top12">
<progressBar :total="100" :val="item.num" title="" />
</view>
<view class="card_right">
<view class="status">生产中</view>
</view>
2024-02-19 16:53:38 +08:00
</view>
</view>
2024-04-23 11:48:55 +08:00
</view>
2024-04-11 18:54:43 +08:00
</view>
</view>
</template>
2024-02-19 16:53:38 +08:00
<script>
export default {
components: {
2024-04-23 11:48:55 +08:00
2024-04-11 18:54:43 +08:00
},
data() {
return {
2024-04-23 11:48:55 +08:00
list:[
{name:'',sn:"SO20240422000002",num:20},{name:'',sn:"SO20240422000002",num:70},{name:'',sn:"SO20240422000002",num:90},
{name:'',sn:"SO20240422000002",num:20},{name:'',sn:"SO20240422000002",num:70},{name:'',sn:"SO20240422000002",num:90}
]
2024-04-11 18:54:43 +08:00
}
},
methods: {
2024-04-23 11:48:55 +08:00
toDetail(id){
uni.navigateTo({
url:'/pages/production/productionDetail?id='+id
})
},
2024-04-11 18:54:43 +08:00
}
}
</script>
2024-04-23 11:48:55 +08:00
<style scoped lang="scss">
.page_padding{
padding-top: 0;
}
2024-02-19 16:53:38 +08:00
.detail_list{
2024-04-23 11:48:55 +08:00
.list_content{
.list_row{
.name{
width: 65px;
display: inline-block;
font-weight: bold;
}
2024-03-13 16:07:11 +08:00
}
2024-02-19 16:53:38 +08:00
}
2024-04-11 18:54:43 +08:00
}
</style>