diff --git a/src/views/projectManagement/GeneralProjectManagement.vue b/src/views/projectManagement/GeneralProjectManagement.vue
index 7924e61..fac8996 100644
--- a/src/views/projectManagement/GeneralProjectManagement.vue
+++ b/src/views/projectManagement/GeneralProjectManagement.vue
@@ -16,11 +16,7 @@
-
- {{ item.username }}
-
+
@@ -57,10 +53,7 @@
新增
-
导入
-
导出
-
下载模板
-
批量删除
+
批量删除
@@ -97,13 +90,19 @@
+
+
+
+
+
+
编辑
删除
-
+
@@ -111,11 +110,17 @@
import { JeroListMixin } from '@/mixins/JeroListMixin'
import JDate from '@comp/jero/JDate'
import GeneralProjectModule from './modules/GeneralProjectModule'
+import SelectPrincipal from '@comp/company/SelectPrincipal'
export default {
name: 'GeneralProjectManagement',
- components: { JDate, GeneralProjectModule },
+ components: { JDate, GeneralProjectModule, SelectPrincipal },
mixins: [JeroListMixin],
+ computed: {
+ importExcelUrl: function(){
+ return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
+ },
+ },
data() {
return {
labelCol: {
@@ -185,7 +190,8 @@ export default {
title: '需要发票',
align: 'center',
width: 100,
- dataIndex: 'invoice'
+ dataIndex: 'invoice',
+ scopedSlots: { customRender: 'icon' }
}, {
title: '到账',
align: 'center',
@@ -217,19 +223,7 @@ export default {
exportXlsUrl: '',
importExcelUrl: '',
exportTemplateUrl: ''
- },
- userList: [], // 用户管理的所有用户
- }
- },
- created() {
- this.initUserList()
- },
- methods: {
- /**
- * 获取所有用户
- */
- initUserList() {
-
+ }
}
}
}
diff --git a/src/views/projectManagement/modules/GeneralProjectModule.vue b/src/views/projectManagement/modules/GeneralProjectModule.vue
index 70d24c4..32e7b95 100644
--- a/src/views/projectManagement/modules/GeneralProjectModule.vue
+++ b/src/views/projectManagement/modules/GeneralProjectModule.vue
@@ -28,12 +28,15 @@
- {e.target.value = (e.target.value + '').trim()}">
- {{ item.username }}
-
+
+
+
+
+
+
+
@@ -177,10 +180,11 @@ import JDate from '@comp/jero/JDate'
import JUpload from '@comp/jero/JUpload'
import CompanySelect from '@comp/company/CompanySelect'
import ContactManagementModule from '@views/businessManagement/modules/ContactManagementModule'
+import SelectPrincipal from '@comp/company/SelectPrincipal'
export default {
name: 'GeneralProjectModule',
- components: { JDate, JUpload, CompanySelect, ContactManagementModule },
+ components: { JDate, JUpload, CompanySelect, ContactManagementModule, SelectPrincipal },
data() {
return {
title: '操作',
@@ -257,7 +261,7 @@ export default {
this.model = Object.assign({}, record)
this.visible = true
this.$nextTick(() => {
- this.form.setFieldsValue(pick(this.model, 'companyName', 'companyAddress', 'companyPhone', 'postalCode', 'bankAccountName', 'openingBank', 'bankAccount', 'dutyCode', 'remarks'))
+ this.form.setFieldsValue(pick(this.model, 'chargeProject', 'year', 'principalId', 'chargeCompanyName', 'chargeUse', 'contactsId', 'mailContactsId', 'receivableAmount', 'invoice', 'chargeWay', 'contractNum', 'chargeNoticeNo', 'remarks'))
})
},
close() {
@@ -305,7 +309,6 @@ export default {
this.chargeWayType = e.target.value
},
companyChange(value) {
- console.log('---companyChange---', value)
this.selectedCompany = value
},
addContacts() {