工序输入

This commit is contained in:
2022-11-04 16:29:04 +08:00
parent 21327f0d5a
commit cfd1125684
9 changed files with 82 additions and 45 deletions

View File

@@ -163,10 +163,10 @@ export default {
this.toast('请填写标签打印地址')
return
}
if (this.active === '') {
this.toast('请选择打印机')
return
}
// if (this.active === '') {
// this.toast('请选择打印机')
// return
// }
if (this.billPrintip === '') {
this.toast('请填写单据打印地址')
return
@@ -183,7 +183,11 @@ export default {
this.$store.dispatch('setBaseUrl', this.addrip)
this.$store.dispatch('setImgIp', this.imgip)
this.$store.dispatch('setPrintUrl', this.printip)
this.$store.dispatch('setPrintName', this.option[this.active].value)
let print = ''
if (this.active !== '') {
print = this.option[this.active].value
}
this.$store.dispatch('setPrintName', print)
this.$store.dispatch('setBillPrintUrl', this.billPrintip)
this.$store.dispatch('setRefreshTime', this.setTime * 1000)
this.$store.dispatch('setWeightLimit', this.weightLimit)

View File

@@ -3,10 +3,12 @@
<nav-bar :inner="true" title="球磨上料"></nav-bar>
<section class="content mgt186">
<div class="filter-wraper">
<search-box
label="设备"
v-model="val1"
></search-box>
<div class="bottom-filter-tip">
<div class="filter-label txtjustify">设备</div>
<div class="fxcol mgl20">
<input type="text" class="filter-input filter-scan-input" v-model="val1">
</div>
</div>
</div>
<div class="grid-wraper">
<div class="left_fixed">

View File

@@ -5,11 +5,19 @@
<div class="filter-wraper">
<search-box
label="托盘"
keyCode="请输入"
:focused="true"
:scanShow="false"
:keyShow="false"
v-model="val1"
@handleChange="handleChange1"
></search-box>
<search-box
label="扫桶"
keyCode="请输入"
:focused="true"
:scanShow="false"
:keyShow="false"
v-model="val2"
@handleChange="handleChange2"
></search-box>

View File

@@ -3,21 +3,27 @@
<nav-bar title="球磨工序"></nav-bar>
<section ref="content" class="content" :style="'margin-top: '+(0.96+3 * 0.92)+ 'rem'">
<div class="filter-wraper">
<search-box
label="设备"
v-model="val1"
></search-box>
<div class="bottom-filter-tip">
<div class="filter-label txtjustify">设备</div>
<div class="fxcol mgl20">
<input type="text" class="filter-input filter-scan-input" v-model="val1">
</div>
</div>
<search-box
label="工艺指令卡"
keyCode="请输入"
:focused="true"
:scanShow="false"
:keyShow="false"
v-model="val2"
@handleChange="handleChange2"
></search-box>
<search-box
label="料浆大桶"
:focused="true"
v-model="val3"
></search-box>
<div class="bottom-filter-tip">
<div class="filter-label txtjustify">料浆大桶</div>
<div class="fxcol mgl20">
<input type="text" class="filter-input filter-scan-input" v-model="val3">
</div>
</div>
<div class="bottom-filter-tip">
<div class="filter-label txtjustify">备注</div>
<div class="fxcol mgl20">

View File

@@ -3,29 +3,33 @@
<nav-bar title="喷雾工序"></nav-bar>
<section ref="content" class="content" :style="'margin-top: '+(0.96+3 * 0.92)+ 'rem'">
<div class="filter-wraper">
<search-box
label="设备"
v-model="val1"
:seaShow="false"
></search-box>
<div class="bottom-filter-tip">
<div class="filter-label txtjustify">设备</div>
<div class="fxcol mgl20">
<input type="text" class="filter-input filter-scan-input" v-model="val1">
</div>
</div>
<search-box
label="工艺指令卡"
keyCode="请输入"
:focused="true"
:scanShow="false"
:keyShow="false"
v-model="val2"
@handleChange="handleChange2"
></search-box>
<search-box
label="托盘"
:focused="true"
:seaShow="false"
v-model="val3"
></search-box>
<search-box
label="站点"
:focused="true"
:seaShow="false"
v-model="val4"
></search-box>
<div class="bottom-filter-tip">
<div class="filter-label txtjustify">托盘</div>
<div class="fxcol mgl20">
<input type="text" class="filter-input filter-scan-input" v-model="val3">
</div>
</div>
<div class="bottom-filter-tip">
<div class="filter-label txtjustify">站点</div>
<div class="fxcol mgl20">
<input type="text" class="filter-input filter-scan-input" v-model="val4">
</div>
</div>
<div class="bottom-filter-tip">
<div class="filter-label txtjustify">混合设备</div>
<div class="fxcol mgl20 visible" >

View File

@@ -5,14 +5,19 @@
<div class="filter-wraper">
<search-box
label="设备"
keyCode="请输入"
:focused="true"
:scanShow="false"
:keyShow="false"
v-model="val1"
@handleChange="handleChange1"
></search-box>
<search-box
label="载具"
:focused="true"
v-model="val2"
></search-box>
<div class="bottom-filter-tip">
<div class="filter-label txtjustify">载具</div>
<div class="fxcol mgl20">
<input type="text" class="filter-input filter-scan-input" v-model="val2">
</div>
</div>
</div>
<div class="grid-wraper">
<div class="left_fixed">