2889c957 by lihua

去掉数据提供方创建合约的代码

1 parent 47db0e59
......@@ -516,21 +516,21 @@ const submit = () => {
handleLeft('product-info');
return;
}
if (userData.superTubeFlag == 'Y') { //只有主平台模式下需判断
if (baseInfoFormRef.value.formInline.signModeCode == '02' && index > 0 && productData.value[index].dataProductEntityId != pd.dataProductEntityId) {
proxy.$ElMessage.error('合约标的的数据产品不能来自不同的企业主体');
expandInfo.value = true;
handleLeft('product-info');
return;
} else {
if (pd.dataProductEntityId != nodeInfoFormRef.value?.formInline?.dataProviderId) {
proxy.$ElMessage.error('合约标的的数据产品所属主体与数据提供方的策略执行者不一致,请检查!');
expandInfo.value = true;
handleLeft('product-info');
return;
}
}
}
// if (userData.superTubeFlag == 'Y') { //只有主平台模式下需判断
// if (baseInfoFormRef.value.formInline.signModeCode == '02' && index > 0 && productData.value[index].dataProductEntityId != pd.dataProductEntityId) {
// proxy.$ElMessage.error('合约标的的数据产品不能来自不同的企业主体');
// expandInfo.value = true;
// handleLeft('product-info');
// return;
// } else {
// if (pd.dataProductEntityId != nodeInfoFormRef.value?.formInline?.dataProviderId) {
// proxy.$ElMessage.error('合约标的的数据产品所属主体与数据提供方的策略执行者不一致,请检查!');
// expandInfo.value = true;
// handleLeft('product-info');
// return;
// }
// }
// }
index++;
}
nodeInfoFormRef.value.ruleFormRef?.validate((valid1, errorItem1) => {
......@@ -658,9 +658,9 @@ onBeforeMount(() => {
nodeInfoFormItems.value[2].default = provider.executionerId;
nodeInfoFormItems.value[4].default = user.executionerGuid;
nodeInfoFormItems.value[5].default = user.executionerId;
if (baseInfoFormItems.value[1].default == '01' && userData.superTubeFlag == 'Y') {
productList.value = res.data || [];
}
// if (baseInfoFormItems.value[1].default == '01' && userData.superTubeFlag == 'Y') {//点对点。
// productList.value = res.data || [];
// }
productTableInfo.value.editInfo.dataProductId.options = productList.value;
extendData.value = detailInfo.value.contractExpansions || [];
extendTableInfo.value.data = extendData.value;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!