|
@@ -116,7 +116,7 @@
|
|
|
</van-cell-group>
|
|
</van-cell-group>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="take-button">
|
|
<div class="take-button">
|
|
|
- <van-button type="primary" size="large" round style="height: 36px" @click="onConfirm">上架</van-button>
|
|
|
|
|
|
|
+ <div class="btn" type="primary" size="large" round style="height: 36px" @click="onConfirm">上架</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div>
|
|
<div>
|
|
|
<location-list :locationList="locationList" />
|
|
<location-list :locationList="locationList" />
|
|
@@ -347,6 +347,7 @@ const onDetailActive = (item) => {
|
|
|
searchCount.value = 1
|
|
searchCount.value = 1
|
|
|
scanType.value = 3
|
|
scanType.value = 3
|
|
|
_getRecommendedLocation(item[0].lotNumber, item[0].owner)
|
|
_getRecommendedLocation(item[0].lotNumber, item[0].owner)
|
|
|
|
|
+ scanSuccess()
|
|
|
}
|
|
}
|
|
|
const onAsnCancel = () => {
|
|
const onAsnCancel = () => {
|
|
|
if (searchBarcode.value === '' || (oldSearchBarcode.value.length != searchBarcode.value.length && oldSearchBarcode.value != '')) {
|
|
if (searchBarcode.value === '' || (oldSearchBarcode.value.length != searchBarcode.value.length && oldSearchBarcode.value != '')) {
|
|
@@ -366,6 +367,7 @@ const _handlerScan = (code) => {
|
|
|
barcodeActiveList.value = lotBarcodeList.value[0]
|
|
barcodeActiveList.value = lotBarcodeList.value[0]
|
|
|
_getRecommendedLocation(barcodeActiveList.value[0].lotNumber, barcodeActiveList.value[0].owner)
|
|
_getRecommendedLocation(barcodeActiveList.value[0].lotNumber, barcodeActiveList.value[0].owner)
|
|
|
scanType.value = 3
|
|
scanType.value = 3
|
|
|
|
|
+ scanSuccess()
|
|
|
} else if (lotBarcodeList.value.length > 1) {
|
|
} else if (lotBarcodeList.value.length > 1) {
|
|
|
locationList.value = []
|
|
locationList.value = []
|
|
|
barcodeActiveList.value = []
|
|
barcodeActiveList.value = []
|
|
@@ -382,6 +384,7 @@ const _handlerScan = (code) => {
|
|
|
searchLocation.value = barcodeToUpperCase(code)
|
|
searchLocation.value = barcodeToUpperCase(code)
|
|
|
scanType.value = 4
|
|
scanType.value = 4
|
|
|
searchCount.value = 1
|
|
searchCount.value = 1
|
|
|
|
|
+ scanSuccess()
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
// 获取库存数据
|
|
// 获取库存数据
|
|
@@ -597,4 +600,10 @@ window.onRefresh = loadData
|
|
|
|
|
|
|
|
.take-button
|
|
.take-button
|
|
|
padding: 10px 20px
|
|
padding: 10px 20px
|
|
|
|
|
+ .btn
|
|
|
|
|
+ background: #1989fa
|
|
|
|
|
+ color: #fff
|
|
|
|
|
+ font-size: 16px
|
|
|
|
|
+ line-height: 35px
|
|
|
|
|
+ border-radius: 8px
|
|
|
</style>
|
|
</style>
|