xiugai
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<span class="filter_label">点位</span>
|
<span class="filter_label">点位</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<search-box v-model="val1" />
|
<search-box v-model="val1" @handleChange="handleChange1"/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_item">
|
<view class="filter_item">
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import NavBar from '@/components/NavBar.vue'
|
import NavBar from '@/components/NavBar.vue'
|
||||||
import SearchBox from '@/components/SearchBox.vue'
|
import SearchBox from '@/components/SearchBox.vue'
|
||||||
import {ovenInAndOut, inCoolIvt, bakingrelease} from '@/utils/getData1.js'
|
import {ovenInAndOut, inCoolIvt, bakingrelease, bakingquery} from '@/utils/getData1.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
@@ -63,8 +63,16 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleChange (e) {
|
handleChange1 (e) {
|
||||||
console.log(e)
|
this._bakingquery(e)
|
||||||
|
},
|
||||||
|
/** 查询 */
|
||||||
|
async _bakingquery (val1) {
|
||||||
|
if (!val1) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
let res = await bakingquery(val1)
|
||||||
|
this.val2 = res.data.container_name
|
||||||
},
|
},
|
||||||
async _ovenInAndOut1 (type) {
|
async _ovenInAndOut1 (type) {
|
||||||
this.disabled = true
|
this.disabled = true
|
||||||
@@ -78,6 +86,10 @@
|
|||||||
title: res.message,
|
title: res.message,
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
|
this.val1 = ''
|
||||||
|
this.val2 = ''
|
||||||
|
this.val3 = ''
|
||||||
|
this.val4 = ''
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
@@ -95,6 +107,10 @@
|
|||||||
title: res.message,
|
title: res.message,
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
|
this.val1 = ''
|
||||||
|
this.val2 = ''
|
||||||
|
this.val3 = ''
|
||||||
|
this.val4 = ''
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<span class="filter_label">点位</span>
|
<span class="filter_label">点位</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<search-box v-model="val1" />
|
<search-box v-model="val1" @handleChange="handleChange1"/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_item">
|
<view class="filter_item">
|
||||||
@@ -42,8 +42,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="submit-bar">
|
<view class="submit-bar">
|
||||||
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2 || !val3 || !val4}" :disabled="disabled" @tap="_handleBakingovenInAndOut1('1')">入箱</button>
|
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2 || !val3 || !val4 || !val5}" :disabled="disabled" @tap="_handleBakingovenInAndOut1('1')">入箱</button>
|
||||||
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled" @tap="_handleBakingovenInAndOut2('2')">出箱</button>
|
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2 || !val5}" :disabled="disabled" @tap="_handleBakingovenInAndOut2('2')">出箱</button>
|
||||||
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled3" @tap="_handleBakingcheckConfirm">质检合格</button>
|
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled3" @tap="_handleBakingcheckConfirm">质检合格</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import NavBar from '@/components/NavBar.vue'
|
import NavBar from '@/components/NavBar.vue'
|
||||||
import SearchBox from '@/components/SearchBox.vue'
|
import SearchBox from '@/components/SearchBox.vue'
|
||||||
import {handleBakingovenInAndOut, handleBakingcheckConfirm} from '@/utils/getData1.js'
|
import {handleBakingovenInAndOut, handleBakingcheckConfirm, bakingquery} from '@/utils/getData1.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
@@ -70,8 +70,16 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleChange (e) {
|
handleChange1 (e) {
|
||||||
console.log(e)
|
this._bakingquery(e)
|
||||||
|
},
|
||||||
|
/** 查询 */
|
||||||
|
async _bakingquery (val1) {
|
||||||
|
if (!val1) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
let res = await bakingquery(val1)
|
||||||
|
this.val2 = res.data.container_name
|
||||||
},
|
},
|
||||||
async _handleBakingovenInAndOut1 (type) {
|
async _handleBakingovenInAndOut1 (type) {
|
||||||
this.disabled = true
|
this.disabled = true
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
<span class="filter_label">站点码</span>
|
<span class="filter_label">站点码</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<search-box
|
<search-box v-model="val1" @handleChange="handleChange1"/>
|
||||||
v-model="val1"
|
|
||||||
:seaShow="true"
|
|
||||||
@toSearch="toSearch"
|
|
||||||
/>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_item">
|
<view class="filter_item">
|
||||||
@@ -48,18 +44,15 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleChange (e) {
|
handleChange1 (e) {
|
||||||
console.log(e)
|
this._emptyVehiclepointStatusQuery(e)
|
||||||
},
|
|
||||||
toSearch (e) {
|
|
||||||
this._emptyVehiclepointStatusQuery()
|
|
||||||
},
|
},
|
||||||
/** 1.2点位状态查询 */
|
/** 1.2点位状态查询 */
|
||||||
async _emptyVehiclepointStatusQuery () {
|
async _emptyVehiclepointStatusQuery (val1) {
|
||||||
if (!this.val1) {
|
if (!val1) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let res = await emptyVehiclepointStatusQuery(this.val1)
|
let res = await emptyVehiclepointStatusQuery(val1)
|
||||||
this.val2 = res.data.vehicle_code
|
this.val2 = res.data.vehicle_code
|
||||||
},
|
},
|
||||||
async _emptyVehiclepointOperate () {
|
async _emptyVehiclepointOperate () {
|
||||||
@@ -74,6 +67,8 @@
|
|||||||
title: res.message,
|
title: res.message,
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
|
this.val1 = ''
|
||||||
|
this.val2 = ''
|
||||||
this.disabled1 = false
|
this.disabled1 = false
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.disabled1 = false
|
this.disabled1 = false
|
||||||
|
|||||||
@@ -94,6 +94,14 @@ export const bakingrelease = (pcode) => request({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// 1.4点位查询带出母卷
|
||||||
|
export const bakingquery = (pcode) => request({
|
||||||
|
url: 'api/pda/baking/query',
|
||||||
|
data: {
|
||||||
|
point_code: pcode
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 人工烘烤
|
* 人工烘烤
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user