提交合同提示前端界面

This commit is contained in:
熊美虹 2024-09-20 11:07:17 +08:00
parent 3866fb8bc9
commit 0f72d31e9e
4 changed files with 93 additions and 93 deletions

View File

@ -12,9 +12,9 @@ export function getFormSchema(_params: any = {}) {
currencyTypeId: 'CNY', currencyTypeId: 'CNY',
}, },
columns: { columns: {
providerId: { ctrBaseId: {
title: '合同编号', title: '合同编号',
key: 'providerId', key: 'ctrBaseId',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -23,9 +23,9 @@ export function getFormSchema(_params: any = {}) {
}, },
rules: [{ required: true, message: '请输入' }], rules: [{ required: true, message: '请输入' }],
}, },
providerName: { ctrName: {
title: '合同名称', title: '合同名称',
key: 'providerName', key: 'ctrName',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -34,9 +34,9 @@ export function getFormSchema(_params: any = {}) {
}, },
rules: [{ required: true, message: '请输入合同名称' }], rules: [{ required: true, message: '请输入合同名称' }],
}, },
oldchangeperson: { breachReason: {
title: '事项', title: '违约方',
key: 'oldchangeperson', key: 'breachReason',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'fs-dict-radio', name: 'fs-dict-radio',
@ -45,14 +45,14 @@ export function getFormSchema(_params: any = {}) {
data: [ data: [
{ label: '我方违约', value: 0 }, { label: '我方违约', value: 0 },
{ label: '对方违约', value: 1 }, { label: '对方违约', value: 1 },
{ label: '双方违约', value: 1 }, { label: '双方违约', value: 2 },
], ],
}), }),
}, },
}, },
registerMoney: { lidatedDamages: {
title: '违约金', title: '违约金',
key: 'registerMoney', key: 'lidatedDamages',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input-number', name: 'a-input-number',
@ -60,9 +60,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
marketScope: { breachReasonDesc: {
title: '违约情况简述', title: '违约情况简述',
key: 'marketScope', key: 'breachReasonDesc',
col: { span: 12 }, col: { span: 12 },
component: { component: {
@ -71,9 +71,9 @@ export function getFormSchema(_params: any = {}) {
autosize: { minRows: 4, maxRows: 6 }, autosize: { minRows: 4, maxRows: 6 },
}, },
}, },
handlesuggesstion: { proposal: {
title: '处理意见', title: '处理意见',
key: 'marketScope', key: 'proposal',
col: { span: 12 }, col: { span: 12 },
component: { component: {

View File

@ -12,9 +12,9 @@ export function getFormSchema(_params: any = {}) {
currencyTypeId: 'CNY', currencyTypeId: 'CNY',
}, },
columns: { columns: {
providerId: { ctrBaseId: {
title: '合同编号', title: '合同编号',
key: 'providerId', key: 'ctrBaseId',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -23,9 +23,9 @@ export function getFormSchema(_params: any = {}) {
}, },
rules: [{ required: true, message: '请输入' }], rules: [{ required: true, message: '请输入' }],
}, },
providerName: { ctrName: {
title: '合同名称', title: '合同名称',
key: 'providerName', key: 'ctrName',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -35,9 +35,9 @@ export function getFormSchema(_params: any = {}) {
rules: [{ required: true, message: '请输入合同名称' }], rules: [{ required: true, message: '请输入合同名称' }],
}, },
changereason: { changeReason: {
title: '变更原因', title: '变更原因',
key: 'changereason', key: 'changeReason',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'fs-dict-radio', name: 'fs-dict-radio',
@ -47,14 +47,14 @@ export function getFormSchema(_params: any = {}) {
{ label: '我方', value: 0 }, { label: '我方', value: 0 },
{ label: '对方', value: 1 }, { label: '对方', value: 1 },
{ label: '双方', value: 2 }, { label: '双方', value: 2 },
{ label: '其', value: 3 }, { label: '其', value: 3 },
], ],
}), }),
}, },
}, },
marketScope: { performDescribe: {
title: '', title: '变更原因说明',
key: 'marketScope', key: 'performDescribe',
col: { span: 12 }, col: { span: 12 },
component: { component: {
@ -82,9 +82,9 @@ export function getFormSchema(_params: any = {}) {
}), }),
}, },
}, },
contractname: { changeCtrName: {
title: '合同名称变更为', title: '合同名称变更为',
key: 'contractname', key: 'changeCtrName',
col: { span: 24 }, col: { span: 24 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -92,9 +92,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
contractMoney: { priObjectSum: {
title: '原标的金额', title: '原标的金额',
key: 'contractMoney', key: 'priObjectSum',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input-number', name: 'a-input-number',
@ -102,9 +102,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
accumulatedsettlementMoney: { objectsSum: {
title: '累变更后标的金额', title: '累变更后标的金额',
key: 'accumulatedsettlementMoney', key: 'objectsSum',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input-number', name: 'a-input-number',
@ -122,9 +122,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
changeperformtime: { performStartDate: {
title: '变更后履行时间', title: '变更后履行时间',
key: 'changeperformtime', key: 'performStartDate',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -132,9 +132,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
oldchangeperson: { providerChange: {
title: '变更原因', title: '合同相对人变更',
key: 'oldchangeperson', key: 'providerChange',
col: { span: 24 }, col: { span: 24 },
component: { component: {
name: 'fs-dict-radio', name: 'fs-dict-radio',
@ -147,9 +147,9 @@ export function getFormSchema(_params: any = {}) {
}), }),
}, },
}, },
olecontractotherperson: { priProviderName: {
title: '原合同相对人', title: '原合同相对人',
key: 'olecontractotherperson', key: 'priProviderName',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -157,9 +157,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
olecontractotherpersonchenage: { providerName: {
title: '变更为', title: '变更为',
key: 'olecontractotherpersonchenage', key: 'providerName',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -167,9 +167,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
oldsuppliesotherperson: { juridicalPerson: {
title: '原供应商法人', title: '原供应商法人',
key: 'oldsuppliesotherperson', key: 'juridicalPerson',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -187,9 +187,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
resolutionmethods: { isDisputeMethod: {
title: '解决纠纷方式', title: '解决纠纷方式',
key: 'resolutionmethods', key: 'isDisputeMethod',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -197,9 +197,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
oldchangeperson1: { disputeMethod: {
title: '变更为', title: '变更为',
key: 'oldchangeperson1', key: 'disputeMethod',
col: { span: 24 }, col: { span: 24 },
component: { component: {
name: 'fs-dict-radio', name: 'fs-dict-radio',
@ -224,9 +224,9 @@ export function getFormSchema(_params: any = {}) {
}, },
}, },
//需要更换对应的组件 //需要更换对应的组件
enclosure: { fileUuid: {
title: '附件', title: '附件',
key: 'other', key: 'fileUuid',
col: { span: 24 }, col: { span: 24 },
component: { component: {
name: 'a-input', name: 'a-input',

View File

@ -12,20 +12,20 @@ export function getFormSchema(_params: any = {}) {
currencyTypeId: 'CNY', currencyTypeId: 'CNY',
}, },
columns: { columns: {
providerId: { ctrBaseId: {
title: '合同编号', title: '合同编号',
key: 'providerId', key: 'ctrBaseId',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
vModel: 'value', vModel: 'value',
allowClear: false, allowClear: false,
}, },
rules: [{ required: true, message: '请输入' }], rules: [{ required: true, message: '请输入合同编号' }],
}, },
providerName: { ctrName: {
title: '合同名称', title: '合同名称',
key: 'providerName', key: 'ctrName',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -44,9 +44,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
accumulatedsettlementMoney: { paymentSum: {
title: '累计结算金额', title: '累计结算金额',
key: 'accumulatedsettlementMoney', key: 'paymentSum',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input-number', name: 'a-input-number',
@ -87,9 +87,9 @@ export function getFormSchema(_params: any = {}) {
}, },
rules: [{ required: true, message: '请选择应付款时间' }], rules: [{ required: true, message: '请选择应付款时间' }],
}, },
paymenttype: { paympaymentKindIdenttype: {
title: '付款性质', title: '付款性质',
key: 'paymenttype', key: 'paymentKindId',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'fs-dict-select', name: 'fs-dict-select',
@ -101,9 +101,9 @@ export function getFormSchema(_params: any = {}) {
}, },
rules: [{ required: true, message: '请选择付款性质' }], rules: [{ required: true, message: '请选择付款性质' }],
}, },
providerAddr: { paymentUnit: {
title: '付款单位', title: '付款单位',
key: 'providerAddr', key: 'paymentUnit',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -111,9 +111,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
businessCode: { gatheringUnit: {
title: '收款单位', title: '收款单位',
key: 'businessCode', key: 'gatheringUnit',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -121,9 +121,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
juridicalPerson: { gatheringBank: {
title: '开户银行', title: '开户银行',
key: 'juridicalPerson', key: 'gatheringBank',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -131,9 +131,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
taxNo: { gatheringAccount: {
title: '收款账号', title: '收款账号',
key: 'taxNo', key: 'gatheringAccount',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -141,9 +141,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
organizeNum: { paymentRemark: {
title: '合同约定的付款条件', title: '合同约定的付款条件',
key: 'organizeNum', key: 'paymentRemark',
col: { span: 24 }, col: { span: 24 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -161,9 +161,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
acceptanceresultCode: { checkResult: {
title: '本次验收成果', title: '本次验收成果',
key: 'acceptanceresultCode', key: 'checkResult',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -171,9 +171,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
delayperformexplanation: { delaySay: {
title: '延迟履行说明', title: '延迟履行说明',
key: 'delayperformexplanation', key: 'delaySay',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -181,9 +181,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
isOutside: { isYsDelay: {
title: '验收是否延迟履行', title: '验收是否延迟履行',
key: 'isOutside', key: 'isYsDelay',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'fs-dict-radio', name: 'fs-dict-radio',
@ -196,9 +196,9 @@ export function getFormSchema(_params: any = {}) {
}), }),
}, },
}, },
paymentisOutside: { isFkDelay: {
title: '付款是否延迟履行', title: '付款是否延迟履行',
key: 'paymentisOutside', key: 'isFkDelay',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'fs-dict-radio', name: 'fs-dict-radio',
@ -211,9 +211,9 @@ export function getFormSchema(_params: any = {}) {
}), }),
}, },
}, },
contractisPerform: { isOver: {
title: '合同是否履行完毕', title: '合同是否履行完毕',
key: 'contractisPerform', key: 'isOver',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'fs-dict-radio', name: 'fs-dict-radio',
@ -226,9 +226,9 @@ export function getFormSchema(_params: any = {}) {
}), }),
}, },
}, },
otherperson: { toUsePerson: {
title: '对方经办人', title: '对方经办人',
key: 'otherperson', key: 'toUsePerson',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -236,9 +236,9 @@ export function getFormSchema(_params: any = {}) {
allowClear: false, allowClear: false,
}, },
}, },
endDate: { doneDate: {
title: '完成时间', title: '完成时间',
key: 'endDate', key: 'doneDate',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-date-picker', name: 'a-date-picker',
@ -249,9 +249,9 @@ export function getFormSchema(_params: any = {}) {
}, },
rules: [{ required: true, message: '请选择有效期' }], rules: [{ required: true, message: '请选择有效期' }],
}, },
paymentnote: { remark: {
title: '付款备注', title: '付款备注',
key: 'paymentnote', key: 'remark',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',

View File

@ -12,9 +12,9 @@ export function getFormSchema(_params: any = {}) {
currencyTypeId: 'CNY', currencyTypeId: 'CNY',
}, },
columns: { columns: {
providerId: { ctrBaseId: {
title: '合同编号', title: '合同编号',
key: 'providerId', key: 'ctrBaseId',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -23,9 +23,9 @@ export function getFormSchema(_params: any = {}) {
}, },
rules: [{ required: true, message: '请输入' }], rules: [{ required: true, message: '请输入' }],
}, },
providerName: { ctrName: {
title: '合同名称', title: '合同名称',
key: 'providerName', key: 'ctrName',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'a-input', name: 'a-input',
@ -34,9 +34,9 @@ export function getFormSchema(_params: any = {}) {
}, },
rules: [{ required: true, message: '请输入合同名称' }], rules: [{ required: true, message: '请输入合同名称' }],
}, },
oldchangeperson: { canType: {
title: '事项', title: '事项',
key: 'oldchangeperson', key: 'canType',
col: { span: 24 }, col: { span: 24 },
component: { component: {
name: 'fs-dict-radio', name: 'fs-dict-radio',
@ -50,9 +50,9 @@ export function getFormSchema(_params: any = {}) {
}, },
}, },
changereason: { cancelReason: {
title: '变更原因', title: '变更原因',
key: 'changereason', key: 'cancelReason',
col: { span: 12 }, col: { span: 12 },
component: { component: {
name: 'fs-dict-radio', name: 'fs-dict-radio',
@ -67,9 +67,9 @@ export function getFormSchema(_params: any = {}) {
}), }),
}, },
}, },
marketScope: { cancelReasonDesc: {
title: '', title: '变更原因说明',
key: 'marketScope', key: 'cancelReasonDesc',
col: { span: 12 }, col: { span: 12 },
component: { component: {