diff --git a/src/components/SelectCustomer/src/index.vue b/src/components/SelectCustomer/src/index.vue
index 7c3629b54..5c1689012 100644
--- a/src/components/SelectCustomer/src/index.vue
+++ b/src/components/SelectCustomer/src/index.vue
@@ -18,75 +18,78 @@
:key="item.id"
:label="item.name"
:value="item.id" />
-
\ No newline at end of file
diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index 38c6896be..63e81f5d9 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -217,6 +217,7 @@ export enum DICT_TYPE {
CRM_PRODUCT_INVOICE_ITEMS='crm_product_invoice_items',// 产品开票项目
CRM_SERVICE_FEE_INVOICE='crm_service_fee_invoice',// 服务费票据
CRM_SERVICE_FEE_INVOICE_ITEMS='crm_service_fee_invoice_items',// 服务费开票项目
+ SALE_STAGE='sale_stage',// 销售阶段
CRM_PRODUCT_CATEGORY = "crm_product_category", //CRM 产品类型
CRM_PRODUCT_DETAIL_TYPE = "crm_product_detail_type", //CRM 产品明细类型
diff --git a/src/views/bpm/task/todo/index.vue b/src/views/bpm/task/todo/index.vue
index 9c0df6b7d..de92ea133 100644
--- a/src/views/bpm/task/todo/index.vue
+++ b/src/views/bpm/task/todo/index.vue
@@ -233,4 +233,7 @@ onMounted(async () => {
// 获取流程定义列表
processDefinitionList.value = await DefinitionApi.getSimpleProcessDefinitionList()
})
+onActivated(()=>{
+ getList()
+})
diff --git a/src/views/crm/business/BusinessForm.vue b/src/views/crm/business/BusinessForm.vue
index 51fccd6aa..9971d6543 100644
--- a/src/views/crm/business/BusinessForm.vue
+++ b/src/views/crm/business/BusinessForm.vue
@@ -8,11 +8,11 @@
v-loading="formLoading"
>
-
+
-
+
-
+
-
-
-
+
+
+
+
@@ -118,10 +128,15 @@
+ >
+
+
+
+
+
([]) // 客户列表
defineOptions({ name: 'CrmBusiness' })
@@ -267,7 +287,8 @@ const handleExport = async () => {
}
/** 初始化 **/
-onMounted(() => {
+onMounted( async () => {
+ customerList.value = await CustomerApi.getCustomerSimpleList()
getList()
})
onActivated(()=>{
diff --git a/src/views/crm/contract/ContractForm.vue b/src/views/crm/contract/ContractForm.vue
index 4ff588528..f8a2d1fc4 100644
--- a/src/views/crm/contract/ContractForm.vue
+++ b/src/views/crm/contract/ContractForm.vue
@@ -11,11 +11,11 @@
基础信息
-
+
@@ -84,6 +84,18 @@
+
@@ -102,10 +114,8 @@
-
-
-
+
-
+
-
+
-
-
-
-
-
-
-
+
@@ -563,6 +562,7 @@ const formRules = reactive({
penaltyRate: [{ required: true, message: '违约金比例不能为空', trigger: 'blur' }],
latePaymentRate: [{ required: true, message: '延期付款利率不能为空', trigger: 'blur' }],
collUserId: [{ required: true, message: '协作人不能为空', trigger: 'blur' }],
+ settleMethod: [{ required: true, message: '财务结算方式不能为空', trigger: 'change' }],
})
const formRef = ref() // 表单 Ref
const userOptions = ref([]) // 用户列表
@@ -821,7 +821,6 @@ const getContactOptions = computed(() =>
const route = useRoute();
onMounted(async () => {
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)
@@ -833,12 +832,12 @@ onMounted(async () => {
// 获得报价列表
quotationList.value = await QuotationApi.getSelfSimpleQuotationList()
- //票据
- const tempData = await BillTemplateApi.getBillTemplatePage({
- pageNo: 1,
- pageSize: 1000,
- })
- templateOptions.value = tempData.list
+ // //票据
+ // const tempData = await BillTemplateApi.getBillTemplatePage({
+ // pageNo: 1,
+ // pageSize: 1000,
+ // })
+ // templateOptions.value = tempData.list
// 获得部门树
diff --git a/src/views/crm/contract/detail/ContractDetail.vue b/src/views/crm/contract/detail/ContractDetail.vue
index d016e5885..1e32e7667 100644
--- a/src/views/crm/contract/detail/ContractDetail.vue
+++ b/src/views/crm/contract/detail/ContractDetail.vue
@@ -11,11 +11,11 @@
基础信息
-
+
+
@@ -115,22 +127,9 @@
-
-
-
-
-
-
-
-
-
+
-
+
-
+
-
+
{
quotationList.value = await QuotationApi.getSimpleQuotationList()
//票据
- const tempData = await BillTemplateApi.getBillTemplatePage({
- pageNo: 1,
- pageSize: 1000,
- })
- templateOptions.value = tempData.list
+ // const tempData = await BillTemplateApi.getBillTemplatePage({
+ // pageNo: 1,
+ // pageSize: 1000,
+ // })
+ // templateOptions.value = tempData.list
// 获得部门树
diff --git a/src/views/crm/product/ProductForm.vue b/src/views/crm/product/ProductForm.vue
index dd7a3add1..c2fe78091 100644
--- a/src/views/crm/product/ProductForm.vue
+++ b/src/views/crm/product/ProductForm.vue
@@ -71,7 +71,7 @@
-
+
+
+
+
+
+ {{ dict.label }}
+
+
+
@@ -99,8 +112,8 @@