Просмотр исходного кода

修正版式文件签发人配置问题

huqi 5 лет назад
Родитель
Сommit
f214fbb27b
1 измененных файлов с 19 добавлено и 0 удалено
  1. 19 0
      o2web/source/x_component_process_Xform/Documenteditor.js

+ 19 - 0
o2web/source/x_component_process_Xform/Documenteditor.js

@@ -370,6 +370,13 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
 
         this.layout_signer = this.contentNode.getElement(".doc_layout_filenoup_signerContent");
         if (this.layout_signer) this.layout_signer.setStyles(this.css.doc_layout_filenoup_signerContent);
+
+        if (!this.layout_fileno){
+            this.layout_fileNoUpTable = this.contentNode.getElement(".doc_layout_filenoup");
+            this.layout_filenoArea = this.contentNode.getElement(".doc_layout_fileno_area");
+            this.layout_fileno = this.contentNode.getElement(".doc_layout_fileno");
+            if (this.layout_fileno) this.layout_fileno.setStyles(this.css.doc_layout_fileno);
+        }
     },
 
     //文号
@@ -393,6 +400,18 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
 
         this.layout_signer = this.contentNode.getElement(".doc_layout_filenoup_signerContent");
         if (this.layout_signer) this.layout_signer.setStyles(this.css.doc_layout_filenoup_signerContent);
+
+        if (!this.layout_fileno){
+            this.layout_filenoArea = this.contentNode.getElement(".doc_layout_fileno_area");
+            this.layout_fileNoUpTable = this.contentNode.getElement(".doc_layout_filenoup");
+            if (this.layout_fileNoUpTable) this.layout_fileNoUpTable.setStyles(this.css.doc_layout_filenoup);
+
+            var td = this.contentNode.getElement(".doc_layout_filenoup_fileno_td");
+            if (td) td.setStyles(this.css.doc_layout_filenoup_fileno_td);
+
+            this.layout_fileno = this.contentNode.getElement(".doc_layout_filenoup_fileno");
+            if (this.layout_fileno) this.layout_fileno.setStyles(this.css.doc_layout_filenoup_fileno);
+        }
     },
 
     //红线