去掉数据提供方创建合约的代码
Showing
1 changed file
with
18 additions
and
18 deletions
| ... | @@ -516,21 +516,21 @@ const submit = () => { | ... | @@ -516,21 +516,21 @@ const submit = () => { |
| 516 | handleLeft('product-info'); | 516 | handleLeft('product-info'); |
| 517 | return; | 517 | return; |
| 518 | } | 518 | } |
| 519 | if (userData.superTubeFlag == 'Y') { //只有主平台模式下需判断 | 519 | // if (userData.superTubeFlag == 'Y') { //只有主平台模式下需判断 |
| 520 | if (baseInfoFormRef.value.formInline.signModeCode == '02' && index > 0 && productData.value[index].dataProductEntityId != pd.dataProductEntityId) { | 520 | // if (baseInfoFormRef.value.formInline.signModeCode == '02' && index > 0 && productData.value[index].dataProductEntityId != pd.dataProductEntityId) { |
| 521 | proxy.$ElMessage.error('合约标的的数据产品不能来自不同的企业主体'); | 521 | // proxy.$ElMessage.error('合约标的的数据产品不能来自不同的企业主体'); |
| 522 | expandInfo.value = true; | 522 | // expandInfo.value = true; |
| 523 | handleLeft('product-info'); | 523 | // handleLeft('product-info'); |
| 524 | return; | 524 | // return; |
| 525 | } else { | 525 | // } else { |
| 526 | if (pd.dataProductEntityId != nodeInfoFormRef.value?.formInline?.dataProviderId) { | 526 | // if (pd.dataProductEntityId != nodeInfoFormRef.value?.formInline?.dataProviderId) { |
| 527 | proxy.$ElMessage.error('合约标的的数据产品所属主体与数据提供方的策略执行者不一致,请检查!'); | 527 | // proxy.$ElMessage.error('合约标的的数据产品所属主体与数据提供方的策略执行者不一致,请检查!'); |
| 528 | expandInfo.value = true; | 528 | // expandInfo.value = true; |
| 529 | handleLeft('product-info'); | 529 | // handleLeft('product-info'); |
| 530 | return; | 530 | // return; |
| 531 | } | 531 | // } |
| 532 | } | 532 | // } |
| 533 | } | 533 | // } |
| 534 | index++; | 534 | index++; |
| 535 | } | 535 | } |
| 536 | nodeInfoFormRef.value.ruleFormRef?.validate((valid1, errorItem1) => { | 536 | nodeInfoFormRef.value.ruleFormRef?.validate((valid1, errorItem1) => { |
| ... | @@ -658,9 +658,9 @@ onBeforeMount(() => { | ... | @@ -658,9 +658,9 @@ onBeforeMount(() => { |
| 658 | nodeInfoFormItems.value[2].default = provider.executionerId; | 658 | nodeInfoFormItems.value[2].default = provider.executionerId; |
| 659 | nodeInfoFormItems.value[4].default = user.executionerGuid; | 659 | nodeInfoFormItems.value[4].default = user.executionerGuid; |
| 660 | nodeInfoFormItems.value[5].default = user.executionerId; | 660 | nodeInfoFormItems.value[5].default = user.executionerId; |
| 661 | if (baseInfoFormItems.value[1].default == '01' && userData.superTubeFlag == 'Y') { | 661 | // if (baseInfoFormItems.value[1].default == '01' && userData.superTubeFlag == 'Y') {//点对点。 |
| 662 | productList.value = res.data || []; | 662 | // productList.value = res.data || []; |
| 663 | } | 663 | // } |
| 664 | productTableInfo.value.editInfo.dataProductId.options = productList.value; | 664 | productTableInfo.value.editInfo.dataProductId.options = productList.value; |
| 665 | extendData.value = detailInfo.value.contractExpansions || []; | 665 | extendData.value = detailInfo.value.contractExpansions || []; |
| 666 | extendTableInfo.value.data = extendData.value; | 666 | extendTableInfo.value.data = extendData.value; | ... | ... |
-
Please register or sign in to post a comment