Просмотр исходного кода

手持-过度库位正则兼容

zhaohuanhuan 2 месяцев назад
Родитель
Сommit
00d7529f01

+ 1 - 1
src/views/inventory/transfer/index.vue

@@ -234,7 +234,7 @@ const _handlerScan = (code) => {
       warehouse,
       barcode: productBarcode.value,
       location: sourceLocation.value,
-      locationRegexp: '^(?!STAGE_|SORTATION_).*$',
+      locationRegexp: '^(?!STAGE_|SORTATION_|TRANSFER_).*$',
     }
     showLoading()
     getInventory(params).then(res => {

+ 1 - 1
src/views/outbound/check/moveStock/index.vue

@@ -282,7 +282,7 @@ const _getInventoryList = async (barcode) => {
     }
     scanSuccess()
     searchBarcode.value= res.data[0].sku
-    const params={ warehouse, barcode,locationRegexp:'^(?!STAGE_|SORTATION_|REVERSEPICK_|FJ-).*$',queryLocationInfo:true }
+    const params={ warehouse, barcode,locationRegexp:'^(?!STAGE_|SORTATION_|REVERSEPICK_|FJ-|TRANSFER_).*$',queryLocationInfo:true }
     if(barcode==='') return
     getInventory(params).then(res=>{
       totalList.value=res.data