工序输入
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 class="search_box_icon fxcol" @click="handleScan">
|
<button v-show="scanShow === true" class="search_box_icon fxcol" @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 class="search_box_icon fxcol" @click="handleKey">
|
<button v-show="keyShow === true" class="search_box_icon fxcol" @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">
|
||||||
@@ -41,6 +41,14 @@ export default {
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
scanShow: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
|
},
|
||||||
|
keyShow: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
|
},
|
||||||
seaShow: {
|
seaShow: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true
|
default: true
|
||||||
|
|||||||
@@ -163,10 +163,10 @@ export default {
|
|||||||
this.toast('请填写标签打印地址')
|
this.toast('请填写标签打印地址')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.active === '') {
|
// if (this.active === '') {
|
||||||
this.toast('请选择打印机')
|
// this.toast('请选择打印机')
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
if (this.billPrintip === '') {
|
if (this.billPrintip === '') {
|
||||||
this.toast('请填写单据打印地址')
|
this.toast('请填写单据打印地址')
|
||||||
return
|
return
|
||||||
@@ -183,7 +183,11 @@ export default {
|
|||||||
this.$store.dispatch('setBaseUrl', this.addrip)
|
this.$store.dispatch('setBaseUrl', this.addrip)
|
||||||
this.$store.dispatch('setImgIp', this.imgip)
|
this.$store.dispatch('setImgIp', this.imgip)
|
||||||
this.$store.dispatch('setPrintUrl', this.printip)
|
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('setBillPrintUrl', this.billPrintip)
|
||||||
this.$store.dispatch('setRefreshTime', this.setTime * 1000)
|
this.$store.dispatch('setRefreshTime', this.setTime * 1000)
|
||||||
this.$store.dispatch('setWeightLimit', this.weightLimit)
|
this.$store.dispatch('setWeightLimit', this.weightLimit)
|
||||||
|
|||||||
@@ -3,10 +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">
|
||||||
<search-box
|
<div class="bottom-filter-tip">
|
||||||
label="设备"
|
<div class="filter-label txtjustify">设备</div>
|
||||||
v-model="val1"
|
<div class="fxcol mgl20">
|
||||||
></search-box>
|
<input type="text" class="filter-input filter-scan-input" v-model="val1">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="grid-wraper">
|
<div class="grid-wraper">
|
||||||
<div class="left_fixed">
|
<div class="left_fixed">
|
||||||
|
|||||||
@@ -5,11 +5,19 @@
|
|||||||
<div class="filter-wraper">
|
<div class="filter-wraper">
|
||||||
<search-box
|
<search-box
|
||||||
label="托盘"
|
label="托盘"
|
||||||
|
keyCode="请输入"
|
||||||
|
:focused="true"
|
||||||
|
:scanShow="false"
|
||||||
|
:keyShow="false"
|
||||||
v-model="val1"
|
v-model="val1"
|
||||||
@handleChange="handleChange1"
|
@handleChange="handleChange1"
|
||||||
></search-box>
|
></search-box>
|
||||||
<search-box
|
<search-box
|
||||||
label="扫桶"
|
label="扫桶"
|
||||||
|
keyCode="请输入"
|
||||||
|
:focused="true"
|
||||||
|
:scanShow="false"
|
||||||
|
:keyShow="false"
|
||||||
v-model="val2"
|
v-model="val2"
|
||||||
@handleChange="handleChange2"
|
@handleChange="handleChange2"
|
||||||
></search-box>
|
></search-box>
|
||||||
|
|||||||
@@ -3,21 +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">
|
||||||
<search-box
|
<div class="bottom-filter-tip">
|
||||||
label="设备"
|
<div class="filter-label txtjustify">设备</div>
|
||||||
v-model="val1"
|
<div class="fxcol mgl20">
|
||||||
></search-box>
|
<input type="text" class="filter-input filter-scan-input" v-model="val1">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<search-box
|
<search-box
|
||||||
label="工艺指令卡"
|
label="工艺指令卡"
|
||||||
|
keyCode="请输入"
|
||||||
:focused="true"
|
:focused="true"
|
||||||
|
:scanShow="false"
|
||||||
|
:keyShow="false"
|
||||||
v-model="val2"
|
v-model="val2"
|
||||||
@handleChange="handleChange2"
|
@handleChange="handleChange2"
|
||||||
></search-box>
|
></search-box>
|
||||||
<search-box
|
<div class="bottom-filter-tip">
|
||||||
label="料浆大桶"
|
<div class="filter-label txtjustify">料浆大桶</div>
|
||||||
:focused="true"
|
<div class="fxcol mgl20">
|
||||||
v-model="val3"
|
<input type="text" class="filter-input filter-scan-input" v-model="val3">
|
||||||
></search-box>
|
</div>
|
||||||
|
</div>
|
||||||
<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">
|
||||||
|
|||||||
@@ -3,29 +3,33 @@
|
|||||||
<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">
|
||||||
<search-box
|
<div class="bottom-filter-tip">
|
||||||
label="设备"
|
<div class="filter-label txtjustify">设备</div>
|
||||||
v-model="val1"
|
<div class="fxcol mgl20">
|
||||||
:seaShow="false"
|
<input type="text" class="filter-input filter-scan-input" v-model="val1">
|
||||||
></search-box>
|
</div>
|
||||||
|
</div>
|
||||||
<search-box
|
<search-box
|
||||||
label="工艺指令卡"
|
label="工艺指令卡"
|
||||||
|
keyCode="请输入"
|
||||||
:focused="true"
|
:focused="true"
|
||||||
|
:scanShow="false"
|
||||||
|
:keyShow="false"
|
||||||
v-model="val2"
|
v-model="val2"
|
||||||
@handleChange="handleChange2"
|
@handleChange="handleChange2"
|
||||||
></search-box>
|
></search-box>
|
||||||
<search-box
|
<div class="bottom-filter-tip">
|
||||||
label="托盘"
|
<div class="filter-label txtjustify">托盘</div>
|
||||||
:focused="true"
|
<div class="fxcol mgl20">
|
||||||
:seaShow="false"
|
<input type="text" class="filter-input filter-scan-input" v-model="val3">
|
||||||
v-model="val3"
|
</div>
|
||||||
></search-box>
|
</div>
|
||||||
<search-box
|
<div class="bottom-filter-tip">
|
||||||
label="站点"
|
<div class="filter-label txtjustify">站点</div>
|
||||||
:focused="true"
|
<div class="fxcol mgl20">
|
||||||
:seaShow="false"
|
<input type="text" class="filter-input filter-scan-input" v-model="val4">
|
||||||
v-model="val4"
|
</div>
|
||||||
></search-box>
|
</div>
|
||||||
<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" >
|
||||||
|
|||||||
@@ -5,14 +5,19 @@
|
|||||||
<div class="filter-wraper">
|
<div class="filter-wraper">
|
||||||
<search-box
|
<search-box
|
||||||
label="设备"
|
label="设备"
|
||||||
|
keyCode="请输入"
|
||||||
|
:focused="true"
|
||||||
|
:scanShow="false"
|
||||||
|
:keyShow="false"
|
||||||
v-model="val1"
|
v-model="val1"
|
||||||
@handleChange="handleChange1"
|
@handleChange="handleChange1"
|
||||||
></search-box>
|
></search-box>
|
||||||
<search-box
|
<div class="bottom-filter-tip">
|
||||||
label="载具"
|
<div class="filter-label txtjustify">载具</div>
|
||||||
:focused="true"
|
<div class="fxcol mgl20">
|
||||||
v-model="val2"
|
<input type="text" class="filter-input filter-scan-input" v-model="val2">
|
||||||
></search-box>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="grid-wraper">
|
<div class="grid-wraper">
|
||||||
<div class="left_fixed">
|
<div class="left_fixed">
|
||||||
|
|||||||
@@ -58,6 +58,7 @@
|
|||||||
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
|
||||||
@@ -71,7 +72,7 @@
|
|||||||
text-align center
|
text-align center
|
||||||
color #c9c9c9
|
color #c9c9c9
|
||||||
overflow hidden
|
overflow hidden
|
||||||
border-left 1px solid #c9c9c9
|
border-right 1px solid #c9c9c9
|
||||||
.key_icon::before
|
.key_icon::before
|
||||||
content '\e61b'
|
content '\e61b'
|
||||||
.search_icon
|
.search_icon
|
||||||
@@ -83,7 +84,6 @@
|
|||||||
text-align center
|
text-align center
|
||||||
color #c9c9c9
|
color #c9c9c9
|
||||||
overflow hidden
|
overflow hidden
|
||||||
border-left 1px solid #c9c9c9
|
|
||||||
.search_icon::before
|
.search_icon::before
|
||||||
content: '\e752'
|
content: '\e752'
|
||||||
.key_icon_checked
|
.key_icon_checked
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import * as types from '../types'
|
import * as types from '../types'
|
||||||
import { getStore, setStore } from '@config/mUtils.js'
|
import { getStore, setStore } from '@config/mUtils.js'
|
||||||
|
|
||||||
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.81.252:8010' : 'http://10.16.1.24:8010'
|
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.81.252:8010' : 'http://17.0.0.1:8013'
|
||||||
const imgip = 'http://10.16.1.24:8010'
|
const imgip = 'http://10.16.1.24:8010'
|
||||||
const printUrl = 'http://10.16.1.24:8000'
|
const printUrl = 'http://10.16.1.24:8000'
|
||||||
const billPrintUrl = ''
|
const billPrintUrl = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user