|
@@ -30,8 +30,10 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
<div style='text-align:right;'>
|
|
<div style='text-align:right;'>
|
|
|
|
+ <el-button @click='refreshClick' type="primary">{{refresh}}</el-button>
|
|
<el-button @click='record' type="primary">记录</el-button>
|
|
<el-button @click='record' type="primary">记录</el-button>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</div>
|
|
</div>
|
|
@@ -435,6 +437,8 @@
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+
|
|
|
|
+ refresh:60,
|
|
//分页
|
|
//分页
|
|
currentPage: 1,
|
|
currentPage: 1,
|
|
cost:'',
|
|
cost:'',
|
|
@@ -562,7 +566,7 @@
|
|
// searchKeyWord:''
|
|
// searchKeyWord:''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- activated(){debugger
|
|
|
|
|
|
+ activated(){
|
|
this.selectWarehouse()
|
|
this.selectWarehouse()
|
|
var _saomaData = JSON.parse(localStorage.getItem('saoma_data'))
|
|
var _saomaData = JSON.parse(localStorage.getItem('saoma_data'))
|
|
if(_saomaData){//缓存中有值,证明扫码进来的
|
|
if(_saomaData){//缓存中有值,证明扫码进来的
|
|
@@ -592,6 +596,17 @@
|
|
debugger
|
|
debugger
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ refreshClick(){
|
|
|
|
+ this.timer = setInterval(function(){
|
|
|
|
+ // axios({
|
|
|
|
+ // method: 'post',
|
|
|
|
+ // url: 'https://www.zthymaoyi.com/upload/admin',
|
|
|
|
+ // data: formdata
|
|
|
|
+ // }).then((response) => {
|
|
|
|
+
|
|
|
|
+ // })
|
|
|
|
+ }, 1000);
|
|
|
|
+ },
|
|
binNumberChange(e){
|
|
binNumberChange(e){
|
|
for (let i = 0; i < this.positionInfos.length; i++) {
|
|
for (let i = 0; i < this.positionInfos.length; i++) {
|
|
if(this.positionInfos[i].binNumber==e){
|
|
if(this.positionInfos[i].binNumber==e){
|