清洗
This commit is contained in:
@@ -43,8 +43,7 @@ export const authority = () => {
|
|||||||
name: '清洗管理',
|
name: '清洗管理',
|
||||||
sonTree: [
|
sonTree: [
|
||||||
{menu_id: '1', name: '清洗上料', path: '/cleaningloading'},
|
{menu_id: '1', name: '清洗上料', path: '/cleaningloading'},
|
||||||
{menu_id: '2', name: '清洗下料', path: '/cleaningcutting'},
|
{menu_id: '2', name: '人工倒料', path: '/manpour'}
|
||||||
{menu_id: '3', name: '人工倒料', path: '/manpour'}
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{menu_id: '6',
|
{menu_id: '6',
|
||||||
|
|||||||
@@ -321,16 +321,16 @@ export const washSubmitWash = (arr) => post('api/pda/wash/submitWash', arr)
|
|||||||
* 清洗下料
|
* 清洗下料
|
||||||
*/
|
*/
|
||||||
// 1.1查询列表
|
// 1.1查询列表
|
||||||
// export const washWashTasks = (area) => post('api/pda/wash/washTasks', {
|
export const washWashTasks = (area) => post('api/pda/wash/washTasks', {
|
||||||
// product_area: area
|
product_area: area
|
||||||
// })
|
})
|
||||||
export const washWashTasks = (area) => {
|
// export const washWashTasks = (area) => {
|
||||||
let res = {
|
// let res = {
|
||||||
code: 200,
|
// code: 200,
|
||||||
content: [{task_id: '1', sep_on: '1'}, {task_id: '2', sep_on: '2'}]
|
// content: [{task_id: '1', sep_on: '1'}, {task_id: '2', sep_on: '2'}]
|
||||||
}
|
// }
|
||||||
return res
|
// return res
|
||||||
}
|
// }
|
||||||
// 1.2获取信息
|
// 1.2获取信息
|
||||||
export const washWashVechileInfo = (area) => post('api/pda/wash/washVechileInfo', {
|
export const washWashVechileInfo = (area) => post('api/pda/wash/washVechileInfo', {
|
||||||
product_area: area
|
product_area: area
|
||||||
|
|||||||
@@ -56,8 +56,8 @@
|
|||||||
<td>{{ e.device_code }}</td>
|
<td>{{ e.device_code }}</td>
|
||||||
<td>{{e.material_code}}</td>
|
<td>{{e.material_code}}</td>
|
||||||
<td>{{e.material_spec}}</td>
|
<td>{{e.material_spec}}</td>
|
||||||
<td>{{e.deviceinstor_qty | numeric(3)}}</td>
|
<td>{{e.deviceinstor_weight | numeric(3)}}</td>
|
||||||
<td>{{ e.deviceinstor_weight | numeric(3) }}</td>
|
<td>{{ e.deviceinstor_qty | numeric(3) }}</td>
|
||||||
<td>{{ e.task_code }}</td>
|
<td>{{ e.task_code }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -145,6 +145,4 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
.grid_wraper
|
|
||||||
height calc(100% - 95px)
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -5,11 +5,18 @@
|
|||||||
@switchColor="switchColor"
|
@switchColor="switchColor"
|
||||||
/>
|
/>
|
||||||
<div class="body-container">
|
<div class="body-container">
|
||||||
<div class="main-container">
|
<div v-show="$route.meta.guidePath !== '4'" class="tabs_wrap">
|
||||||
<keep-alive :include="keepAlive" >
|
<ul class="tabs">
|
||||||
<router-view/>
|
<li v-for="i in menus" :key="i.index">
|
||||||
</keep-alive>
|
<router-link :to="i.router" :class="{'router-link-active': i.router === $route.path}">{{i.label}}</router-link>
|
||||||
</div>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="main-container" :style="$route.meta.guidePath !== '4' ? 'height: calc(100% - 44px)' : 'height: 100%'">
|
||||||
|
<keep-alive :include="keepAlive" >
|
||||||
|
<router-view/>
|
||||||
|
</keep-alive>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -22,7 +29,22 @@ export default {
|
|||||||
jxHeader
|
jxHeader
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {}
|
return {
|
||||||
|
menus: [
|
||||||
|
{
|
||||||
|
label: '清洗上料',
|
||||||
|
router: '/cleaningloading'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '清洗下料',
|
||||||
|
router: '/cleaningcutting'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '人工倒料',
|
||||||
|
router: '/manpour'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
title () {
|
title () {
|
||||||
@@ -58,6 +80,27 @@ export default {
|
|||||||
margin 0 auto 10px
|
margin 0 auto 10px
|
||||||
padding 5px
|
padding 5px
|
||||||
border 1px solid #484cce
|
border 1px solid #484cce
|
||||||
|
.tabs_wrap
|
||||||
|
height 34px
|
||||||
|
margin-bottom 10px
|
||||||
|
.tabs
|
||||||
|
height 34px
|
||||||
|
li
|
||||||
|
float left
|
||||||
|
line-height 32px
|
||||||
|
text-align center
|
||||||
|
padding-right 10px
|
||||||
|
a
|
||||||
|
display inline-block
|
||||||
|
color #fff
|
||||||
|
width 100%
|
||||||
|
padding 0 10px
|
||||||
|
font-size 14px
|
||||||
|
border-bottom 1px solid #2aa6f9
|
||||||
|
.router-link-active
|
||||||
|
background linear-gradient(#0de0ff 0%,#2aa6f9 100%)
|
||||||
|
border-top-left-radius 12px
|
||||||
|
border-top-right-radius 12px
|
||||||
.main-container
|
.main-container
|
||||||
_wh(100%, 100%)
|
width 100%
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user