diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index d0f019124..098be8463 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -148,8 +148,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => row['supplierQty'] = val[0]['supplierQty'] row['supplierUom'] = val[0]['supplierUom'] row['inventoryStatus'] = val[0]['inventoryStatus'] - row['fromLocationCode'] = val[0]['locationCode'] - row['toLocationCode'] = null + row['fromLocationCode'] = val[0]['toLocationCode'] + row['toLocationCode'] = val[0]['toLocationCode'] row['fromLocationGroupCode'] = val[0]['locationGroupCode'] row['toLocationGroupCode'] = null row['toWarehouseCode'] = null @@ -261,8 +261,8 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => { setV['supplierQty'] = val[0]['supplierQty'] setV['supplierUom'] = val[0]['supplierUom'] setV['inventoryStatus'] = val[0]['inventoryStatus'] - setV['fromLocationCode'] = val[0]['locationCode'] - setV['toLocationCode'] = null + setV['fromLocationCode'] = val[0]['toLocationCode'] + setV['toLocationCode'] = val[0]['toLocationCode'] setV['fromLocationGroupCode'] = val[0]['locationGroupCode'] setV['toLocationGroupCode'] = null setV['toWarehouseCode'] = null