contractSysId
This commit is contained in:
@@ -1395,6 +1395,7 @@ function createPerformancePlan() {
|
||||
function createContractFormData() {
|
||||
return {
|
||||
id: null,
|
||||
contractSysId: null,
|
||||
contractName: "",
|
||||
contractCode: "",
|
||||
contractTypeCode: undefined,
|
||||
@@ -1509,6 +1510,8 @@ function copyContractFormData(data = {}) {
|
||||
}));
|
||||
} else if (key === "partyState") {
|
||||
form.partyState = copyPartyState(source.partyState || source);
|
||||
} else if (key === "contractSysId") {
|
||||
form.contractSysId = source.contractSysId || null;
|
||||
} else if (key === "otherAttachmentList") {
|
||||
form.otherAttachmentList = fileState.otherAttachmentList;
|
||||
} else if (key === "contractGistFileList") {
|
||||
@@ -2105,15 +2108,6 @@ function validateState() {
|
||||
!detailState.value.periodExplain?.trim()
|
||||
)
|
||||
return "请填写期限说明";
|
||||
if (!detailState.value.activeDate) return "请选择合同生效日期";
|
||||
if (
|
||||
detailState.value.contractPeriodType === "0" &&
|
||||
detailState.value.effectiveStart &&
|
||||
detailState.value.effectiveEnd &&
|
||||
(detailState.value.activeDate < detailState.value.effectiveStart ||
|
||||
detailState.value.activeDate > detailState.value.effectiveEnd)
|
||||
)
|
||||
return "合同生效日期必须在合同期限范围内";
|
||||
if (!detailState.value.valuationMode) return "请选择计价方式";
|
||||
// 固定总价时标的额必填
|
||||
if (
|
||||
@@ -2310,6 +2304,7 @@ function buildLaunchRecord() {
|
||||
|
||||
return {
|
||||
id: detailState.value.id || null,
|
||||
contractSysId: detailState.value.contractSysId || null,
|
||||
contractCode: detailState.value.contractCode,
|
||||
contractName: detailState.value.contractName,
|
||||
contractTypeCode: detailState.value.contractTypeCode,
|
||||
|
||||
Reference in New Issue
Block a user