| { "_id" : ObjectId("67d7f1370bb5202f47c275b3"),
 "athena_namespace" : "DCP",
 "commonApp" : false,
 "description" : "handle_mode=='T'且suggest_handle_plan=='0'时,相同工单的其他笔资料的handle_mode也同步变化为'T'",
 "remark" : "非T100产线,handle_mode=='T'且suggest_handle_plan=='0'时,相同工单的其他笔资料的handle_mode也同步变化为'T'",
 "compileVersion" : "1.0.0.2503171748_alpha",
 "editBy" : "liujma@digiwin.com",
 "editDate" : NumberLong(1742204882291),
 "version" : "2.0",
 "domainId" : "EcnWoChangeExceptionRule_DTD",
 "content" : {
 "schema" : "handle_mode",
 "path" : "ecn_effect_wo_data",
 "condition" : "data.handle_mode=='T'&&data.suggest_handle_plan=='0'",
 "name" : "非T100产线,handle_mode=='T'且suggest_handle_plan=='0'时,相同工单的其他笔资料的handle_mode也同步变化为'T'",
 "trigger" : {
 "point" : "dataChanged"
 },
 "relations" : [
 {
 "path" : "ecn_effect_wo_data",
 "operations" : [
 {
 "name" : "",
 "type" : "script",
 "script" : "const value = currentControl.parent.get('wo_no').value;\r\nlet product = rowData.product;\r\nrelationControl.controls.forEach(\r\n\t(formGroup) => {\r\n\t\tconst curValue = formGroup.get('wo_no').value;\r\n\t\tconst suggest_handle_plan = formGroup.get('suggest_handle_plan').value;\r\n\t\tif (product != 'T100' && value === curValue && suggest_handle_plan =='0' && currentControl.parent.get('handle_mode').value == 'T' && currentControl.parent != formGroup) {\r\n\t\t\tif (formGroup.get('handle_mode').value !== currentControl.parent.get('handle_mode').value) {formGroup.get('handle_mode').setValue(currentControl.parent.get('handle_mode').value);formGroup.get('handle_mode').markAsDirty();formGroup.get('handle_mode').updateValueAndValidity();}\r\n\t\t\trelationControl._component.selected(formGroup.uuid, true);\r\n\t\t}\r\n\t}\r\n)"
 }
 ]
 }
 ],
 "lang" : {
 "name" : {
 "zh_TW" : "非T100產線,handle_mode=='T'且suggest_handle_plan=='0'時,相同製令工單的其他筆資料的handle_mode也同步變化為'T'",
 "en_US" : "非T100产线,handle_mode=='T'且suggest_handle_plan=='0'时,相同工单的其他笔资料的handle_mode也同步变化为'T'",
 "zh_CN" : "非T100产线,handle_mode=='T'且suggest_handle_plan=='0'时,相同工单的其他笔资料的handle_mode也同步变化为'T'"
 }
 },
 "key" : "connection",
 "relationIsLinkage" : true
 },
 "taskCode" : "EcnWoChangeExceptionRule_DTD",
 "application" : "DCP",
 "domain" : "ACTIVITY",
 "name" : "非T100产线,handle_mode=='T'且suggest_handle_plan=='0'时,相同工单的其他笔资料的handle_mode也同步变化为'T'",
 "tenantId" : "SYSTEM",
 "namespacePath" : "task&EcnWoChangeExceptionRule_DTD",
 "contentMobile" : {},
 "category" : "sync",
 "lang" : {
 "description" : {
 "zh_TW" : "handle_mode=='T'且suggest_handle_plan=='0'時,相同製令工單的其他筆資料的handle_mode也同步變化為'T'",
 "zh_CN" : "handle_mode=='T'且suggest_handle_plan=='0'时,相同工单的其他笔资料的handle_mode也同步变化为'T'"
 },
 "remark" : {
 "zh_TW" : "handle_mode=='T'且suggest_handle_plan=='0'時,相同製令工單的其他筆資料的handle_mode也同步變化為'T'",
 "zh_CN" : "handle_mode=='T'且suggest_handle_plan=='0'时,相同工单的其他笔资料的handle_mode也同步变化为'T'"
 }
 },
 "key" : "EcnWoChangeExceptionRule_011",
 "sourceId" : "DCP",
 "deployId" : "DCP_4a092baec9654c4c9aa8d028b83de852"
 }
 
 
 |