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"
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) => {

Loading…
Cancel
Save