20260429-150000
This commit is contained in:
commit
14b138a461
1 file changed
+20
@@ -0,0 +1,20 @@
|
|||||||
|
```
|
||||||
|
// 代码内容需要根据实际内容进行调整
|
||||||
|
var list_att="field14739,field14740"; //入职、行政
|
||||||
|
var list_att_name={'field14739':'入职','field14740':'行政'};
|
||||||
|
|
||||||
|
// 「附件相关」附件控件的显示与隐藏
|
||||||
|
function AttBtnnSet(obj_id){
|
||||||
|
if(WfForm.getFieldValue(obj_id) == ""){
|
||||||
|
$("div[data-fieldmark='"+obj_id+"'] .wea-upload-container").css("cssText","display:inline;");
|
||||||
|
}else{
|
||||||
|
$("div[data-fieldmark='"+obj_id+"'] .wea-upload-container").css("cssText","display:none;");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 「附件相关」检查附件数量 - 单附件
|
||||||
|
function CheckAttCount(obj_id){
|
||||||
|
var obj_v=WfForm.getFieldValue(obj_id);
|
||||||
|
return (obj_v != "" && obj_v.split(",").length>1) ? false : true;
|
||||||
|
}
|
||||||
|
```
|
||||||
Reference in new issue
Block a user