Merge pull request '1' (#119) from pc-master into portal

Reviewed-on: #119
portal
xiaomeng 2024-02-28 07:28:38 +00:00
commit 0e32fd279f
1 changed files with 13 additions and 13 deletions

View File

@ -83,7 +83,7 @@
<div class="type1" v-if="scope.row.type == 2"> <div class="type1" v-if="scope.row.type == 2">
<div class="input-main-80"> <div class="input-main-80">
<span> 肥料通道最大值</span> <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]" v-model="inputData[store.formulaNum[indexs - 1] + 4]"
@input="change(store.formulaNum[indexs - 1] + 4, $event)" type="number" style="height: 34px;" @input="change(store.formulaNum[indexs - 1] + 4, $event)" type="number" style="height: 34px;"
placeholder="0.0"> placeholder="0.0">
@ -404,19 +404,19 @@ export default {
}, },
// j*100 // j*100
delayTimer(i, data) { delayTimer(i, data) {
const that = this; // const that = this;
// // //
let j = this.$store.state.lateSend; // let j = this.$store.state.lateSend;
// // //
this.timer && clearInterval(this.timer); // this.timer && clearInterval(this.timer);
this.timer = setInterval(() => { // this.timer = setInterval(() => {
++i; // ++i;
if (i == j) { // if (i == j) {
that.changeData(data); // that.changeData(data);
clearInterval(this.timer); // clearInterval(this.timer);
} // }
}, 100); // }, 100);
}, },
changeData(data) { changeData(data) {
var store = this.$store.state var store = this.$store.state