Browse Source

要货计划子表明细编辑完弹窗未关闭

hella_online_20240919
yufei_wang 2 months ago
parent
commit
8b73e40cca
  1. 6
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

6
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -98,7 +98,7 @@
:mainSubmitCreateApi="true" :mainSubmitCreateApi="true"
fieldTableColumn="poLine" fieldTableColumn="poLine"
@detailOpenForm="detailOpenForm" @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(formType == 'update'){
if(Number(data.planQty)<=0){ if(Number(data.planQty)<=0){
message.error(t('ts.计划数量必须大于0')) message.error(t('ts.计划数量必须大于0'))
@ -536,7 +536,7 @@ const getSearchTableData = async (number,formField,searchField)=>{
await PurchasePlanDetailApi.updatePurchasePlanDetail(data) await PurchasePlanDetailApi.updatePurchasePlanDetail(data)
message.success(t('common.updateSuccess')) message.success(t('common.updateSuccess'))
} }
detailRef.value.submitUpdateList()
} }
/** 删除按钮操作 */ /** 删除按钮操作 */
const handleDelete = async (id : number) => { const handleDelete = async (id : number) => {

Loading…
Cancel
Save