diff --git a/src/views/crm/contract/ContractChange.vue b/src/views/crm/contract/ContractChange.vue
index dd99df69e..44f606157 100644
--- a/src/views/crm/contract/ContractChange.vue
+++ b/src/views/crm/contract/ContractChange.vue
@@ -108,7 +108,7 @@
-
+
diff --git a/src/views/crm/contract/ContractForm.vue b/src/views/crm/contract/ContractForm.vue
index 1a5cd9049..fad6401ae 100644
--- a/src/views/crm/contract/ContractForm.vue
+++ b/src/views/crm/contract/ContractForm.vue
@@ -16,17 +16,13 @@
-
-
-
-
-
+
@@ -39,6 +35,11 @@
+
+
+
+
+
{
// formLoading.value = true
try {
formData.value = await ContractApi.getContract(type)
+ console.log('%csrc/views/crm/contract/ContractForm.vue:614 object', 'color: #007acc;', formData.value);
} finally {
formLoading.value = false
}
@@ -789,7 +792,7 @@ const onCustomerChange = async (customerId: string) => {
formData.value.partAddress = customerRes.partAddress;
formData.value.listingStatus = customerRes.listingStatus;
formData.value.legalPersonName = customerRes.legalPersonName;
- formData.value.creditCode = customerRes.creditCode;
+ formData.value.creditNo = customerRes.creditNo;
formData.value.regType = customerRes.regType;
formData.value.financingInfo = customerRes.financingInfo;
formData.value.socialEmployeeNum = customerRes.socialEmployeeNum;
@@ -829,10 +832,12 @@ const getContactOptions = computed(() =>
const route = useRoute();
onMounted(async () => {
- formType.value = props.id || route.query.id
-
- if (formType.value) await open(formType.value)
-
+ if(!props.changeType) {
+ console.log('%csrc/views/crm/contract/ContractForm.vue:835 props.id', 'color: #007acc;', props.id);
+ formType.value = props.id || route.query.id
+
+ if (formType.value) await open(formType.value)
+ }
// 获得客户列表
customerList.value = await CustomerApi.getCustomerSimpleList()
// 获得用户列表
diff --git a/src/views/crm/contract/components/ContracStop.vue b/src/views/crm/contract/components/ContracStop.vue
index c069479c2..25ab0d4d6 100644
--- a/src/views/crm/contract/components/ContracStop.vue
+++ b/src/views/crm/contract/components/ContracStop.vue
@@ -13,13 +13,13 @@
v-model="formData.terminationDate"
type="date"
:disabled="!!type"
- value-format="YYYY-MM-DD"
+ value-format="x"
placeholder="请选择终止日期"
style="width: 100%"
/>
-
+
合同到期
@@ -74,7 +74,7 @@ const dialogTitle = ref('') // 弹窗的标题
const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
const formType = ref('') // 表单的类型:create - 新增;update - 修改
const formData = ref({
- terminationDate: undefined,
+ terminationDate: new Date(),
terminationReason: undefined,
note: undefined,
})
diff --git a/src/views/crm/contract/components/ContractChangeLimit.vue b/src/views/crm/contract/components/ContractChangeLimit.vue
index a8c783bd2..11e80e55b 100644
--- a/src/views/crm/contract/components/ContractChangeLimit.vue
+++ b/src/views/crm/contract/components/ContractChangeLimit.vue
@@ -140,7 +140,7 @@
-
+
@@ -154,7 +154,7 @@
v-model="formData.changeAmountDeadline"
value-format="YYYY-MM-DD"
type="date"
- :disabled="!!type"
+ :disabled="type"
placeholder="请选择调整金额截止日期"
style="width: 100%"
/>
@@ -262,7 +262,8 @@ const subTabsName = ref('quotationProduct')
const quotationProductFormRef = ref()
const props = defineProps<{
- data: undefined
+ data: undefined,
+ type: undefined
}>()
watch(
diff --git a/src/views/crm/contract/components/ContractExtension.vue b/src/views/crm/contract/components/ContractExtension.vue
index a1418bb6b..0bf80816b 100644
--- a/src/views/crm/contract/components/ContractExtension.vue
+++ b/src/views/crm/contract/components/ContractExtension.vue
@@ -27,7 +27,7 @@
-
+
-
+
-
+
-
+
- 是
- 否
+ 是
+ 否
-
-
- 是
- 否
+
+
+ 是
+ 否
- 是
- 否
+ 是
+ 否
-
-
- 是
- 否
+
+
+ 是
+ 否
-
-
- 是
- 否
+
+
+ 是
+ 否
-
-
- 是
- 否
+
+
+ 是
+ 否
@@ -120,12 +120,12 @@
-
+
diff --git a/src/views/crm/contract/detail/ContractChangeDetail.vue b/src/views/crm/contract/detail/ContractChangeDetail.vue
index 2e13f3ea1..c8633d1bc 100644
--- a/src/views/crm/contract/detail/ContractChangeDetail.vue
+++ b/src/views/crm/contract/detail/ContractChangeDetail.vue
@@ -28,8 +28,8 @@
-
+
额度
授权人
延期
终止
- 甲方关联单位
+ 关联
重签
-
-
+
甲方现授权人信息
-
+
-
-
-
-
+
+
+
+
+
diff --git a/src/views/crm/contract/detail/ContractDetail.vue b/src/views/crm/contract/detail/ContractDetail.vue
index 8cda5246d..d016e5885 100644
--- a/src/views/crm/contract/detail/ContractDetail.vue
+++ b/src/views/crm/contract/detail/ContractDetail.vue
@@ -16,6 +16,23 @@
+
+
+
+
+
+
+
@@ -39,23 +56,7 @@
-
-
-
-
-
-
-
+
-
+
-
+
@@ -217,11 +218,11 @@
-
+
-
+
@@ -275,7 +276,7 @@
-
+
{
// formData.value.ownerUserId = useUserStore().getUser.id
// }
// 获取联系人
- contactList.value = await ContactApi.getSimpleContactList()
+ contactList.value = await CustomerApi.getSelfCustomerSimpleList()
const data = await ContractApi.getOrg({
pageNo: 1,
pageSize: 1000
diff --git a/src/views/crm/customer/detail/returnvisitrecord/index.vue b/src/views/crm/customer/detail/returnvisitrecord/index.vue
index af65a0c73..4efa0a1b6 100644
--- a/src/views/crm/customer/detail/returnvisitrecord/index.vue
+++ b/src/views/crm/customer/detail/returnvisitrecord/index.vue
@@ -54,7 +54,7 @@
无附件
-
+
{{getName(userOptions, scope.row.creator)}}
@@ -79,7 +79,7 @@
:formatter="dateFormatter"
width="180px"
/>
-
+
+
+
+
+
+
@@ -193,11 +198,11 @@
-->
-
+
diff --git a/src/views/crm/quotation/QuotationForm.vue b/src/views/crm/quotation/QuotationForm.vue
index 372d27bc8..8270ad2af 100644
--- a/src/views/crm/quotation/QuotationForm.vue
+++ b/src/views/crm/quotation/QuotationForm.vue
@@ -172,6 +172,11 @@
/>
+
+
+
+
+
@@ -594,6 +599,7 @@ const onPartnerChange = async (id: string) => {
formLoading.value = true;
const res = await ContractApi.getOrgInfo(id);
formData.value.bankName = res.bankName;
+ formData.value.creditCode = res.creditCode;
formData.value.bankAccount = res.bankAccount;
formData.value.legalRepresentative = res.legalRepresentative;
formData.value.businessLicenseNumber = res.businessLicenseNumber;
diff --git a/src/views/task/online/ceshi.vue b/src/views/task/online/ceshi.vue
index 4e2ebee45..85f6fb5fc 100644
--- a/src/views/task/online/ceshi.vue
+++ b/src/views/task/online/ceshi.vue
@@ -15,171 +15,184 @@
:destroy-on-close="true"
class="signNameModel"
>
-
-
-
-