diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue index ee6307109..bf4d22be7 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue @@ -98,7 +98,7 @@ :mainSubmitCreateApi="true" fieldTableColumn="poLine" @detailOpenForm="detailOpenForm" - @handleSubmitForm="handleSubmitForm" + @handleSubmitForm="handleDetailSubmitForm" /> @@ -527,7 +527,7 @@ const getSearchTableData = async (number,formField,searchField)=>{ } }) } - const handleSubmitForm = async (formType, data)=>{ + const handleDetailSubmitForm = async (formType, data)=>{ if(formType == 'update'){ if(Number(data.planQty)<=0){ message.error(t('ts.计划数量必须大于0')) @@ -536,7 +536,7 @@ const getSearchTableData = async (number,formField,searchField)=>{ await PurchasePlanDetailApi.updatePurchasePlanDetail(data) message.success(t('common.updateSuccess')) } - + detailRef.value.submitUpdateList() } /** 删除按钮操作 */ const handleDelete = async (id : number) => {