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