e7c76c803f
预结算/收付款结算支持业务模式与运输方式展示导出;完善结算调整、对账导入与变更记录;组织合同初始流水号未填不再显示-1。 Co-authored-by: Cursor <cursoragent@cursor.com>
39 lines
1.7 KiB
JavaScript
39 lines
1.7 KiB
JavaScript
export const formalSettlementFormFields = [
|
|
{ label: '结算单号', prop: 'formalSettlementNo', readonly: true },
|
|
{ label: '项目名称', prop: 'projectId', type: 'project', required: true },
|
|
{ label: '所属组织', prop: 'deptName', readonly: true },
|
|
{ label: '合同编号', prop: 'contractNo', readonly: true },
|
|
{ label: '合同名称', prop: 'contractId', type: 'contract', required: true },
|
|
{ label: '付款方', prop: 'payerName', readonly: true },
|
|
{ label: '收款方', prop: 'payeeName', readonly: true },
|
|
{ label: '结算类型', prop: 'settlementTypeName', readonly: true },
|
|
{ label: '结算金额', prop: 'settlementAmount', readonly: true, money: true },
|
|
{ label: '业务模式', prop: 'businessModel', type: 'select', optionsKey: 'businessModelOptions' },
|
|
{ label: '运输方式', prop: 'transportType', type: 'select', optionsKey: 'transportTypeOptions' },
|
|
{ label: '汇率日期', prop: 'exchangeRateDate', type: 'date', required: true },
|
|
{ label: '结算汇率', prop: 'exchangeRate', type: 'number', required: true },
|
|
{ label: '本位币合计', prop: 'localSettlementAmount', readonly: true, money: true },
|
|
{ label: '创建人', prop: 'createUserName', readonly: true },
|
|
{ label: '创建时间', prop: 'createTime', readonly: true },
|
|
];
|
|
|
|
export const createFormalSettlementForm = () => ({
|
|
id: null,
|
|
formalSettlementNo: '',
|
|
projectId: null,
|
|
projectName: '',
|
|
contractId: null,
|
|
contractName: '',
|
|
settlementType: '',
|
|
sourcePreSettlementIds: [],
|
|
sourceDetailIds: [],
|
|
businessModel: '',
|
|
transportType: '',
|
|
exchangeRateDate: '',
|
|
exchangeRate: 1,
|
|
createUserName: '',
|
|
createTime: '',
|
|
attachmentsJson: '[]',
|
|
remark: '',
|
|
});
|