Browse Source

直接合格转隔离

intex_online20241111
zhang_li 3 weeks ago
parent
commit
a5dcb615c6
  1. 13
      src/pages/inventoryMove/coms/comMoveRecord.vue
  2. 2
      src/pages/inventoryMove/coms/comMoveRecordCard.vue

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

@ -429,8 +429,17 @@
newDetail.fromLocationCode = result.fromLocationCode
item.subList.push(newDetail);
} else {
console.log(999,detail.handleQty)
detail.handleQty =calc.add(detail.handleQty, result.label.qty)
// console.log(999,detail.handleQty)
// detail.handleQty =calc.add(detail.handleQty, result.label.qty)
if(managementTypeParams == 'BY_QUANTITY'){
this.showErrorMessage(
"批次[]\n" + "库位[" + detail.fromLocationCode + "]\n" +
"已经存在")
}else if(managementTypeParams == 'BY_BATCH'){
this.showErrorMessage(
"批次[" + detail.batch + "]\n" + "库位[" + detail.fromLocationCode + "]\n" +
"已经存在")
}
}
}

2
src/pages/inventoryMove/coms/comMoveRecordCard.vue

@ -18,7 +18,7 @@
:right-options="item.scaned?scanOptions:detailOptions">
<comMovebalance :dataContent="item" :isShowStdPack="false"
:fromInventoryStatus="item.inventoryStatus" :toInventoryStatus="item.toInventoryStatus"
:isShowLocation="true" :allowEditStatus='allowEditStatus' :isShowPack='item.managementTypeParams == "BY_PACKAGING"' :isShowBatch='item.managementTypeParams == "BY_PACKAGING" || item.managementTypeParams == "BY_Batch"'></comMovebalance>
:isShowLocation="true" :allowEditStatus='allowEditStatus' :isShowPack='item.managementTypeParams == "BY_PACKAGING"' ></comMovebalance>
</uni-swipe-action-item>
</uni-swipe-action>
<view class='split_line'></view>

Loading…
Cancel
Save