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