|
|
@ -5,22 +5,245 @@ |
|
|
|
<th:block th:include="include :: select2-css" /> |
|
|
|
<link th:href="@{/ajax/libs/element-ui/element-ui.css}" rel="stylesheet"/> |
|
|
|
</head> |
|
|
|
<style> |
|
|
|
.currency:before{ |
|
|
|
content:'%' |
|
|
|
} |
|
|
|
</style> |
|
|
|
<body class="white-bg"> |
|
|
|
<div id="app" class="wrapper wrapper-content animated fadeInRight ibox-content" > |
|
|
|
<h2>业务绩效配置</h2> |
|
|
|
<form class="form-horizontal m" id="form-material-edit" th:object="${erpMaterial}"> |
|
|
|
<input name="id" th:field="*{id}" type="hidden"> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="col-sm-8"> |
|
|
|
超过 <input class="form-control" type="text" disabled>至<input class="form-control" type="text" disabled> |
|
|
|
<h2 class="form-header">业务绩效配置</h2> |
|
|
|
<form class="form-horizontal m" id="form-utbCoef-edit"> |
|
|
|
<div class="container-div"> |
|
|
|
<div class="form-row"> |
|
|
|
<h4 class="form-header">个人绩效(业务员、业务经理、业务主管)</h4> |
|
|
|
</div> |
|
|
|
<input name="id" type="text" hidden="hidden"> |
|
|
|
<div class="form-row"> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input class="form-row" type="text" value="0.00" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" disabled> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"/> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"/> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" > |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"/> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"/> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"/> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="container-div"> |
|
|
|
<div class="form-row"> |
|
|
|
<h4 class="form-header">团队绩效(业务经理)</h4> |
|
|
|
</div> |
|
|
|
<div class="form-row"> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" value="0.00" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" disabled> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" > |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" > |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" > |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" > |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" > |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-3 control-label">:</label> |
|
|
|
|
|
|
|
<div class="container-div"> |
|
|
|
<div class="form-row"> |
|
|
|
<h4 class="form-header">团队绩效(业务主管)</h4> |
|
|
|
</div> |
|
|
|
<div class="form-row"> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" value="0.00" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" disabled> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"/> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"/> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"/> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="container-div"> |
|
|
|
<div class="form-row"> |
|
|
|
<h4 class="form-header">业务服务员(业务服务员)</h4> |
|
|
|
</div> |
|
|
|
<div class="form-row"> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" value="0.00" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" disabled> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" > |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-12"> |
|
|
|
<san class="text-danger">超过</san> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" > |
|
|
|
<span class="text-danger">至</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')"> |
|
|
|
<span class="text-danger">以内*</span> |
|
|
|
<input type="text" onkeyup="value=value.match(/\d+\.?d{0,2}/,'')" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
|
|
|
|
</div> |
|
|
|
<th:block th:include="include :: footer" /> |
|
|
|
<th:block th:include="include :: select2-js" /> |
|
|
@ -28,6 +251,16 @@ |
|
|
|
<script th:src="@{/ajax/libs/element-ui/element-ui.js}"></script> |
|
|
|
<script type="text/javascript"> |
|
|
|
var prefix = ctx + "erp/utb"; |
|
|
|
function submitHandler() { |
|
|
|
if ($.validate.form()) { |
|
|
|
var formData = $('#form-utbCoef-edit').serializeArray(); |
|
|
|
console.log("formData",formData); |
|
|
|
var jsonData = $.common.formDataToJson(formData); |
|
|
|
console.log("jsonData"); |
|
|
|
console.log(jsonData); |
|
|
|
$.operate.saveJson(prefix + "/add", jsonData); |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
</body> |
|
|
|
</html> |