工序扫码
This commit is contained in:
@@ -13,10 +13,10 @@
|
|||||||
@blur="handleBlur($event)"
|
@blur="handleBlur($event)"
|
||||||
@input="handleChange($event)">
|
@input="handleChange($event)">
|
||||||
<div class="button_box">
|
<div class="button_box">
|
||||||
<button v-show="scanShow === true" class="search_box_icon fxcol" @click="handleScan">
|
<button v-show="scanShow === true" class="search_box_icon fxcol" :class="{'bor_r': keyShow === true || seaShow === true}" @click="handleScan">
|
||||||
<span class="iconfont scan_icon" :class="{'scan_icon_checked': type === true}"></span>
|
<span class="iconfont scan_icon" :class="{'scan_icon_checked': type === true}"></span>
|
||||||
</button>
|
</button>
|
||||||
<button v-show="keyShow === true" class="search_box_icon fxcol" @click="handleKey">
|
<button v-show="keyShow === true" class="search_box_icon fxcol" :class="{'bor_r': seaShow === true}" @click="handleKey">
|
||||||
<span class="iconfont key_icon" :class="{'key_icon_checked': type === false}"></span>
|
<span class="iconfont key_icon" :class="{'key_icon_checked': type === false}"></span>
|
||||||
</button>
|
</button>
|
||||||
<button v-show="seaShow === true" class="search_box_icon fxcol" @click="handleSearch">
|
<button v-show="seaShow === true" class="search_box_icon fxcol" @click="handleSearch">
|
||||||
@@ -137,9 +137,11 @@ export default {
|
|||||||
position absolute
|
position absolute
|
||||||
top 50%
|
top 50%
|
||||||
transform translateY(-50%)
|
transform translateY(-50%)
|
||||||
right 1px
|
right 0.02rem
|
||||||
// height .9rem
|
// height .9rem
|
||||||
.search_box_icon
|
.search_box_icon
|
||||||
_wh(.7rem, 100%)
|
_wh(.7rem, 100%)
|
||||||
background-color #fff
|
background-color #fff
|
||||||
|
.bor_r
|
||||||
|
border-right 0.02rem solid #dcdfe6
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -3,12 +3,12 @@
|
|||||||
<nav-bar :inner="true" title="球磨上料"></nav-bar>
|
<nav-bar :inner="true" title="球磨上料"></nav-bar>
|
||||||
<section class="content mgt186">
|
<section class="content mgt186">
|
||||||
<div class="filter-wraper">
|
<div class="filter-wraper">
|
||||||
<div class="bottom-filter-tip">
|
<search-box
|
||||||
<div class="filter-label txtjustify">设备</div>
|
label="设备"
|
||||||
<div class="fxcol mgl20">
|
:keyShow="false"
|
||||||
<input type="text" class="filter-input filter-scan-input" v-model="val1">
|
:seaShow="false"
|
||||||
</div>
|
v-model="val1"
|
||||||
</div>
|
></search-box>
|
||||||
</div>
|
</div>
|
||||||
<div class="grid-wraper">
|
<div class="grid-wraper">
|
||||||
<div class="left_fixed">
|
<div class="left_fixed">
|
||||||
|
|||||||
@@ -5,19 +5,16 @@
|
|||||||
<div class="filter-wraper">
|
<div class="filter-wraper">
|
||||||
<search-box
|
<search-box
|
||||||
label="托盘"
|
label="托盘"
|
||||||
keyCode="请输入"
|
|
||||||
:focused="true"
|
|
||||||
:scanShow="false"
|
|
||||||
:keyShow="false"
|
:keyShow="false"
|
||||||
|
:seaShow="false"
|
||||||
v-model="val1"
|
v-model="val1"
|
||||||
@handleChange="handleChange1"
|
@handleChange="handleChange1"
|
||||||
></search-box>
|
></search-box>
|
||||||
<search-box
|
<search-box
|
||||||
label="扫桶"
|
label="扫桶"
|
||||||
keyCode="请输入"
|
|
||||||
:focused="true"
|
:focused="true"
|
||||||
:scanShow="false"
|
|
||||||
:keyShow="false"
|
:keyShow="false"
|
||||||
|
:seaShow="false"
|
||||||
v-model="val2"
|
v-model="val2"
|
||||||
@handleChange="handleChange2"
|
@handleChange="handleChange2"
|
||||||
></search-box>
|
></search-box>
|
||||||
@@ -105,14 +102,10 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleChange1 (e, type) {
|
handleChange1 (e, type) {
|
||||||
if (type) {
|
this._queryVehicle(e)
|
||||||
this._queryVehicle(e)
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
handleChange2 (e, type) {
|
handleChange2 (e, type) {
|
||||||
if (type) {
|
this._queryBucket(e)
|
||||||
this._queryBucket(e)
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
/** 删除行 */
|
/** 删除行 */
|
||||||
async _deleteRow () {
|
async _deleteRow () {
|
||||||
|
|||||||
@@ -144,5 +144,5 @@ export default {
|
|||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
>>>.filter-label
|
>>>.filter-label
|
||||||
width 1.6rem
|
width 1.8rem
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -176,5 +176,5 @@ export default {
|
|||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
>>>.filter-label
|
>>>.filter-label
|
||||||
width 1.6rem
|
width 1.8rem
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -205,5 +205,5 @@ export default {
|
|||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
>>>.filter-label
|
>>>.filter-label
|
||||||
width 1.6rem
|
width 1.8rem
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -3,27 +3,27 @@
|
|||||||
<nav-bar title="球磨工序"></nav-bar>
|
<nav-bar title="球磨工序"></nav-bar>
|
||||||
<section ref="content" class="content" :style="'margin-top: '+(0.96+3 * 0.92)+ 'rem'">
|
<section ref="content" class="content" :style="'margin-top: '+(0.96+3 * 0.92)+ 'rem'">
|
||||||
<div class="filter-wraper">
|
<div class="filter-wraper">
|
||||||
<div class="bottom-filter-tip">
|
<search-box
|
||||||
<div class="filter-label txtjustify">设备</div>
|
label="设备"
|
||||||
<div class="fxcol mgl20">
|
:keyShow="false"
|
||||||
<input type="text" class="filter-input filter-scan-input" v-model="val1">
|
:seaShow="false"
|
||||||
</div>
|
v-model="val1"
|
||||||
</div>
|
></search-box>
|
||||||
<search-box
|
<search-box
|
||||||
label="工艺指令卡"
|
label="工艺指令卡"
|
||||||
keyCode="请输入"
|
|
||||||
:focused="true"
|
:focused="true"
|
||||||
:scanShow="false"
|
|
||||||
:keyShow="false"
|
:keyShow="false"
|
||||||
|
:seaShow="false"
|
||||||
v-model="val2"
|
v-model="val2"
|
||||||
@handleChange="handleChange2"
|
@handleChange="handleChange2"
|
||||||
></search-box>
|
></search-box>
|
||||||
<div class="bottom-filter-tip">
|
<search-box
|
||||||
<div class="filter-label txtjustify">料浆大桶</div>
|
label="料浆大桶"
|
||||||
<div class="fxcol mgl20">
|
:focused="true"
|
||||||
<input type="text" class="filter-input filter-scan-input" v-model="val3">
|
:keyShow="false"
|
||||||
</div>
|
:seaShow="false"
|
||||||
</div>
|
v-model="val3"
|
||||||
|
></search-box>
|
||||||
<div class="bottom-filter-tip">
|
<div class="bottom-filter-tip">
|
||||||
<div class="filter-label txtjustify">备注</div>
|
<div class="filter-label txtjustify">备注</div>
|
||||||
<div class="fxcol mgl20">
|
<div class="fxcol mgl20">
|
||||||
@@ -141,10 +141,8 @@ export default {
|
|||||||
}, 100)
|
}, 100)
|
||||||
},
|
},
|
||||||
handleChange2 (e, type) {
|
handleChange2 (e, type) {
|
||||||
if (type) {
|
this.barCode = e
|
||||||
this.barCode = e
|
this._queryWorkTask(e)
|
||||||
this._queryWorkTask(e)
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
toCheck (e) {
|
toCheck (e) {
|
||||||
this.pkId = this.pkId === e.worktask_id ? '' : e.worktask_id
|
this.pkId = this.pkId === e.worktask_id ? '' : e.worktask_id
|
||||||
@@ -271,7 +269,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
>>>.filter-label
|
>>>.filter-label
|
||||||
width 1.6rem
|
width 1.8rem
|
||||||
.content
|
.content
|
||||||
height calc(100% - 1.86rem)
|
height calc(100% - 1.86rem)
|
||||||
overflow hidden
|
overflow hidden
|
||||||
|
|||||||
@@ -272,7 +272,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
>>>.filter-label
|
>>>.filter-label
|
||||||
width 1.6rem
|
width 1.8rem
|
||||||
.btn1
|
.btn1
|
||||||
font-size .22rem
|
font-size .22rem
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -228,5 +228,5 @@ export default {
|
|||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
>>>.filter-label
|
>>>.filter-label
|
||||||
width 1.6rem
|
width 1.8rem
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -180,5 +180,5 @@ export default {
|
|||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
>>>.filter-label
|
>>>.filter-label
|
||||||
width 1.6rem
|
width 1.8rem
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -3,33 +3,34 @@
|
|||||||
<nav-bar title="喷雾工序"></nav-bar>
|
<nav-bar title="喷雾工序"></nav-bar>
|
||||||
<section ref="content" class="content" :style="'margin-top: '+(0.96+3 * 0.92)+ 'rem'">
|
<section ref="content" class="content" :style="'margin-top: '+(0.96+3 * 0.92)+ 'rem'">
|
||||||
<div class="filter-wraper">
|
<div class="filter-wraper">
|
||||||
<div class="bottom-filter-tip">
|
<search-box
|
||||||
<div class="filter-label txtjustify">设备</div>
|
label="设备"
|
||||||
<div class="fxcol mgl20">
|
v-model="val1"
|
||||||
<input type="text" class="filter-input filter-scan-input" v-model="val1">
|
:keyShow="false"
|
||||||
</div>
|
:seaShow="false"
|
||||||
</div>
|
></search-box>
|
||||||
<search-box
|
<search-box
|
||||||
label="工艺指令卡"
|
label="工艺指令卡"
|
||||||
keyCode="请输入"
|
|
||||||
:focused="true"
|
:focused="true"
|
||||||
:scanShow="false"
|
|
||||||
:keyShow="false"
|
:keyShow="false"
|
||||||
|
:seaShow="false"
|
||||||
v-model="val2"
|
v-model="val2"
|
||||||
@handleChange="handleChange2"
|
@handleChange="handleChange2"
|
||||||
></search-box>
|
></search-box>
|
||||||
<div class="bottom-filter-tip">
|
<search-box
|
||||||
<div class="filter-label txtjustify">托盘</div>
|
label="托盘"
|
||||||
<div class="fxcol mgl20">
|
:focused="true"
|
||||||
<input type="text" class="filter-input filter-scan-input" v-model="val3">
|
:keyShow="false"
|
||||||
</div>
|
:seaShow="false"
|
||||||
</div>
|
v-model="val3"
|
||||||
<div class="bottom-filter-tip">
|
></search-box>
|
||||||
<div class="filter-label txtjustify">站点</div>
|
<search-box
|
||||||
<div class="fxcol mgl20">
|
label="站点"
|
||||||
<input type="text" class="filter-input filter-scan-input" v-model="val4">
|
:focused="true"
|
||||||
</div>
|
:keyShow="false"
|
||||||
</div>
|
:seaShow="false"
|
||||||
|
v-model="val4"
|
||||||
|
></search-box>
|
||||||
<div class="bottom-filter-tip">
|
<div class="bottom-filter-tip">
|
||||||
<div class="filter-label txtjustify">混合设备</div>
|
<div class="filter-label txtjustify">混合设备</div>
|
||||||
<div class="fxcol mgl20 visible" >
|
<div class="fxcol mgl20 visible" >
|
||||||
@@ -144,10 +145,8 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleChange2 (e, type) {
|
handleChange2 (e, type) {
|
||||||
if (type) {
|
this.barCode = e
|
||||||
this.barCode = e
|
this._queryWorkTask(e)
|
||||||
this._queryWorkTask(e)
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
toCheck (e) {
|
toCheck (e) {
|
||||||
this.pkId = this.pkId === e.worktask_id ? '' : e.worktask_id
|
this.pkId = this.pkId === e.worktask_id ? '' : e.worktask_id
|
||||||
@@ -325,5 +324,5 @@ export default {
|
|||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
>>>.filter-label
|
>>>.filter-label
|
||||||
width 1.6rem
|
width 1.8rem
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -205,5 +205,5 @@ export default {
|
|||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
>>>.filter-label
|
>>>.filter-label
|
||||||
width 1.6rem
|
width 1.8rem
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -144,5 +144,5 @@ export default {
|
|||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
>>>.filter-label
|
>>>.filter-label
|
||||||
width 1.6rem
|
width 1.8rem
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -5,19 +5,18 @@
|
|||||||
<div class="filter-wraper">
|
<div class="filter-wraper">
|
||||||
<search-box
|
<search-box
|
||||||
label="设备"
|
label="设备"
|
||||||
keyCode="请输入"
|
|
||||||
:focused="true"
|
|
||||||
:scanShow="false"
|
|
||||||
:keyShow="false"
|
:keyShow="false"
|
||||||
|
:seaShow="false"
|
||||||
v-model="val1"
|
v-model="val1"
|
||||||
@handleChange="handleChange1"
|
@handleChange="handleChange1"
|
||||||
></search-box>
|
></search-box>
|
||||||
<div class="bottom-filter-tip">
|
<search-box
|
||||||
<div class="filter-label txtjustify">载具</div>
|
label="载具"
|
||||||
<div class="fxcol mgl20">
|
:focused="true"
|
||||||
<input type="text" class="filter-input filter-scan-input" v-model="val2">
|
:keyShow="false"
|
||||||
</div>
|
:seaShow="false"
|
||||||
</div>
|
v-model="val2"
|
||||||
|
></search-box>
|
||||||
</div>
|
</div>
|
||||||
<div class="grid-wraper">
|
<div class="grid-wraper">
|
||||||
<div class="left_fixed">
|
<div class="left_fixed">
|
||||||
@@ -82,9 +81,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleChange1 (e, type) {
|
handleChange1 (e, type) {
|
||||||
if (type) {
|
this._PWload(e)
|
||||||
this._PWload(e)
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
toCheck (e) {
|
toCheck (e) {
|
||||||
this.pkId = this.pkId === e.worktask_id ? '' : e.worktask_id
|
this.pkId = this.pkId === e.worktask_id ? '' : e.worktask_id
|
||||||
|
|||||||
@@ -58,7 +58,6 @@
|
|||||||
text-align center
|
text-align center
|
||||||
color #c9c9c9
|
color #c9c9c9
|
||||||
overflow hidden
|
overflow hidden
|
||||||
border-right 1px solid #c9c9c9
|
|
||||||
.scan_icon::before
|
.scan_icon::before
|
||||||
content '\e7aa'
|
content '\e7aa'
|
||||||
.scan_icon_checked
|
.scan_icon_checked
|
||||||
@@ -72,7 +71,6 @@
|
|||||||
text-align center
|
text-align center
|
||||||
color #c9c9c9
|
color #c9c9c9
|
||||||
overflow hidden
|
overflow hidden
|
||||||
border-right 1px solid #c9c9c9
|
|
||||||
.key_icon::before
|
.key_icon::before
|
||||||
content '\e61b'
|
content '\e61b'
|
||||||
.search_icon
|
.search_icon
|
||||||
|
|||||||
Reference in New Issue
Block a user