Browse Source

修复bug

master
songguoqiang 6 months ago
parent
commit
6eaf00241b
  1. 6
      src/views/eam/item/itemAccounts/index.vue
  2. 1
      src/views/eam/item/itemInLocation/index.vue
  3. 1
      src/views/eam/item/itemOutLocation/index.vue
  4. 2
      src/views/eam/item/transaction/transaction.data.ts

6
src/views/eam/item/itemAccounts/index.vue

@ -335,14 +335,18 @@ const formsSuccess = async (formType, data) => {
//
await ItemAccountsApi.newTurnIn(data)
message.success(t('common.createSuccess'))
basicFormRef1.value.formLoading = false
basicFormRef1.value.dialogVisible = false
} else {
await ItemAccountsApi.updateItemAccounts(data)
message.success(t('common.updateSuccess'))
}
basicFormRef.value.formLoading = false
basicFormRef.value.dialogVisible = false
getList()
}
} finally {
basicFormRef.value.formLoading = false
basicFormRef1.value.formLoading = false
}
}

1
src/views/eam/item/itemInLocation/index.vue

@ -204,6 +204,7 @@ const formsSuccess = async (formType, data) => {
await ItemInLocationApi.updateItemInLocation(data)
message.success(t('common.updateSuccess'))
}
basicFormRef.value.formLoading = false
basicFormRef.value.dialogVisible = false
getList()
} finally {

1
src/views/eam/item/itemOutLocation/index.vue

@ -204,6 +204,7 @@ const formsSuccess = async (formType, data) => {
await ItemOutLocationApi.updateItemOutLocation(data)
message.success(t('common.updateSuccess'))
}
basicFormRef.value.formLoading = false
basicFormRef.value.dialogVisible = false
getList()
} finally {

2
src/views/eam/item/transaction/transaction.data.ts

@ -39,7 +39,7 @@ export const Transaction = useCrudSchemas(reactive<CrudSchema[]>([
}
},
{
label: '库存动作',
label: '库存类型',
field: 'inventoryAction',
sort: 'custom',
dictType: DICT_TYPE.INVENTORY_ACTION,

Loading…
Cancel
Save