顶部样式
This commit is contained in:
@@ -75,3 +75,16 @@ export const reportQuery = (st, et, code, wcode) => post('api/produceWorkorder/r
|
|||||||
device_code: code,
|
device_code: code,
|
||||||
workorder_code: wcode
|
workorder_code: wcode
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// 修改报工数量
|
||||||
|
export const updateReport = (id, report, nok, repare) => post('api/produceshiftorder/updateReport', {
|
||||||
|
macoperate_id: id,
|
||||||
|
report_qty: report,
|
||||||
|
nok_qty: nok,
|
||||||
|
repare_qty: repare
|
||||||
|
})
|
||||||
|
|
||||||
|
// 删除报工记录
|
||||||
|
export const deleteReport = (id) => post('api/produceshiftorder/deleteReport', {
|
||||||
|
macoperate_id: id
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,16 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="header-user-content">
|
<div class="header-user-content" @click="toSelect">
|
||||||
<div class="header-user-txt">
|
<div class="header-user-txt">
|
||||||
<span class="span1">登录人员:</span>
|
<span class="span1">登录人员:</span>
|
||||||
<span class="span2">{{userName}}</span>
|
<span class="span2">admin{{userName}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="drop-button-wraper" @click="toSelect"><span class="icon_dropdown"></span></div>
|
<div class="drop-button-wraper"><span class="icon_dropdown"></span></div>
|
||||||
<div v-show="show" class="dropdown-wrap">
|
<div v-show="show" class="dropdown-wrap">
|
||||||
<ul class="dropdown-list drift">
|
<ul class="dropdown-list drift">
|
||||||
<li class="dropdown-item" @click="exit">退出</li>
|
<li class="dropdown-item" @click="exit">退出</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<div class="popper__arrow"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-time-wrap">
|
<div class="header-time-wrap">
|
||||||
@@ -107,13 +108,16 @@ export default {
|
|||||||
position relative
|
position relative
|
||||||
height 45px
|
height 45px
|
||||||
_fj(flex-start)
|
_fj(flex-start)
|
||||||
|
cursor pointer
|
||||||
.header-user-txt
|
.header-user-txt
|
||||||
height 100%
|
padding 14.5px 0
|
||||||
line-height 45px
|
line-height 1
|
||||||
.span1
|
.span1
|
||||||
_font(14px, 1, #fff,,)
|
_font(14px, 1, #fff,,)
|
||||||
|
vertical-align middle
|
||||||
.span2
|
.span2
|
||||||
_font(16px, 1, #fff,,)
|
_font(16px, 1, #fff,,)
|
||||||
|
vertical-align middle
|
||||||
.drop-button-wraper
|
.drop-button-wraper
|
||||||
height 100%
|
height 100%
|
||||||
line-height 45px
|
line-height 45px
|
||||||
@@ -123,7 +127,8 @@ export default {
|
|||||||
vertical-align middle
|
vertical-align middle
|
||||||
.dropdown-wrap
|
.dropdown-wrap
|
||||||
position absolute
|
position absolute
|
||||||
top 45px
|
width 100%
|
||||||
|
top 39px
|
||||||
right 0
|
right 0
|
||||||
transform-origin center top
|
transform-origin center top
|
||||||
transition transform .3s ease-in-out
|
transition transform .3s ease-in-out
|
||||||
@@ -135,8 +140,23 @@ export default {
|
|||||||
.dropdown-list
|
.dropdown-list
|
||||||
padding 0
|
padding 0
|
||||||
.dropdown-item
|
.dropdown-item
|
||||||
_font(14px, 34px, #606266,,)
|
_font(14px, 34px, #606266,,center)
|
||||||
padding 0 20px
|
padding 0 20px
|
||||||
|
.popper__arrow
|
||||||
|
position absolute
|
||||||
|
display block
|
||||||
|
width 0
|
||||||
|
height 0
|
||||||
|
border-color transparent
|
||||||
|
border-style solid
|
||||||
|
border-width 6px
|
||||||
|
filter drop-shadow(0 2px 12px rgba(0,0,0,.03))
|
||||||
|
top -6px
|
||||||
|
left 50%
|
||||||
|
transform translateX(-50%)
|
||||||
|
margin-right 3px
|
||||||
|
border-top-width 0
|
||||||
|
border-bottom-color #ebeef5
|
||||||
.header-time-wrap
|
.header-time-wrap
|
||||||
height 45px
|
height 45px
|
||||||
.header-time
|
.header-time
|
||||||
|
|||||||
Reference in New Issue
Block a user