ljy121 пре 1 година
родитељ
комит
4e265507ba

+ 2 - 0
zjugis-business/src/main/java/com/zjugis/business/bean/response/ProjectResponse.java

@@ -67,6 +67,8 @@ public class ProjectResponse {
     private LocalDateTime flowFinishtime;
     //总合同额
     private BigDecimal contractAmount;
+    // 预估合同额
+    private BigDecimal planContractAmount;
     //总成本
     private BigDecimal projectCost;
     //总产值

+ 19 - 7
zjugis-business/src/main/resources/templates/FlowProject/apply.ftl

@@ -71,16 +71,12 @@
         </tr>
         <tr>
           <td class="th">
-            <div class="form-label">销售人员:</div>
+            <div class="form-label">预估合同额:</div>
           </td>
           <td>
             <div class="form-group">
-              <div class="z-comp-selecttree" name="xsry">
-                <input type="hidden" name="project$xsryId" value="${formEntity.xsryId!}">
-                <input type="hidden" name="project$xsry" value="${formEntity.xsry!}">
-                <div class="z-inputselect-bar">
-                  <span> ${formEntity.xsry!} </span><i></i>
-                </div>
+              <div class="z-comp-input" name="project$planContractAmount">
+                <input type="text" value="${formEntity.planContractAmount!}">
               </div>
             </div>
           </td>
@@ -160,6 +156,22 @@
             </div>
           </td>
         </tr>
+        <tr>
+          <td class="th">
+            <div class="form-label">销售人员:</div>
+          </td>
+          <td>
+            <div class="form-group">
+              <div class="z-comp-selecttree" name="xsry">
+                <input type="hidden" name="project$xsryId" value="${formEntity.xsryId!}">
+                <input type="hidden" name="project$xsry" value="${formEntity.xsry!}">
+                <div class="z-inputselect-bar">
+                  <span> ${formEntity.xsry!} </span><i></i>
+                </div>
+              </div>
+            </div>
+          </td>
+        </tr>
       </table>
     </div>
     <div class="form-title">

+ 1 - 1
zjugis-business/src/main/resources/templates/FlowProject/js/apply.js

@@ -5,7 +5,7 @@
     flowInstanceId = z.ui.comm.getUrlParam("flowInstanceId");
 
     document.getElementById("lyfcGs").addEventListener("change", function (val) {
-      console.log(document.getElementById("lyfcGs").value);
+
     });
     document.getElementById("lyfcBm").addEventListener("change", function (val) {
       console.log(document.getElementById("lyfcBm").value);