同步清空、取值范围
This commit is contained in:
@@ -73,6 +73,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
})
|
||||
this.val1 = ''
|
||||
this.disabled = false
|
||||
this.clearUp()
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
|
||||
@@ -82,6 +82,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -100,6 +100,7 @@
|
||||
this.index = e
|
||||
},
|
||||
async _queryBoxIvt () {
|
||||
this.dataList = []
|
||||
try {
|
||||
let res = await queryBoxIvt(this.val1, this.val2, this.val3)
|
||||
this.dataList = [...res.data]
|
||||
|
||||
@@ -65,6 +65,8 @@
|
||||
}
|
||||
try {
|
||||
let res = await abnormalOut(this.val1, this.val2)
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.disabled1 = false
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -65,6 +65,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
@@ -81,6 +82,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
this.btn_active = false
|
||||
} catch (e) {
|
||||
|
||||
@@ -23,13 +23,24 @@
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">{{$t('filter.temperature')}}</view>
|
||||
<view class="filter_input_wraper">
|
||||
<input type="number" class="filter_input" v-model="val3">
|
||||
<!-- <input type="number" class="filter_input" v-model="val3"> -->
|
||||
<NumberInput
|
||||
v-model="val3"
|
||||
input-class="filter_input"
|
||||
mode="mixed"
|
||||
:decimalLength="3"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">{{$t('filter.time')}}({{$t('unit.minute')}})</view>
|
||||
<view class="filter_input_wraper">
|
||||
<input type="number" class="filter_input" v-model="val4">
|
||||
<!-- <input type="number" class="filter_input" v-model="val4"> -->
|
||||
<NumberInput
|
||||
v-model="val4"
|
||||
input-class="filter_input"
|
||||
mode="integer"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
@@ -52,11 +63,13 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import NumberInput from '@/components/NumberInput.vue'
|
||||
import {ovenInAndOut, inCoolIvt, bakingquery, inCoolOrOven} from '@/utils/getData1.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
SearchBox,
|
||||
NumberInput
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -141,6 +154,10 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
this.val4 = ''
|
||||
this.disabled3 = false
|
||||
} catch (e) {
|
||||
this.disabled3 = false
|
||||
@@ -159,6 +176,10 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
this.val4 = ''
|
||||
this.disabled4 = false
|
||||
} catch (e) {
|
||||
this.disabled4 = false
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
<tr v-for="(e, i) in dataList" :key="i">
|
||||
<td>{{e.box_no}}</td>
|
||||
<td>{{e.material_code}}</td>
|
||||
<td>{{e.material_name}}</td>
|
||||
<td>{{e.struct_code}}</td>
|
||||
<td>{{e.material_name}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -23,13 +23,24 @@
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">{{$t('filter.temperature')}}</view>
|
||||
<view class="filter_input_wraper">
|
||||
<input type="text" class="filter_input" v-model="val3">
|
||||
<!-- <input type="text" class="filter_input" v-model="val3"> -->
|
||||
<NumberInput
|
||||
v-model="val3"
|
||||
input-class="filter_input"
|
||||
mode="mixed"
|
||||
:decimalLength="3"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">{{$t('filter.time')}}</view>
|
||||
<view class="filter_input_wraper">
|
||||
<input type="text" class="filter_input" v-model="val4">
|
||||
<!-- <input type="text" class="filter_input" v-model="val4"> -->
|
||||
<NumberInput
|
||||
v-model="val4"
|
||||
input-class="filter_input"
|
||||
mode="integer"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
@@ -53,11 +64,13 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import NumberInput from '@/components/NumberInput.vue'
|
||||
import {handleBakingovenInAndOut, handleBakingcheckConfirm, bakingquery} from '@/utils/getData1.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
SearchBox,
|
||||
NumberInput
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -69,6 +69,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.cleanUp()
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
@@ -82,6 +83,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.cleanUp()
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
|
||||
@@ -135,6 +135,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -196,6 +196,7 @@
|
||||
try {
|
||||
let res = await forcedFeedShaft(this.index1, deviceT, this.index2, upLT, this.upL, upRT, this.upR, lowLT, this.lowL, lowRT, this.lowR)
|
||||
this.disabled = false
|
||||
this.dataList = []
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.index = ''
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -153,6 +153,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -101,6 +101,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
@@ -81,6 +82,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -17,7 +17,13 @@
|
||||
<span class="filter_label">{{$t('filter.chipweight')}}</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<input type="number" class="filter_input" v-model="val2">
|
||||
<!-- <input type="number" class="filter_input" v-model="val2"> -->
|
||||
<NumberInput
|
||||
v-model="val2"
|
||||
input-class="filter_input"
|
||||
mode="decimal"
|
||||
:decimalLength="3"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
@@ -25,7 +31,13 @@
|
||||
<span class="filter_label">{{$t('grid.sub-roll-weight')}}</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<input type="number" class="filter_input" v-model="val3">
|
||||
<!-- <input type="number" class="filter_input" v-model="val3"> -->
|
||||
<NumberInput
|
||||
v-model="val3"
|
||||
input-class="filter_input"
|
||||
mode="decimal"
|
||||
:decimalLength="3"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="msg_item">{{$t('grid.tip')}}:{{obj.tip}}</view>
|
||||
@@ -41,11 +53,13 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import NumberInput from '@/components/NumberInput.vue'
|
||||
import {doSubRollWeightBindingTip, doSubRollWeightBinding} from '@/utils/getData3.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
SearchBox,
|
||||
NumberInput
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -136,6 +136,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
Reference in New Issue
Block a user