diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index 88132db45..4dea208e6 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -226,8 +226,8 @@ const getSelectionRows = (currentPage,currentPageSelectionRows) => { const searchTableSuccessDetail = async (formField, searchField, val, formRef,searchTableFormModel)=>{ console.log('详情',formField, searchField, val, formRef,searchTableFormModel) - let res = await SupplierinvoiceRequestDetailApi.createSupplierinvoiceRequestDetail({ - masterId:searchTableFormModel.id, + await SupplierinvoiceRequestDetailApi.createSupplierinvoiceRequestDetail({ + masterId:searchTableFormModel.masterId, subList:val }) detailRef.value.updateList() @@ -255,7 +255,7 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea newRow['purchasePrice'] = item['purchasePrice'] newRow['invoicableQuantity'] = item['invoicableQuantity'] newRow['itemCode'] = item['itemCode'] - newRow['planArriveTime'] = item['prhRcpDate'] + newRow['deliveryDate'] = item['prhRcpDate'] newRow['arrivalQty'] = item['prhRcvd'] } tableData.value.push(newRow)