|
@@ -130,7 +130,7 @@ import { ref, reactive, onMounted, onUnmounted, defineExpose, inject, watchEffec
|
|
|
import { GenerateForm } from '@zmjs/form-design';
|
|
|
import { get, post } from '@/utils/request';
|
|
|
import { BATCHTRANSFER, GETGENERATEFOEM, GETPERSONNEL, UPDATEINSET, URL_SAVECONTACT } from '../api';
|
|
|
-import { formatDateTime } from '@/utils/times';
|
|
|
+import { formatDate, formatDateTime } from '@/utils/times';
|
|
|
import { confirmAction } from '@/utils/tools';
|
|
|
import { useStore } from '@/store/index'
|
|
|
import { URL_GETALL } from '@/pages/contacts/api';
|
|
@@ -222,7 +222,7 @@ function editBusiness() {
|
|
|
let formVal = {
|
|
|
id: information.value.id,
|
|
|
...res,
|
|
|
- expectedTransactionDate: res.expectedTransactionDate ? formatDateTime(new Date(res.expectedTransactionDate)) : '',
|
|
|
+ expectedTransactionDate: res.expectedTransactionDate ? formatDate(new Date(res.expectedTransactionDate)) : '',
|
|
|
businessItemProductList: JSON.stringify(productTableListValue.value)
|
|
|
}
|
|
|
allLoading.businessSaveLading = true
|