|
|
@ -10,7 +10,8 @@ |
|
|
|
<view class="item"> |
|
|
|
<view class="label">来源库位:</view> |
|
|
|
<view class="value"> |
|
|
|
<u-input v-model="fromLocationCode" clearable @blur="fromLocationScanMsg"></u-input> |
|
|
|
<u-input v-model="fromLocationCode" @blur="fromLocationScanMsg" ></u-input> |
|
|
|
<u-icon name="close-circle-fill" color="#acacac" size="36" @click="fromLocationCode=''" v-if="fromLocationCode"></u-icon> |
|
|
|
</view> |
|
|
|
<view class="searchIcon"> |
|
|
|
<image src="/static/search.svg" mode="" @click="fromLocationClick"/> |
|
|
@ -19,7 +20,8 @@ |
|
|
|
<view class="item"> |
|
|
|
<view class="label">零件:</view> |
|
|
|
<view class="value"> |
|
|
|
<u-input v-model="itemCode" clearable></u-input> |
|
|
|
<u-input v-model="itemCode"></u-input> |
|
|
|
<u-icon name="close-circle-fill" color="#acacac" size="36" @click="itemCode=''" v-if="itemCode"></u-icon> |
|
|
|
</view> |
|
|
|
<view class="searchIcon"> |
|
|
|
<image src="/static/search.svg" mode="" @click="itemCodeClick"/> |
|
|
@ -28,7 +30,8 @@ |
|
|
|
<view class="item"> |
|
|
|
<view class="label">批次:</view> |
|
|
|
<view class="value"> |
|
|
|
<u-input v-model='batch' clearable></u-input> |
|
|
|
<u-input v-model='batch'></u-input> |
|
|
|
<u-icon name="close-circle-fill" color="#acacac" size="36" @click="batch = ''" v-if="batch"></u-icon> |
|
|
|
</view> |
|
|
|
<view class="searchIcon"></view> |
|
|
|
</view> |
|
|
@ -73,7 +76,8 @@ |
|
|
|
fromLocationCode:'', |
|
|
|
itemCode:'', |
|
|
|
batch:'', |
|
|
|
showOne:false |
|
|
|
showOne:false, |
|
|
|
isFromLocationFocus:false |
|
|
|
} |
|
|
|
}, |
|
|
|
props: { |
|
|
@ -126,9 +130,9 @@ |
|
|
|
}, |
|
|
|
fromLocationScanMsg(){ |
|
|
|
if (this.fromLocationCode) { |
|
|
|
console.log(111,this.fromLocationCode) |
|
|
|
this.scanMsg = this.fromLocationCode |
|
|
|
this.fromWitch = 'fromLocationScanMsg' |
|
|
|
this.isFromLocationFocus = false |
|
|
|
this.handelScanMsg() |
|
|
|
} |
|
|
|
}, |
|
|
|