Browse Source

[update]客户资料添加业务员获取下拉框

dev
zhangsiqi 5 months ago
parent
commit
4d828636d0
  1. 3
      ruoyi-admin/src/main/resources/templates/erp/material/edit.html
  2. 18
      ruoyi-admin/src/main/resources/templates/system/customer/detail.html
  3. 3
      ruoyi-admin/src/main/resources/templates/system/customer/taskModifyApply.html
  4. 3
      ruoyi-admin/src/main/resources/templates/system/customer/taskYwjlVerify.html
  5. 3
      ruoyi-admin/src/main/resources/templates/system/customer/taskYwzgVerify.html
  6. 5
      ruoyi-admin/src/main/resources/templates/system/customer/taskZozjVerify.html

3
ruoyi-admin/src/main/resources/templates/erp/material/edit.html

@ -86,6 +86,7 @@
<label class="col-sm-3 control-label">工程员:</label>
<div class="col-sm-8">
<select name="businessMembers" th:field="*{businessMembers}" id="businessMembers_edit" class="form-control m-b" required >
<option value=""> </option>
</select>
</div>
</div>
@ -261,7 +262,7 @@
if (res.rows.length > 0) {
var usertData = res.rows;
for (let i in usertData) {
$("select[name='businessMembers']").append(
$("form-material- select[name='businessMembers']").append(
"<option value='" + usertData[i].userName + "'>" + usertData[i].userName + "</option>");
}
} else {

18
ruoyi-admin/src/main/resources/templates/system/customer/detail.html

@ -243,13 +243,27 @@
<div class="form-group">
<label class="col-sm-6 control-label">业务员:</label>
<div class="col-sm-6">
<input name="businessMembers" class="form-control m-b" shiro:partial="customer:selectBusinessMembers" />
<input name="businessMembers" th:field="*{businessMembers}" class="form-control m-b" shiro:partial="customer:selectBusinessMembers" />
</div>
</div>
<div class="form-group">
<label class="col-sm-6 control-label">备注内容:</label>
<div class="col-sm-6">
<textarea name="customerRemarks" class="form-control"></textarea>
<textarea name="customerRemarks" th:field="*{customerRemarks}" class="form-control"></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">是否作废:</label>
<div class="radio-box" th:each="dict : ${@dict.getType('sys_whether')}">
<label th:for="${'useStatus_' + dict.dictCode}" th:text="${dict.dictLabel}" th:field="*{useStatus}"></label>
<input type="radio" name="useStatus" th:value="${dict.dictValue}" th:checked="${dict.default}">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">客户标识:</label>
<div class="radio-box" th:each="dict : ${@dict.getType('sys_customer_sign')}">
<label th:for="${'customerSign_' + dict.dictCode}" th:text="${dict.dictLabel}" th:field="*{customerSign}"></label>
<input type="radio" name="customerSign" th:value="${dict.dictValue}" th:checked="${dict.default}">
</div>
</div>
<div class="container">

3
ruoyi-admin/src/main/resources/templates/system/customer/taskModifyApply.html

@ -10,6 +10,9 @@
<form class="form-horizontal m" id="form-edit" th:object="${formData}">
<input name="id" th:field="*{id}" type="hidden">
<input name="taskId" th:field="*{taskId}" type="hidden">
<input name="taskName" th:field="*{taskName}" type="hidden">
<input name="instanceId" th:field="*{instanceId}" type="hidden">
<input name="instanceType" th:field="*{instanceType}" type="hidden">
<!--驳回调整允许更新内容-->
<input type="hidden" name="saveEntity" value="true" />
<div class="form-group">

3
ruoyi-admin/src/main/resources/templates/system/customer/taskYwjlVerify.html

@ -10,6 +10,9 @@
<form class="form-horizontal m" id="form-edit" th:object="${formData}">
<input name="id" th:field="*{id}" type="hidden">
<input name="taskId" th:field="*{taskId}" type="hidden">
<input name="taskName" th:field="*{taskName}" type="hidden">
<input name="instanceId" th:field="*{instanceId}" type="hidden">
<input name="instanceType" th:field="*{instanceType}" type="hidden">
<input type="hidden" name="p_COM_comment" />
<div class="form-group">
<label class="col-sm-3 control-label">申请人:</label>

3
ruoyi-admin/src/main/resources/templates/system/customer/taskYwzgVerify.html

@ -10,6 +10,9 @@
<form class="form-horizontal m" id="form-edit" th:object="${formData}">
<input name="id" th:field="*{id}" type="hidden">
<input name="taskId" th:field="*{taskId}" type="hidden">
<input name="taskName" th:field="*{taskName}" type="hidden">
<input name="instanceId" th:field="*{instanceId}" type="hidden">
<input name="instanceType" th:field="*{instanceType}" type="hidden">
<input type="hidden" name="p_COM_comment" />
<div class="form-group">
<label class="col-sm-3 control-label">申请人:</label>

5
ruoyi-admin/src/main/resources/templates/system/customer/taskZozjVerify.html

@ -10,6 +10,9 @@
<form class="form-horizontal m" id="form-edit" th:object="${formData}">
<input name="id" th:field="*{id}" type="hidden">
<input name="taskId" th:field="*{taskId}" type="hidden">
<input name="taskName" th:field="*{taskName}" type="hidden">
<input name="instanceId" th:field="*{instanceId}" type="hidden">
<input name="instanceType" th:field="*{instanceType}" type="hidden">
<input type="hidden" name="p_COM_comment" />
<div class="form-group">
<label class="col-sm-3 control-label">申请人:</label>
@ -302,7 +305,7 @@
<script th:src="@{/ajax/libs/element-ui/element-ui.js}"></script>
<script th:inline="javascript">
var prefix = ctx + "system/customer";;
var prefix = ctx + "system/customer";
$("#form-edit").validate({
focusCleanup: true
});

Loading…
Cancel
Save