diff --git a/src/components/annexUpload/index.vue b/src/components/annexUpload/index.vue
new file mode 100644
index 0000000..b1e17bf
--- /dev/null
+++ b/src/components/annexUpload/index.vue
@@ -0,0 +1,24 @@
+
+import type { isTemplate } from 'element-plus/es/utils';
+
+
+
+ 上传
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/custom/detail.vue b/src/views/custom/detail.vue
index d4750e0..1e89f5c 100644
--- a/src/views/custom/detail.vue
+++ b/src/views/custom/detail.vue
@@ -7,18 +7,13 @@
-
-
-
-
-
{{ formData.name }}
{{ formData.custom_type_text }}
-
- {{ formData.parent_company }}
+
{{ formData.address }}
diff --git a/src/views/custom/edit.vue b/src/views/custom/edit.vue
index c0245ea..1ae0548 100644
--- a/src/views/custom/edit.vue
+++ b/src/views/custom/edit.vue
@@ -17,7 +17,7 @@
-
@@ -31,36 +31,25 @@
-
-
- -->
+
+
+ :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
-
-
-
-
- {{ item.name }}
-
-
-
-
+
@@ -89,11 +78,22 @@
-
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
-
+
@@ -339,7 +339,7 @@ const emit = defineEmits(['success', 'close'])
const formRef = shallowRef()
const popupRef = shallowRef>()
const mode = ref('add')
-const companyname = ref('')
+// const companyname = ref('')
const list1 = reactive([])
const showDialog = ref(false);
const list2 = reactive([])
@@ -356,11 +356,11 @@ const datas = reactive({
areaOptions: [],
});
-const customEvent = (e: any) => {
- formData.parent_company = e.id;
- companyname.value = e.name;
- showDialog.value = false;
-};
+// const customEvent = (e: any) => {
+// formData.parent_company = e.id;
+// companyname.value = e.name;
+// showDialog.value = false;
+// };
const handleAdd = (row: any) => {
// 在 row 后面插入一行数据
@@ -449,7 +449,7 @@ const formData = reactive({
org_id: '',
name: '',
custom_type: '',
- parent_company: '',
+ // parent_company: '',
phone: '',
credit_rating: '',
province: '',
diff --git a/src/views/custom_follow/edit.vue b/src/views/custom_follow/edit.vue
index 204b1ca..7bb5b6b 100644
--- a/src/views/custom_follow/edit.vue
+++ b/src/views/custom_follow/edit.vue
@@ -139,9 +139,9 @@ const setFormData = async (data: Record) => {
}
//@ts-ignore
- formData.date = timeFormat(formData.date, 'yyyy-mm-dd hh:MM:ss')
+ formData.date = timeFormat(formData.date, 'yyyy-mm-dd')
//@ts-ignore
- formData.next_follow_date = timeFormat(formData.next_follow_date, 'yyyy-mm-dd hh:MM:ss')
+ formData.next_follow_date = timeFormat(formData.next_follow_date, 'yyyy-mm-dd')
}
const getDetail = async (row: Record) => {