|
@@ -7,6 +7,8 @@
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
|
|
|
<meta http-equiv="Cache-Control" content="no-siteapp"/>
|
|
|
<#include "/base/add_base.ftl">
|
|
|
+ <!-- 新增需求引入js、css -->
|
|
|
+ <link href="${path}/common/lib/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
|
|
<style>
|
|
|
.tit{position: relative;text-align: left;font-size: 16px;padding-left: 10px;}
|
|
|
.tit:after{content: '';position: absolute;left: 0;top: 20%;height: 60%;width: 3px;background-color: #32a3d8;}
|
|
@@ -16,8 +18,8 @@
|
|
|
.ac_results li a {white-space: nowrap;text-decoration:none;display:block;color:#05a;padding:1px 3px}
|
|
|
.ac_results li {border:1px solid #fff}
|
|
|
.ac_results li a span {float:right}
|
|
|
- .select-box{background: url(${path}/common/images/cm/select-1.png) right center no-repeat;background-size: auto 100%;}
|
|
|
- .select-box select{-webkit-appearance:none !important;background-color: transparent; appearance:none;padding-right: 15px;}
|
|
|
+ /*.select-box{background: url(${path}/common/images/cm/select-1.png) right center no-repeat;background-size: auto 100%;}
|
|
|
+ .select-box select{-webkit-appearance:none !important;background-color: transparent; appearance:none;padding-right: 15px;}*/
|
|
|
.dalog-ask{position: absolute;left:60%;top:0;-webkit-transform: translateY(-30%);transform: translateY(-30%);display: none;background-color: #fff;z-index: 10;}
|
|
|
.tag{ width:300px; min-height:300px; border:1px solid #32a3d8; position:relative;background-color: #fff;line-height: 1.5;padding: 10px 12px;}
|
|
|
.tag em{display:block; border-width:15px; position:absolute; top:30%; left:-30px;border-style:solid dashed dashed; border-color:transparent #32a3d8 transparent transparent;font-size:0; line-height:0;}
|
|
@@ -33,13 +35,12 @@
|
|
|
.update-parts>span{margin-right: 10px;padding: 3px 4px;background-color: #effaff;border: 1px solid #32a3d8;}
|
|
|
.msg-phone{height: 35px;line-height: 35px;}
|
|
|
.col-sm-1{width: 150px;}
|
|
|
-
|
|
|
.all_down{text-decoration: underline;color: #f00;}
|
|
|
</style>
|
|
|
<title>添加订单 - 订单管理 - RST</title>
|
|
|
</head>
|
|
|
<body>
|
|
|
-<nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页
|
|
|
+<nav style="margin-bottom: 0px;padding: 0px 0px 0px 20px;" class="breadcrumb"><i class="Hui-iconfont"></i> 首页
|
|
|
<span class="c-gray en">/</span> 订单管理
|
|
|
<span class="c-gray en">/</span> 添加订单
|
|
|
<a class="btn radius r"
|
|
@@ -47,7 +48,7 @@
|
|
|
<a class="btn radius r"
|
|
|
href="javascript:history.back(-1);" title="后退"><i class="Hui-iconfont"></i></a>
|
|
|
</nav>
|
|
|
-<article class="page-container" style="padding: 10px;">
|
|
|
+<article class="page-container" style="padding: 10px;padding-top: 0px;">
|
|
|
<div class="pd-20 cl">
|
|
|
<form action="${path}/admin/salesOrder/add_salesOrder" method="post" class="form form-horizontal" id="form-order-add" onkeydown="if(event.keyCode==13)return false;">
|
|
|
|
|
@@ -62,28 +63,26 @@
|
|
|
<div class="row cl" style="">
|
|
|
<label class="form-label col-1 col-sm-1">订单类型:</label>
|
|
|
<div class="formControls col-2 col-sm-2" style="">
|
|
|
- <span class="select-box">
|
|
|
- <select class="select" id="salesOrderStatus" name="salesOrderStatus" >
|
|
|
- <option value="1" >正常订单</option>
|
|
|
- <#if admin.adminDept == 3 || admin.adminDept == 1><option value="2" >售后订单</option></#if>
|
|
|
- </select>
|
|
|
- </span>
|
|
|
+ <select class="select" style="height: 31px;" id="salesOrderStatus" name="salesOrderStatus" >
|
|
|
+ <option value="1" >正常订单</option>
|
|
|
+ <#if admin.adminDept == 3 || admin.adminDept == 1><option value="2" >售后订单</option></#if>
|
|
|
+ </select>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row cl" id="salesCustomer" style="display: none;">
|
|
|
<label class="form-label col-1 col-sm-1"></label>
|
|
|
- <div class="formControls col-2 col-sm-2" style="margin-left: 11.3%;width: 100%;color: #c00;">
|
|
|
+ <div class="formControls col-2 col-sm-2" style="margin-left: 9.6%;width: 100%;color: #c00;">
|
|
|
<div class="formControls col-1 col-sm-1" id="selectCustomer" style="display: none;">
|
|
|
<input type="button" style="color: #32a3d8;border: 1px solid #32a3d8;" class="btn" onclick="add_customer()" value="选择客诉">
|
|
|
</div>
|
|
|
- <span id="salesCustomerIdHtml"></span>
|
|
|
+ <span style="margin-left: 10px;" id="salesCustomerIdHtml"></span>
|
|
|
<input type="hidden" id="salesCustomerId" name="salesCustomerId" value="">
|
|
|
</div>
|
|
|
|
|
|
<div class="row cl" id="" style="">
|
|
|
<label class="form-label col-1 col-sm-1"></label>
|
|
|
<div class="formControls col-7 col-sm-7">
|
|
|
- <table class="table table-border table-bg table-bordered" style="margin-top: 10px;margin-left: 14px;display: none;" id="all_detect_product">
|
|
|
+ <table class="table table-bg table-bordered" style="margin-top: 10px;margin-left: 14px;display: none;" id="all_detect_product">
|
|
|
<thead>
|
|
|
<tr class="text-c">
|
|
|
<th style="text-align: center;" width="30" >请选择要发货的机器</th>
|
|
@@ -104,75 +103,46 @@
|
|
|
<div class="row cl">
|
|
|
<label class="form-label col-1 col-sm-1">选填:</label>
|
|
|
<div class="formControls col-2 col-sm-2" style="">
|
|
|
- <input type="text" class="input-text trim_input" value="" placeholder="填写交易号,可不填" id="salesDealCode" name="salesDealCode">
|
|
|
+ <input type="text" style="height: 31px" class="input-text trim_input" placeholder="填写交易号,可不填" id="salesDealCode" name="salesDealCode">
|
|
|
</div>
|
|
|
<div class="formControls col-2 col-sm-2" style="">
|
|
|
- <input type="text" class="input-text trim_input" value="" placeholder="填写批次编号,可不填" id="salesBatchId" name="salesBatchId">
|
|
|
+ <input type="text" style="height: 31px" class="input-text trim_input" placeholder="填写批次编号,可不填" id="salesBatchId" name="salesBatchId">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="row cl sales_channel" id="" style="">
|
|
|
<label class="form-label col-1 col-sm-1">销售渠道:</label>
|
|
|
<div class="formControls col-2 col-sm-2" style="">
|
|
|
- <span class="select-box">
|
|
|
- <select class="select init_company" name="salesCompanyId" id="salesCompanyId" defValue="">
|
|
|
- </select>
|
|
|
- </span>
|
|
|
+ <select style="height: 31px" class="select init_company" name="salesCompanyId" id="salesCompanyId" defValue=""></select>
|
|
|
</div>
|
|
|
- <#--<div class="formControls col-2 col-sm-2">
|
|
|
- <span class="select-box">
|
|
|
- <select class="chosen init_store" name="salesStoreId" id="store_1">
|
|
|
- </select>
|
|
|
- </span>
|
|
|
- </div>-->
|
|
|
<div class="formControls col-2 col-sm-2" style="margin-top: 4px;">
|
|
|
-
|
|
|
- <select id="salesStoreId" name="salesStoreId" class="chosen">
|
|
|
-
|
|
|
- </select>
|
|
|
-
|
|
|
+ <select style="height: 31px" id="salesStoreId" name="salesStoreId" class="chosen"></select>
|
|
|
</div>
|
|
|
- <#--<div class="formControls col-2 col-sm-2">
|
|
|
- <input id="store_1" name="maktMaktx" class="input-text" list="datalist_1" value="" placeholder="输入店铺关键字或双击" datatype="*1-20" />
|
|
|
- <datalist class="select init_store" id="datalist_1">
|
|
|
-
|
|
|
- </datalist>
|
|
|
- <input type="hidden" id="salesStoreId" name="salesStoreId">
|
|
|
- </div>-->
|
|
|
</div>
|
|
|
|
|
|
<div class="row cl" id="" style="">
|
|
|
<label class="form-label col-1 col-sm-1">用户信息:</label>
|
|
|
<div class="formControls col-2 col-sm-2">
|
|
|
- <input type="text" class="input-text" value="" placeholder="填写收件人姓名" id="salesAddressName" name="salesAddressName" datatype="*1-16" errormsg="联系人格式不正确!" >
|
|
|
+ <input style="height: 31px" type="text" class="input-text" value="" placeholder="填写收件人姓名" id="salesAddressName" name="salesAddressName" datatype="*1-16" errormsg="联系人格式不正确!" >
|
|
|
</div>
|
|
|
<div class="formControls col-2 col-sm-2">
|
|
|
- <input type="text" class="input-text" value="" placeholder="填写收件人手机号" id="salesAddressTel" name="salesAddressTel" datatype="*1-20" errormsg="联系人电话格式不正确!">
|
|
|
+ <input style="height: 31px" type="text" class="input-text" value="" placeholder="填写收件人手机号" id="salesAddressTel" name="salesAddressTel" datatype="*1-20" errormsg="联系人电话格式不正确!">
|
|
|
</div>
|
|
|
<div class="formControls col-2 col-sm-2">
|
|
|
- <input type="text" class="input-text" value="" placeholder="收件人邮政编码" id="salesAddressPostcode" name="salesAddressPostcode" datatype="*1-6" errormsg="收件人邮政编码格式不正确!">
|
|
|
+ <input style="height: 31px" type="text" class="input-text" value="" placeholder="收件人邮政编码" id="salesAddressPostcode" name="salesAddressPostcode" datatype="*1-6" errormsg="收件人邮政编码格式不正确!">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="row cl address_info" id="" style="">
|
|
|
<label class="form-label col-1 col-sm-1">地址信息:</label>
|
|
|
<div class="formControls col-2 col-sm-2" >
|
|
|
- <span class="select-box">
|
|
|
- <select class="select init_province" id="addressProvince" >
|
|
|
- </select>
|
|
|
- </span>
|
|
|
+ <select style="height: 31px" class="select init_province" id="addressProvince"></select>
|
|
|
</div>
|
|
|
<div class="formControls col-2 col-sm-2">
|
|
|
- <span class="select-box">
|
|
|
- <select class="select init_city" id="addressCity" >
|
|
|
- </select>
|
|
|
- </span>
|
|
|
+ <select style="height: 31px" class="select init_city" id="addressCity"></select>
|
|
|
</div>
|
|
|
<div class="formControls col-2 col-sm-2">
|
|
|
- <span class="select-box">
|
|
|
- <select class="select init_country" id="addressCountry" >
|
|
|
- </select>
|
|
|
- </span>
|
|
|
+ <select style="height: 31px" class="select init_country" id="addressCountry" ></select>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -192,19 +162,17 @@
|
|
|
<div class="row cl" id="" style="">
|
|
|
<label class="form-label col-1 col-sm-1">支付时间:</label>
|
|
|
<div class="formControls col-2 col-sm-2">
|
|
|
- <input type="text" placeholder="购买日期" id="salesPayTime" name="payTime" datatype="*" class="input-text Wdate" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate: '%y-%M-%d'})" readonly="readonly">
|
|
|
+ <input style="height: 31px" type="text" placeholder="购买日期" id="salesPayTime" name="payTime" datatype="*" class="input-text Wdate" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate: '%y-%M-%d'})" readonly="readonly">
|
|
|
</div>
|
|
|
<label class="form-label col-2 col-sm-2">支付方式:</label>
|
|
|
<div class="formControls col-2 col-sm-2" style="">
|
|
|
- <span class="select-box">
|
|
|
- <select class="select" id="salesPayType" name="salesPayType">
|
|
|
- <#--1:微信支付 2:现金支付3:已支付定金¥99 4:刷卡支付 5:支付宝支付-->
|
|
|
- <option value="1">微信支付</option>
|
|
|
- <option value="2">现金支付</option>
|
|
|
- <option value="4">刷卡支付</option>
|
|
|
- <option value="5">支付宝支付</option>
|
|
|
- </select>
|
|
|
- </span>
|
|
|
+ <select style="height: 31px" class="select" id="salesPayType" name="salesPayType">
|
|
|
+ <#--1:微信支付 2:现金支付3:已支付定金¥99 4:刷卡支付 5:支付宝支付-->
|
|
|
+ <option value="1">微信支付</option>
|
|
|
+ <option value="2">现金支付</option>
|
|
|
+ <option value="4">刷卡支付</option>
|
|
|
+ <option value="5">支付宝支付</option>
|
|
|
+ </select>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -221,7 +189,7 @@
|
|
|
<label class="form-label col-1 col-sm-1">产品信息:</label>
|
|
|
<div class="formControls col-10 col-sm-10">
|
|
|
<input type="button" style="color: #32a3d8;border: 1px solid #32a3d8;" class="btn add-order-button" onclick="add_product()" value="添加产品" >
|
|
|
- <table class="table table-border table-bordered table-bg table-hover table-sort" style="margin-top: 10px;display: none" id="all_add_product">
|
|
|
+ <table class="table table-bordered table-bg table-hover table-sort" style="margin-top: 10px;display: none" id="all_add_product">
|
|
|
<thead>
|
|
|
<tr class="text-c" id="table1">
|
|
|
<th style="text-align: center;" width="40" >产品名称</th>
|
|
@@ -250,28 +218,28 @@
|
|
|
<div class="row cl" id="" style="">
|
|
|
<label class="form-label col-1 col-sm-1" style="display: none">总金额:</label>
|
|
|
<div class="formControls col-2 col-sm-2" style="display: none">
|
|
|
- <input type="text" class="input-text" value="" placeholder="总金额" datatype="*" errormsg="必须要输入总金额!" id="salesAmountTest" name="salesAmountTest" >
|
|
|
+ <input style="height: 31px" type="text" class="input-text" value="" placeholder="总金额" datatype="*" errormsg="必须要输入总金额!" id="salesAmountTest" name="salesAmountTest" >
|
|
|
</div>
|
|
|
<label class="form-label col-2 col-sm-2">实付金额:</label>
|
|
|
<div class="formControls col-2 col-sm-2">
|
|
|
- <input type="text" class="input-text" value="0" placeholder="实付金额" datatype="*" errormsg="必须要输入实付金额!" id="salesPayMoneyTest" name="salesPayMoneyTest" >
|
|
|
+ <input style="height: 31px" type="text" class="input-text" value="0" placeholder="实付金额" datatype="*" errormsg="必须要输入实付金额!" id="salesPayMoneyTest" name="salesPayMoneyTest" >
|
|
|
</div>
|
|
|
<div class="formControls col-2 col-sm-2" style="display: none">
|
|
|
- <input type="text" class="input-text" value="0" placeholder="优惠金额" datatype="*" errormsg="必须要输入优惠金额!" id="salesDiscountMoneyTest" name="salesDiscountMoneyTest" >
|
|
|
+ <input style="height: 31px" type="text" class="input-text" value="0" placeholder="优惠金额" datatype="*" errormsg="必须要输入优惠金额!" id="salesDiscountMoneyTest" name="salesDiscountMoneyTest" >
|
|
|
</div>
|
|
|
|
|
|
<div class="formControls col-1 col-sm-1">
|
|
|
- <input type="button" style="color: #32a3d8;border: 1px solid #32a3d8;" class="btn add-order-button" onclick="calculatePrice()" value="计算产品总价" >
|
|
|
+ <input style="color: #32a3d8;border: 1px solid #32a3d8;height: 31px" type="button" class="btn add-order-button" onclick="calculatePrice()" value="计算产品总价" >
|
|
|
</div>
|
|
|
|
|
|
<div class="formControls col-1 col-sm-1">
|
|
|
- <input type="button" style="color: #32a3d8;border: 1px solid #32a3d8;" class="btn add-order-button" onclick="sharePrice()" value="分摊实付金额" >
|
|
|
+ <input style="color: #32a3d8;border: 1px solid #32a3d8;height: 31px" type="button" class="btn add-order-button" onclick="sharePrice()" value="分摊实付金额" >
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <input type="hidden" class="input-text" value="0" placeholder="待付金额" id="salesWaitMoneyTest" name="salesWaitMoneyTest" >
|
|
|
- <input type="hidden" class="input-text" value="0" placeholder="本次支付金额" id="salesLastMoneyTest" name="salesLastMoneyTest" >
|
|
|
- <input type="hidden" class="input-text" value="0" placeholder="邮费" id="salesShippingFeeTest" name="salesShippingFeeTest" >
|
|
|
+ <input style="height: 31px" type="hidden" class="input-text" value="0" placeholder="待付金额" id="salesWaitMoneyTest" name="salesWaitMoneyTest" >
|
|
|
+ <input style="height: 31px" type="hidden" class="input-text" value="0" placeholder="本次支付金额" id="salesLastMoneyTest" name="salesLastMoneyTest" >
|
|
|
+ <input style="height: 31px" type="hidden" class="input-text" value="0" placeholder="邮费" id="salesShippingFeeTest" name="salesShippingFeeTest" >
|
|
|
|
|
|
<input type="hidden" id="salesAmount" name="salesAmount" value="0" >
|
|
|
<input type="hidden" id="salesPayMoney" name="salesPayMoney" value="0" >
|
|
@@ -281,7 +249,7 @@
|
|
|
<input type="hidden" id="salesShippingFee" name="salesShippingFee" value="0">
|
|
|
|
|
|
<input type="hidden" id="salesWarrantyStatus" name="salesWarrantyStatus" title="没有售后" value="0">
|
|
|
- <span style="color: #dd0000;margin-left: 190px;margin-top: 20px;"><strong>请认真填写实付金额,如果不知道实际销售价格,请联系业务员获取</strong></span>
|
|
|
+ <span style="color: #dd0000;margin-left: 16.8%;margin-top: 20px;"><strong>请认真填写实付金额,如果不知道实际销售价格,请联系业务员获取</strong></span>
|
|
|
<div class="row cl">
|
|
|
<label class="form-label col-3">
|
|
|
<div class="tit-2">备注信息</div>
|
|
@@ -307,7 +275,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="row cl">
|
|
|
- <div class="col-2 col-sm-2 col-offset-3">
|
|
|
+ <div class="col-2 col-sm-2 col-offset-3" style="margin-left: 11%;">
|
|
|
<button class="btn btn-block btn-primary size-XL" type="submit" >确认录入</button>
|
|
|
</div>
|
|
|
</div>
|