Browse Source

YT-985新增,输入来源库位,叉掉还显示,应清空 YT-956扫描相同物料不同批次,第二次扫描数量输入2,带出的是库存数

intex
zhang_li 2 weeks ago
parent
commit
05a1c0f778
  1. 8
      src/pages/inventoryMove/coms/comMoveRecord.vue
  2. 14
      src/pages/inventoryMove/coms/okToHoldRecordPack.vue

8
src/pages/inventoryMove/coms/comMoveRecord.vue

@ -444,7 +444,7 @@
}
console.log(detail)
if (detail == undefined) {
let newDetail = createDetailInfo(balance, pack);
let newDetail = createDetailInfoForLabel(balance, pack, result.label);
// newDetail.inventoryStatus = balance.inventoryStatus;
if (this.businessTypeCode == "Move") {
newDetail.toInventoryStatus = balance.inventoryStatus;
@ -452,9 +452,9 @@
newDetail.toInventoryStatus = this.toInventoryStatus;
}
if (newDetail.packingNumber == '') {
newDetail.packingNumber = pack.number;
}
// if (newDetail.packingNumber == '') {
// newDetail.packingNumber = pack.number;
// }
newDetail.toLocationCode = this.toLocationCode;
newDetail.managementTypeParams = managementTypeParams;
newDetail.fromLocationCode = result.fromLocationCode

14
src/pages/inventoryMove/coms/okToHoldRecordPack.vue

@ -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()
}
},

Loading…
Cancel
Save