diff --git a/src/views/consult_project/edit.vue b/src/views/consult_project/edit.vue
index 1438716..72ebefc 100644
--- a/src/views/consult_project/edit.vue
+++ b/src/views/consult_project/edit.vue
@@ -17,7 +17,7 @@
+ :value="parseInt(item.value)" />
@@ -25,7 +25,7 @@
+ :value="parseInt(item.value)" />
@@ -38,7 +38,7 @@
+ :value="parseInt(item.value)" />
@@ -547,7 +547,9 @@ if (route.query.contractId) {
const customEvent = (e) => {
formData.contract = e.id
formData.contract_name = e.contract_name
+ formData.project_name = e.contract_name
formData.nature = e.industry_nature
+ formData.industry = e.business_nature
formData.project_manager = e.project_director
formData.part_a = e.part_a
formData.part_a_unit = e.part_a_name
diff --git a/src/views/manage_project/edit.vue b/src/views/manage_project/edit.vue
index ebeae09..038bf77 100644
--- a/src/views/manage_project/edit.vue
+++ b/src/views/manage_project/edit.vue
@@ -526,16 +526,21 @@ if (route.query.contractId) {
const customEvent = (e) => {
formData.contract = e.id
formData.contract_name = e.contract_name
+ formData.project_name = e.contract_name;
formData.nature = e.industry_nature
+ formData.industry = e.business_nature
formData.planned_start_date = e.start_date
formData.planned_end_date = e.end_date
formData.project_manager = e.project_director
+ formData.project_manager_name = e.project_manager_name
formData.part_a = e.part_a
formData.part_a_unit = e.part_a_name
formData.build_area = e.const_area
formData.total_investment = e.project_money
formData.supervision_department = e.supervise_dept
-
+ formData.contract_content = e.content
+ formData.build_unit_name = e.part_b
+ formData.build_unit = e.part_b_signatory
formData.project_overview = e.project_scale
}
diff --git a/src/views/marketing_framework_agreement/edit.vue b/src/views/marketing_framework_agreement/edit.vue
index 1dccc64..549d15d 100644
--- a/src/views/marketing_framework_agreement/edit.vue
+++ b/src/views/marketing_framework_agreement/edit.vue
@@ -242,6 +242,7 @@ const isPartb = ref(false)
const customEvent = (e) => {
if (isPartb.value) {
formData.part_b = e.name
+ formData.part_b_signatory = e.id
formData.part_b_signatory_name = e.invoice_contact_name
} else {
formData.part_a = e.id
diff --git a/src/views/supervision_project/edit.vue b/src/views/supervision_project/edit.vue
index 5e98940..f3e4364 100644
--- a/src/views/supervision_project/edit.vue
+++ b/src/views/supervision_project/edit.vue
@@ -33,6 +33,24 @@
@click="showDialog1 = true"/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -213,11 +231,11 @@
-
-
-
-
+
+
+
+
+
@@ -239,6 +257,7 @@ import {
} from '@/components/dialogTable/dialogTableConfig'
import {timeFormat} from '@/utils/util'
import useUserStore from '@/stores/modules/user'
+import {apiCityList, apiProvinceList} from "@/api/common";
const userStore = useUserStore().userInfo
const route = useRoute()
@@ -306,7 +325,9 @@ const formData = reactive({
part_a: '',
annex: [],
create_user: userStore.account,
- create_time: timeFormat('', 'yyyy-mm-dd hh:MM:ss')
+ create_time: timeFormat('', 'yyyy-mm-dd hh:MM:ss'),
+ province:'',
+ city:''
})
const chekcDate = (rule: any, value: any, callback: any) => {
@@ -579,6 +600,7 @@ const customEvent = (e) => {
formData.contract_name = e.contract_name
formData.project_name = e.contract_name;
formData.nature = e.industry_nature
+ formData.industry = e.business_nature
formData.planned_start_date = e.start_date
formData.planned_end_date = e.end_date
formData.project_manager = e.project_director
@@ -590,6 +612,10 @@ const customEvent = (e) => {
formData.total_investment = e.project_money
formData.contract_amount = e.signed_amount
formData.supervision_department = e.supervise_dept
+ formData.province = e.province
+ formData.city = e.city
+ formData.address = e.part_a_address
+ formData.contract_content = e.content
// formData.nature = e.industry_nature
// formData.contract_type = e.contract_type
// formData.contract_type_text = e.contract_type_text
@@ -598,6 +624,9 @@ const customEvent = (e) => {
formData.project_overview = e.project_scale
// formData.Acontact = e.part_a_contract
// showDialog.value = false;
+ if(e.city!=''){
+ getCityList()
+ }
}
const customEvent1 = (e) => {
formData.build_unit = e.id
@@ -622,6 +651,23 @@ const submituser = (e: any) => {
formData[value] = e.id
showDialog.value = false
}
+const datas = reactive({
+ provinceOptions: [],
+ cityOptions: [],
+});
+const getProvinceList = async () => {
+ const data = await apiProvinceList({});
+ datas["provinceOptions"] = data;
+};
+const getCityList = async () => {
+ const data = await apiCityList({province_code: formData.province});
+ datas["cityOptions"] = data;
+};
+getProvinceList()
+//获取省份
+function province_change(value: string) {
+ getCityList();
+}
defineExpose({
open,