1、修复基础配置
2、修复业务模块 3、拆分页面代码
This commit is contained in:
@@ -813,7 +813,6 @@ import {
|
||||
businessTypeOptions,
|
||||
projectSourceOptions,
|
||||
projectTypeOptions,
|
||||
settlementModeOptions,
|
||||
} from '@/option/business/common';
|
||||
import { config, option } from '@/option/business/project-apply';
|
||||
|
||||
@@ -960,7 +959,7 @@ export default {
|
||||
projectSourceOptions,
|
||||
transportTypeOptions: [],
|
||||
businessTypeOptions,
|
||||
settlementModeOptions,
|
||||
settlementModeOptions: [],
|
||||
changeTypeOptions,
|
||||
tableForm: {},
|
||||
tableOption: this.buildTableOption(),
|
||||
@@ -1225,6 +1224,7 @@ export default {
|
||||
this.loadDeptOptions();
|
||||
this.loadCargoTypeOptions();
|
||||
this.loadTransportTypeOptions();
|
||||
this.loadSettlementModeOptions();
|
||||
if (this.isProjectFormPage) {
|
||||
this.openProjectFormPage();
|
||||
}
|
||||
@@ -1970,6 +1970,17 @@ export default {
|
||||
}));
|
||||
});
|
||||
},
|
||||
loadSettlementModeOptions() {
|
||||
getBizDictionary({ code: 'settle_method' }).then(res => {
|
||||
const data = res.data?.data || [];
|
||||
this.settlementModeOptions = data.map(item => ({
|
||||
label: item.dictValue,
|
||||
value: item.dictKey,
|
||||
}));
|
||||
const column = this.findColumn(this.tableOption.column, 'settlementMode');
|
||||
if (column) column.dicData = this.settlementModeOptions;
|
||||
});
|
||||
},
|
||||
loadCustomerOptions(type) {
|
||||
const loadingKey = type === '客户' ? 'customerLoading' : 'carrierLoading';
|
||||
const optionsKey = type === '客户' ? 'customerOptions' : 'carrierOptions';
|
||||
|
||||
Reference in New Issue
Block a user