123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <%@ include file="../../common/head.jsp"%>
- <link rel="stylesheet" type="text/css" href="../res/js//plugins/webuploader/webuploader.css">
- <link rel="stylesheet" type="text/css" href="../res/css/demo/webuploader-demo.css">
- <link href="../res/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
- <script src="../res/js/plugins/bootstrap-table/bootstrap-table.js"></script>
- <script src="../res/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
- <script src="../res/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
- <script type="text/javascript" src="../res/js/plugins/webuploader/webuploader.js"></script>
- <script type="text/javascript" src="../res/js/plugins/webuploader/uploader.js"></script>
- <script>
- $(function(){
- $('.btn-primary').click(function () {
- //$('#tab_user').bootstrapTable('refresh');
- $("#actionName").val("qyqr");
- //$("#signActionForm").submit();
- $.post('signAction.cs?orderId=' + $("#orderId").val() + "&actionName="+$("#actionName").val(),
- function(result){
- layer.alert(result.msg, {icon: 6});
- var index = parent.layer.getFrameIndex(window.name);
- //parent.location.href=parent.location.href;
- parent.$('#tab_user').bootstrapTable('refresh');
- parent.layer.close(index);
- }
- );
- });
-
- $('.btn-default').click(function () {
- $("#actionName").val("qywx");
- $.post('signAction.cs?orderId=' + $("#orderId").val() + "&actionName="+$("#actionName").val(),
- function(result){
- layer.alert(result.msg, {icon: 6});
- parent.$('#tab_user').bootstrapTable('refresh');
- var index = parent.layer.getFrameIndex(window.name);
- parent.layer.close(index);
- //parent.location.href=parent.location.href;
- }
- );
- });
-
- });
- </script>
- <cs:initFile/>
-
- </head>
- <body>
- <div class="wrapper wrapper-content">
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <div class="form-group">
- <label class="col-sm-2 control-label">订单编号:</label>
- <div class="col-sm-4">
- <input id="mgmOrder" name="mgmOrder" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.orderNo }" validateMessage="{required:'请输入订单编号'}" >
- </div>
- <label class="col-sm-2 control-label">订单类别:</label>
- <div class="col-sm-4">
- <input id="mgmOrder" name="mgmOrder" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.orderType }" validateMessage="{required:'请输入订单编号'}" >
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">合同金额:</label>
- <div class="col-sm-4">
- <input id="amount" name="amount" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.amount }" validateMessage="{required:'请输入客户姓名'}" >
- </div>
- <label class="col-sm-2 control-label">佣金:</label>
- <div class="col-sm-4">
- <input id="commission" name="commission" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.commission }" validateMessage="{required:'请输入佣金'}" >
- </div>
- </div>
- </div>
- <div class="ibox-content">
- <h5>客户信息:</h5>
- <div class="form-group">
- <label class="col-sm-2 control-label">客户姓名:</label>
- <div class="col-sm-4">
- <input id="customerName" name="customerName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.name }" validateMessage="{required:'请输入客户姓名'}" >
- </div>
- <label class="col-sm-2 control-label">客户电话:</label>
- <div class="col-sm-4">
- <input id="customerPhone" name="customerPhone" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.phone }" validateMessage="{required:'请输入客户电话'}" >
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">省:</label>
- <div class="col-sm-4">
- <input id="province" name="province" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.province }" validateMessage="{required:'请输入客户姓名'}" >
- </div>
- <label class="col-sm-2 control-label">市:</label>
- <div class="col-sm-4">
- <input id="city" name="city" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.city }" validateMessage="{required:'请输入客户电话'}" >
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">区:</label>
- <div class="col-sm-4">
- <input id="area" name="area" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.area }" validateMessage="{required:'请输入客户姓名'}" >
- </div>
- <label class="col-sm-2 control-label">地址:</label>
- <div class="col-sm-4">
- <input id="address" name="address" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.address }" validateMessage="{required:'请输入客户电话'}" >
- </div>
-
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">订单备注:</label>
- <div class="col-sm-10">
- <input id="remark" name="remark" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.remark }" validateMessage="{required:'请输入客户姓名'}" >
- </div>
- </div>
- </div>
-
- <div class="ibox-content">
- <h5>推荐人信息:</h5>
- <div class="form-group">
- <label class="col-sm-2 control-label">推荐人姓名:</label>
- <div class="col-sm-4">
- <input id="tjName" name="tjName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserTj.name }" validateMessage="{required:'请输入推荐人姓名'}" >
- </div>
- <label class="col-sm-2 control-label">推荐人电话:</label>
- <div class="col-sm-4">
- <input id="tjPhone" name="tjPhone" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserTj.phone }" validateMessage="{required:'请输入推荐人电话'}" >
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">推荐人部门:</label>
- <div class="col-sm-4">
- <input id="tjDeptName" name="tjDeptName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserTj.deptName }" validateMessage="{required:'请输入推荐人部门'}" >
- </div>
- <label class="col-sm-2 control-label">推荐人职务:</label>
- <div class="col-sm-4">
- <input id="tjPost" name="tjPost" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserTj.post }" validateMessage="{required:'请输入推荐人职务'}" >
- </div>
- </div>
- </div>
- <div class="ibox-content">
- <h5>销售人员信息:</h5>
- <div class="form-group">
- <label class="col-sm-2 control-label">销售人员姓名:</label>
- <div class="col-sm-4">
- <input id="SalerName" name="SalerName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.name }" validateMessage="{required:'请输入销售人员姓名'}" >
- </div>
- <label class="col-sm-2 control-label">销售人员电话:</label>
- <div class="col-sm-4">
- <input id="SalerPhone" name="SalerPhone" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.phone }" validateMessage="{required:'请输入销售人员电话'}" >
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">销售人员部门:</label>
- <div class="col-sm-4">
- <input id="SalerDeptName" name="SalerDeptName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.deptName }" validateMessage="{required:'请输入销售人员部门'}" >
- </div>
- <label class="col-sm-2 control-label">销售人员职务:</label>
- <div class="col-sm-4">
- <input id="SalerPost" name="SalerPost" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.post }" validateMessage="{required:'请输入销售人员职务'}" >
- </div>
- </div>
- </div>
- <div class="ibox-content">
- <h5>产品信息:</h5>
- <div class="example">
- <table
- id="tab_user"
- data-toggle="table"
- data-url="pruductList.cs?orderid=${mgmOrder.id}"
- data-method="get"
- data-click-to-select="true"
- data-pagination="false"
- data-data-type="json"
- data-show-refresh="false"
- data-show-columns="false"
- data-show-toggle="false"
- data-search-on-enter-key="true"
- data-toolbar="#def_toolbar"
- data-side-pagination="server"
- data-query-params="queryParams"
- data-mobile-responsive="true">
- <thead>
- <tr>
- <th data-field=productName data-align="center" data-sortable="true">产品名称</th>
- <th data-field="unit" data-align="left" data-sortable="true">单位</th>
- <th data-field="price" data-sortable="true" data-sorter="scoreSorter">单价</th>
- <th data-field="commissionRate" data-sortable="true" data-sorter="scoreSorter">佣金比例</th>
- <th data-field="commissionRateYc" data-sortable="true" data-sorter="scoreSorter">溢出佣金比例</th>
- <th data-field="willCnt" data-sortable="true" data-sorter="scoreSorter">意向数量</th>
- <th data-field="actualCnt" data-sortable="true" data-sorter="scoreSorter">实际数量</th>
- <th data-field="standardAmount" data-sortable="true" data-sorter="scoreSorter">标准价</th>
- <th data-field="dealAmount" data-sortable="true" data-sorter="scoreSorter">成交价</th>
- </tr>
- </thead>
- </table>
- </div>
- </div>
-
- <div class="ibox-content">
- <h5>订单跟踪:</h5>
- <div class="example">
- <table
- id="tab_user"
- data-toggle="table"
- data-url="scheduleList.cs?orderid=${mgmOrder.id}"
- data-method="get"
- data-click-to-select="true"
- data-pagination="false"
- data-data-type="json"
- data-show-refresh="false"
- data-show-columns="false"
- data-show-toggle="false"
- data-search-on-enter-key="true"
- data-toolbar="#def_toolbar"
- data-side-pagination="server"
- data-query-params="queryParams"
- data-mobile-responsive="true"
- >
- <thead>
- <tr>
- <th data-field="fill_username" data-align="center" data-sortable="true">姓名</th>
- <th data-field="name" data-align="center" data-sortable="true">状态</th>
- <th data-field="fill_content" data-align="center" data-sortable="true">说明</th>
- <th data-field="create_date" data-formatter="format_time" data-align="center" data-sortable="true">时间</th>
- </tr>
- </thead>
- </table>
- </div>
- </div>
-
- <div class="ibox-content">
- <cs:form_validate formId="signActionForm"/>
- <input type="hidden" id="orderId" name="orderId" value="${mgmOrder.id }" />
- <input type="hidden" id="actionName" name="actionName" value="qyqr" />
- <div class="form-group">
- <p>
- <button class="btn btn-primary " type="button"><i class="fa fa-check"></i> 签约确认</button>
- <button class="btn btn-default " type="button"><i class="fa fa-warning"></i> <span class="bold">签约无效</span>
- </button>
- </p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- </body>
- </html>
|