Browse Source

HL-6013WMS M类型采购收货,默认收货数量需要等于订单数量

hella_online_20240919
zhaoyiran 3 months ago
parent
commit
31402f3132
  1. 8
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestOrderMTypeMain/index.vue

8
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestOrderMTypeMain/index.vue

@ -511,11 +511,11 @@ const updateTableData = (tableList)=>{
//
newRow['batch'] = formatDate(newRow['produceDate'],'YYYYMMDD');
newRow['defaultToLocationCode'] =row['defaultLocation']
if(Number(row['orderQty'])>1){
newRow['qty'] = 1
}else{
// if(Number(row['orderQty'])>1){
// newRow['qty'] = 1
// }else{
newRow['qty'] = row['orderQty']
}
// }
if(!tableData.value.find((item:object)=>item.poNumber == newRow.poNumber&&item.itemCode == newRow.itemCode&&item.poLine == newRow.poLine&&item.batch == newRow.batch)){
tableData.value.push(newRow)

Loading…
Cancel
Save