commit
0e32fd279f
|
@ -83,7 +83,7 @@
|
|||
<div class="type1" v-if="scope.row.type == 2">
|
||||
<div class="input-main-80">
|
||||
<span> 肥料通道最大值</span>
|
||||
<input @blur="blurChange(store.formulaNum[indexs - 1] + 4 + scope.$index, $event)"
|
||||
<input @blur="blurChange(store.formulaNum[indexs - 1] + 4 , $event)"
|
||||
v-model="inputData[store.formulaNum[indexs - 1] + 4]"
|
||||
@input="change(store.formulaNum[indexs - 1] + 4, $event)" type="number" style="height: 34px;"
|
||||
placeholder="0.0">
|
||||
|
@ -404,19 +404,19 @@ export default {
|
|||
},
|
||||
//限制 写入停止后j*100毫秒调取函数
|
||||
delayTimer(i, data) {
|
||||
const that = this;
|
||||
//整体接口
|
||||
let j = this.$store.state.lateSend;
|
||||
//避免开启多个计时器
|
||||
this.timer && clearInterval(this.timer);
|
||||
// const that = this;
|
||||
// //整体接口
|
||||
// let j = this.$store.state.lateSend;
|
||||
// //避免开启多个计时器
|
||||
// this.timer && clearInterval(this.timer);
|
||||
|
||||
this.timer = setInterval(() => {
|
||||
++i;
|
||||
if (i == j) {
|
||||
that.changeData(data);
|
||||
clearInterval(this.timer);
|
||||
}
|
||||
}, 100);
|
||||
// this.timer = setInterval(() => {
|
||||
// ++i;
|
||||
// if (i == j) {
|
||||
// that.changeData(data);
|
||||
// clearInterval(this.timer);
|
||||
// }
|
||||
// }, 100);
|
||||
},
|
||||
changeData(data) {
|
||||
var store = this.$store.state
|
||||
|
|
Loading…
Reference in New Issue