num
This commit is contained in:
@@ -23,13 +23,24 @@
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">温度</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">时间</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>
|
||||
@@ -46,11 +57,13 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import NumberInput from '@/components/NumberInput.vue'
|
||||
import {ovenInAndOut, inCoolIvt, bakingrelease, bakingquery} from '@/utils/getData1.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
SearchBox,
|
||||
NumberInput
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -49,7 +49,12 @@
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">数量</view>
|
||||
<view class="filter_input_wraper">
|
||||
<input type="number" class="filter_input" v-model="qty">
|
||||
<!-- <input type="number" class="filter_input" v-model="qty"> -->
|
||||
<NumberInput
|
||||
v-model="qty"
|
||||
input-class="filter_input"
|
||||
mode="integer"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -65,12 +70,14 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import NumberInput from '@/components/NumberInput.vue'
|
||||
import {queryProductArea, queryDeviceByarea} from '@/utils/getData2.js'
|
||||
import {paperQueryPaperMaterial, callPaperShaft, labourShaftBack} from '@/utils/getData3.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
SearchBox,
|
||||
NumberInput
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -23,13 +23,24 @@
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">温度</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">时间</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 {
|
||||
|
||||
@@ -40,7 +40,13 @@
|
||||
</view>
|
||||
<view class="relative filter_input_wraper">
|
||||
<view class="absolute filter_tip">B2车间需要输入温度</view>
|
||||
<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 class="filter_unit">度</view>
|
||||
</view>
|
||||
@@ -50,7 +56,12 @@
|
||||
</view>
|
||||
<view class="relative filter_input_wraper">
|
||||
<view class="absolute filter_tip">B2车间需要输入时间</view>
|
||||
<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 class="filter_unit">小时</view>
|
||||
</view>
|
||||
@@ -109,11 +120,13 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import NumberInput from '@/components/NumberInput.vue'
|
||||
import {queryRawFoilList, needEmptyAxis, needEmptyVehicle, confirmBlanking, finishBlanking, finish} from '@/utils/getData1.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
SearchBox,
|
||||
NumberInput
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -23,13 +23,24 @@
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">温度</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">时间</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>
|
||||
@@ -46,11 +57,13 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import NumberInput from '@/components/NumberInput.vue'
|
||||
import {ovenInAndOut, inCoolIvt, bakingrelease, bakingquery} from '@/utils/getData1.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
SearchBox,
|
||||
NumberInput
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -23,13 +23,24 @@
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">温度</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">时间</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 {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<span class="filter_label">数量</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<input type="number" class="filter_input" v-model="val2">
|
||||
<uni-data-select v-model="index2" :localdata="options2" @change="selectChange2"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
@@ -44,8 +44,8 @@
|
||||
</view>
|
||||
<view class="zd-row submitbar">
|
||||
<button class="zd-col-5 btn-submit btn-default" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-8 btn-submit btn-success" :class="{'btn-info': !val1 || !val2 || !index || !index1 || !val3}" :disabled="disabled" @tap="_operateIvt('1')">绑定</button>
|
||||
<button class="zd-col-8 btn-submit btn-success" :class="{'btn-info': !val1 || !val2 || !index || !index1 || !val3}" :disabled="disabled" @tap="_operateIvt('2')">清除</button>
|
||||
<button class="zd-col-8 btn-submit btn-success" :class="{'btn-info': !val1 || !index2 || !index || !index1 || !val3}" :disabled="disabled" @tap="_operateIvt('1')">绑定</button>
|
||||
<button class="zd-col-8 btn-submit btn-success" :class="{'btn-info': !val1 || !index2 || !index || !index1 || !val3}" :disabled="disabled" @tap="_operateIvt('2')">清除</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -66,8 +66,9 @@
|
||||
val1: '',
|
||||
val3: '',
|
||||
options1: [{value: '1', text: '1'}, {value: '2', text: '2'}, {value: '3', text: '3'}, {value: '4', text: '4'}, {value: '5', text: '5'}],
|
||||
options2: [{value: '1', text: '1'}, {value: '2', text: '2'}, {value: '3', text: '3'}, {value: '4', text: '4'}, {value: '5', text: '5'}],
|
||||
index1: '',
|
||||
val2: '',
|
||||
index2: '',
|
||||
options: [],
|
||||
index: '',
|
||||
newoptions: [],
|
||||
@@ -91,6 +92,9 @@
|
||||
selectChange1 (e) {
|
||||
this.index1 = e
|
||||
},
|
||||
selectChange2 (e) {
|
||||
this.index2 = e
|
||||
},
|
||||
selectChange (e) {
|
||||
this.index = e
|
||||
},
|
||||
@@ -117,12 +121,12 @@
|
||||
},
|
||||
async _operateIvt (type) {
|
||||
this.disabled = true
|
||||
if (!this.val1 || !this.val2 || !this.index || !this.index1 || !this.val3) {
|
||||
if (!this.val1 || !this.index2 || !this.index || !this.index1 || !this.val3) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await operateIvt(type, this.val1, this.index1, this.val2, this.index, this.val3)
|
||||
let res = await operateIvt(type, this.val1, this.index1, this.index2, this.index, this.val3)
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
@@ -136,7 +140,7 @@
|
||||
clearUp () {
|
||||
this.val1 = ''
|
||||
this.val3 = ''
|
||||
this.val2 = ''
|
||||
this.index2 = ''
|
||||
this.index = ''
|
||||
this.index1 = ''
|
||||
}
|
||||
|
||||
@@ -17,7 +17,13 @@
|
||||
<span class="filter_label">管芯重量</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">子卷重量</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">提示:{{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 {
|
||||
|
||||
@@ -27,7 +27,13 @@
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">重量</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>
|
||||
@@ -42,11 +48,13 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import NumberInput from '@/components/NumberInput.vue'
|
||||
import {mendCode, stBale} from '@/utils/getData2.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
SearchBox,
|
||||
NumberInput
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user