半成品入库状态
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_item">
|
<view class="filter_item">
|
||||||
<view class="filter_label">烘烤完成</view>
|
<view class="filter_label">状态</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
|
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
|
||||||
</view>
|
</view>
|
||||||
@@ -80,7 +80,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 {coolIOQuery, confirmInstor} from '@/utils/getData2.js'
|
import {coolIOQuery, confirmInstor, statusList} from '@/utils/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
return {
|
return {
|
||||||
val1: '',
|
val1: '',
|
||||||
val2: '',
|
val2: '',
|
||||||
options: [{value: '0', text: '否'}, {value: '1', text: '是'}],
|
options: [],
|
||||||
index: '',
|
index: '',
|
||||||
dataList: [],
|
dataList: [],
|
||||||
pkId: '',
|
pkId: '',
|
||||||
@@ -109,6 +109,7 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
this._statusList()
|
||||||
this._coolIOQuery()
|
this._coolIOQuery()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -120,6 +121,11 @@
|
|||||||
selectChange(e) {
|
selectChange(e) {
|
||||||
this.index = e
|
this.index = e
|
||||||
},
|
},
|
||||||
|
/** 下拉框查询 */
|
||||||
|
async _statusList () {
|
||||||
|
let res = await statusList()
|
||||||
|
this.options = [...res.rows]
|
||||||
|
},
|
||||||
/** 初始化查询 */
|
/** 初始化查询 */
|
||||||
async _coolIOQuery () {
|
async _coolIOQuery () {
|
||||||
let res = await coolIOQuery(this.val2, this.pageNum + '', this.pageSize + '')
|
let res = await coolIOQuery(this.val2, this.pageNum + '', this.pageSize + '')
|
||||||
|
|||||||
@@ -210,6 +210,11 @@ export const confirmInstor = (raw_jo, code, is_bake) => request({
|
|||||||
is_bake: is_bake
|
is_bake: is_bake
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
// 1.3状态下拉框查询
|
||||||
|
export const statusList = () => request({
|
||||||
|
url:'api/pda/coolIn/statusList',
|
||||||
|
data: {}
|
||||||
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 半成品出库
|
* 半成品出库
|
||||||
|
|||||||
Reference in New Issue
Block a user