diff --git a/src/views/eam/basic/location/index.vue b/src/views/eam/basic/location/index.vue
index 37b70d9..74180a6 100644
--- a/src/views/eam/basic/location/index.vue
+++ b/src/views/eam/basic/location/index.vue
@@ -151,15 +151,19 @@
}
if (data.activeTime == 0) data.activeTime = null;
if (data.expireTime == 0) data.expireTime = null;
- if (formType === 'create') {
- await LocationApi.createLocation(data)
- message.success(t('common.createSuccess'))
- } else {
- await LocationApi.updateLocation(data)
- message.success(t('common.updateSuccess'))
+ try {
+ if (formType === 'create') {
+ await LocationApi.createLocation(data)
+ message.success(t('common.createSuccess'))
+ } else {
+ await LocationApi.updateLocation(data)
+ message.success(t('common.updateSuccess'))
+ }
+ basicFormRef.value.dialogVisible = false
+ getList()
+ } finally {
+ basicFormRef.value.formLoading = false
}
- basicFormRef.value.dialogVisible = false
- getList()
}
/** 详情操作 */
diff --git a/src/views/eam/basic/locationArea/index.vue b/src/views/eam/basic/locationArea/index.vue
index 45cf784..5dc03e0 100644
--- a/src/views/eam/basic/locationArea/index.vue
+++ b/src/views/eam/basic/locationArea/index.vue
@@ -143,15 +143,20 @@
}
if (data.activeTime == 0) data.activeTime = null;
if (data.expireTime == 0) data.expireTime = null;
- if (formType === 'create') {
- await LocationAreaApi.createLocationArea(data)
- message.success(t('common.createSuccess'))
- } else {
- await LocationAreaApi.updateLocationArea(data)
- message.success(t('common.updateSuccess'))
+ try {
+ if (formType === 'create') {
+ await LocationAreaApi.createLocationArea(data)
+ message.success(t('common.createSuccess'))
+ } else {
+ await LocationAreaApi.updateLocationArea(data)
+ message.success(t('common.updateSuccess'))
+ }
+ basicFormRef.value.dialogVisible = false
+ getList()
+ } finally {
+ basicFormRef.value.formLoading = false
}
- basicFormRef.value.dialogVisible = false
- getList()
+
}
// 查询页面返回
diff --git a/src/views/eam/basic/supplier/index.vue b/src/views/eam/basic/supplier/index.vue
index 39206d0..d8940c4 100644
--- a/src/views/eam/basic/supplier/index.vue
+++ b/src/views/eam/basic/supplier/index.vue
@@ -4,29 +4,16 @@
-
-
+
+
-
+ }" v-model:pageSize="tableObject.pageSize" v-model:currentPage="tableObject.currentPage"
+ v-model:sort="tableObject.sort">
{{ row.code }}
@@ -39,187 +26,184 @@
-
+
-
+
diff --git a/src/views/eam/item/itemApplyMain/itemApplyMain.data.ts b/src/views/eam/item/itemApplyMain/itemApplyMain.data.ts
index d053746..4a9d03d 100644
--- a/src/views/eam/item/itemApplyMain/itemApplyMain.data.ts
+++ b/src/views/eam/item/itemApplyMain/itemApplyMain.data.ts
@@ -258,27 +258,27 @@ export const ItemApplyDetail = useCrudSchemas(reactive([
precision: 2
}
},
- {
- label: '是否账内库',
- field: 'isInAccount',
- sort: 'custom',
- dictType: DICT_TYPE.TRUE_FALSE,
- dictClass: 'string',
- isSearch: true,
- isTable: true,
- table: {
- width: 150
- },
- tableForm: {
- type: 'Select',
- disabled: true
- },
- form: {
- componentProps: {
- disabled: true,
- }
- },
- },
+ // {
+ // label: '是否账内库',
+ // field: 'isInAccount',
+ // sort: 'custom',
+ // dictType: DICT_TYPE.TRUE_FALSE,
+ // dictClass: 'string',
+ // isSearch: true,
+ // isTable: true,
+ // table: {
+ // width: 150
+ // },
+ // tableForm: {
+ // type: 'Select',
+ // disabled: true
+ // },
+ // form: {
+ // componentProps: {
+ // disabled: true,
+ // }
+ // },
+ // },
{
label: '是否可用',
field: 'available',