缓存线盘点
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<view class="content">
|
||||
<nav-bar title="缓存线盘点"></nav-bar>
|
||||
<view class="search-confirm-wrap">
|
||||
<view class="search-wrap">
|
||||
<view class="search-wrap search-wrap_1">
|
||||
<view class="search-item">
|
||||
<label class="search-label">生产区域</label>
|
||||
<view class="filter_input_wraper">
|
||||
@@ -60,12 +60,6 @@
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="search-item">
|
||||
<label class="search-label">工序</label>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-data-select v-model="index3" :localdata="options3" @change="selectChange3"></uni-data-select>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="search-item">
|
||||
<label class="search-label">物料</label>
|
||||
<view class="filter_input_wraper" @tap="searchMater">
|
||||
@@ -108,6 +102,12 @@
|
||||
<input type="text" class="search-input-l" v-model="obj.seat_order_num" disabled>
|
||||
</view>
|
||||
</view>
|
||||
<view class="search-item">
|
||||
<label class="search-label">工序</label>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-data-select v-model="index3" :localdata="options3" :selectUp="true" @change="selectChange3"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="confirm-button-wrap">
|
||||
<button class="confirm-button" :class="{'confirm-button_disabled': !val1 || !val6 || !val7}" :disabled="disabled1" @tap="_setfullBox">设为满框</button>
|
||||
@@ -157,7 +157,7 @@
|
||||
},
|
||||
created () {
|
||||
this._getCacheLine('A1')
|
||||
// this._workprocedureQuery()
|
||||
this._workprocedureQuery()
|
||||
},
|
||||
destroyed () {
|
||||
this.$store.dispatch('setPublicObj', '')
|
||||
@@ -203,6 +203,10 @@
|
||||
async _workprocedureQuery () {
|
||||
let res = await workprocedureQuery()
|
||||
this.options3 = [...res]
|
||||
this.options3.map(el => {
|
||||
this.$set(el, 'text', el.workprocedure_name)
|
||||
this.$set(el, 'value', el.workprocedure_code)
|
||||
})
|
||||
},
|
||||
toSearch () {
|
||||
this.val1 = ''
|
||||
@@ -222,11 +226,11 @@
|
||||
this.active = true
|
||||
this.obj = e
|
||||
this.val1 = this.obj.vehicle_code
|
||||
// this.options3.map(el => {
|
||||
// if (Number(el.workprocedure_code) === Number(e.workprocedure_code)) {
|
||||
// this.index3 = el.value
|
||||
// }
|
||||
// })
|
||||
this.options3.map(el => {
|
||||
if (el.workprocedure_code === e.workprocedure_code) {
|
||||
this.index3 = el.value
|
||||
}
|
||||
})
|
||||
this.val2 = this.obj.material_code
|
||||
this.val3 = this.obj.material_name
|
||||
this.val4 = this.obj.material_spec
|
||||
@@ -353,7 +357,6 @@
|
||||
z-index 100
|
||||
background-color #fff
|
||||
_fj()
|
||||
overflow hidden
|
||||
.overlay
|
||||
position fixed
|
||||
bottom 0
|
||||
@@ -367,9 +370,10 @@
|
||||
.delHeight
|
||||
transition height .2s linear
|
||||
height 0
|
||||
.search-item
|
||||
&:nth-child(1),&:nth-child(2)
|
||||
width 30%
|
||||
&:nth-child(3)
|
||||
width 36%
|
||||
.search-wrap_1
|
||||
.search-item
|
||||
&:nth-child(1),&:nth-child(2)
|
||||
width 30%
|
||||
&:nth-child(3)
|
||||
width 36%
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user