diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue index d5c97bbfb..258460f1f 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue @@ -257,8 +257,9 @@ const getSearchTableData = async (number,formField,searchField)=>{ }).then((res)=>{ res.list.forEach((item,index)=>{ const findItem = tableData.value.find(item1=>item1['itemCode']==item['code']) - findItem['expireTime'] = findItem['expireTime'] - + if(findItem){ + findItem['expireTime'] = findItem['expireTime'] + } }) }) }