|
@@ -57,9 +57,10 @@
|
|
|
<strong>寄回信息</strong>
|
|
|
</div>
|
|
|
<div class="formControls col-10 col-sm-10">
|
|
|
- <div style="width: 100px;display: inline-block;margin-right: 10px;">
|
|
|
+ <div style="width: 120px;display: inline-block;margin-right: 10px;">
|
|
|
<span class="select-box">
|
|
|
<select name="renewedBackLogisticsCompany" id="renewedBackLogisticsCompany" class="select">
|
|
|
+ <option value="">物流公司</option>
|
|
|
<option value="sto">申通快递</option>
|
|
|
<option value="yto">圆通快递</option>
|
|
|
<option value="sf">顺丰快递</option>
|
|
@@ -78,9 +79,9 @@
|
|
|
</select>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <input style="width: 120px;margin-right: 10px;" type="text" class="input-text" value="" placeholder="请输入快递单号" id="renewedBackLogisticsNo" name="renewedBackLogisticsNo">
|
|
|
- <input style="width: 120px;margin-right: 10px;" type="text" class="input-text" value="" placeholder="寄回邮费" id="renewedBackPostage" name="renewedBackPostage">
|
|
|
- <input style="width: 120px;margin-right: 10px;" type="text" class="input-text" value="" placeholder="用户支付宝账户" id="renewedAlipay" name="renewedAlipay">
|
|
|
+ <input style="width: 150px;margin-right: 10px;" type="text" class="input-text" value="" placeholder="请输入快递单号" id="renewedBackLogisticsNo" name="renewedBackLogisticsNo">
|
|
|
+ <input style="width: 150px;margin-right: 10px;" type="text" class="input-text" value="" placeholder="寄回邮费" id="renewedBackPostage" name="renewedBackPostage">
|
|
|
+ <input style="width: 150px;" type="text" class="input-text" value="" placeholder="用户支付宝账户" id="renewedAlipay" name="renewedAlipay">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row cl">
|
|
@@ -118,7 +119,7 @@
|
|
|
<strong>寄回产品</strong>
|
|
|
</div>
|
|
|
<div class="formControls col-10 col-sm-10">
|
|
|
- <div class="update-parts" id="renewedProduct" style="float: left;width: 410px;margin-right: 10px;"></div>
|
|
|
+ <div class="update-parts" id="renewedProduct" style="float: left;width: 514px;"></div>
|
|
|
<input type="hidden" id="closed_products" name="closed_products" />
|
|
|
<input type="hidden" id="closed_fittings" name="closed_fittings" />
|
|
|
<div style="float: left;">
|
|
@@ -129,7 +130,7 @@
|
|
|
<div class="cl">
|
|
|
<div class="formControls col-2 col-sm-2 text-r">
|
|
|
</div>
|
|
|
- <div class="formControls col-9 col-sm-9" id="produceSelect" style="padding-top: 10px;display: none;">
|
|
|
+ <div class="formControls col-10 col-sm-10" id="produceSelect" style="padding-top: 10px;display: none;">
|
|
|
<div>
|
|
|
<input type="text" oninput="showUpdateSendProduct();" onpropertychange="showUpdateSendProduct();" class="input-text" style="width: 100%" id="selectProcuct" name="selectProcuct" placeholder="请输入产品名称搜索">
|
|
|
</div>
|
|
@@ -153,7 +154,7 @@
|
|
|
<div class="formControls col-10 col-sm-10 skin-minimal">
|
|
|
<div class="radio-box">
|
|
|
<input type="radio" name="renewedSendStatus" value="1">
|
|
|
- <label for="tel-9">未寄出</label>
|
|
|
+ <label for="tel-10">未寄出</label>
|
|
|
</div>
|
|
|
<div class="radio-box">
|
|
|
<input type="radio" name="renewedSendStatus" value="2">
|
|
@@ -163,35 +164,37 @@
|
|
|
<input type="radio" name="renewedSendStatus" value="3">
|
|
|
<label for="tel-10">已收货</label>
|
|
|
</div>
|
|
|
- Efast订单号<input style="width: 200px;margin:0 10px;" type="text" class="input-text" value="" placeholder="Efast订单号" id="renewedBackEfastOrderId" name="renewedBackEfastOrderId">
|
|
|
+ Efast订单号<input style="width: 231px;margin-left:20px;" type="text" class="input-text" value="" placeholder="Efast订单号" id="renewedBackEfastOrderId" name="renewedBackEfastOrderId">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row cl">
|
|
|
<div class="formControls col-2 col-sm-2 text-r">
|
|
|
<strong>用户信息</strong>
|
|
|
</div>
|
|
|
- <div class="formControls col-2 col-sm-2">
|
|
|
+ <div class="formControls col-5 col-sm-5">
|
|
|
<input type="text" class="input-text" placeholder="填写收件人姓名" id="renewedSendName" name="renewedSendName">
|
|
|
</div>
|
|
|
- <div class="formControls col-2 col-sm-2">
|
|
|
- <input type="text" style="width: 190px;margin:0 10px;" class="input-text" placeholder="填写收件人手机号" id="renewedSendTel" name="renewedSendTel">
|
|
|
+ <div class="formControls col-5 col-sm-5">
|
|
|
+ <input type="text" class="input-text" placeholder="填写收件人手机号" id="renewedSendTel" name="renewedSendTel">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row cl">
|
|
|
- <label class="form-label col-2 col-sm-2"></label>
|
|
|
- <div class="formControls col-4 col-sm-10">
|
|
|
- <div style="width: 100px;display: inline-block;margin-right: 10px;">
|
|
|
- <span class="select-box">
|
|
|
+ <div class="formControls col-2 col-sm-2 text-r">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="formControls col-10 col-sm-10">
|
|
|
+ <div style="width: 188px;display: inline-block;margin-right: 20px;">
|
|
|
+ <span class="select-box" style="padding-right: 0px;">
|
|
|
<select name="provinceNumber" id="provinceNumber" class="select"></select>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <div style="width: 100px;display: inline-block;margin-right: 10px;">
|
|
|
- <span class="select-box">
|
|
|
+ <div style="width: 188px;display: inline-block;margin-right: 20px;">
|
|
|
+ <span class="select-box" style="padding-right: 0px;">
|
|
|
<select name="cityNumber" id="cityNumber" class="select"></select>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <div style="width: 100px;display: inline-block;margin-right: 10px;">
|
|
|
- <span class="select-box">
|
|
|
+ <div style="width: 189px;display: inline-block;">
|
|
|
+ <span class="select-box" style="padding-right: 0px;">
|
|
|
<select name="areaNumber" id="areaNumber" class="select"></select>
|
|
|
<input type="hidden" id="merge_address" name="merge_address">
|
|
|
</span>
|
|
@@ -200,7 +203,7 @@
|
|
|
</div>
|
|
|
<div class="row cl">
|
|
|
<label class="form-label col-2 col-sm-2"></label>
|
|
|
- <div class="formControls col-5 col-sm-5">
|
|
|
+ <div class="formControls col-10 col-sm-10">
|
|
|
<input type="text" class="input-text" placeholder="请填写详细地址" id="renewedSendAddress" name="renewedSendAddress">
|
|
|
</div>
|
|
|
</div>
|
|
@@ -209,10 +212,11 @@
|
|
|
<strong>寄出信息</strong>
|
|
|
</div>
|
|
|
<div class="formControls col-10 col-sm-10">
|
|
|
- <div style="width: 100px;display: inline-block;margin-right: 10px;">
|
|
|
+ <div style="width: 300px;display: inline-block;margin-right: 10px;">
|
|
|
<span class="select-box">
|
|
|
<select name="renewedSendLogisticsCompany" id="renewedSendLogisticsCompany" class="select">
|
|
|
- <option value="sto">申通快递</option>
|
|
|
+ <option value="">物流公司</option>
|
|
|
+ <option value="sto">申通快递</option>
|
|
|
<option value="yto">圆通快递</option>
|
|
|
<option value="sf">顺丰快递</option>
|
|
|
<option value="ems">邮政EMS</option>
|
|
@@ -230,7 +234,7 @@
|
|
|
</select>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <input style="width: 120px;margin-right: 10px;" type="text" class="input-text" value="" placeholder="快递单号" id="renewedSendLogisticsNo" name="renewedSendLogisticsNo">
|
|
|
+ <input style="width: 300px;" type="text" class="input-text" value="" placeholder="快递单号" id="renewedSendLogisticsNo" name="renewedSendLogisticsNo">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row cl">
|
|
@@ -257,7 +261,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row cl">
|
|
|
- <div class="formControls col-2 col-sm-2">
|
|
|
+ <div class="formControls col-2 col-sm-2 text-r">
|
|
|
<strong>QC进度</strong>
|
|
|
</div>
|
|
|
<div class="formControls col-10 col-sm-10">
|
|
@@ -278,7 +282,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row cl">
|
|
|
- <div class="formControls col-2 col-sm-2">
|
|
|
+ <div class="formControls col-2 col-sm-2 text-r">
|
|
|
<strong>返修进度</strong>
|
|
|
</div>
|
|
|
<div class="formControls col-10 col-sm-10">
|
|
@@ -625,85 +629,74 @@
|
|
|
var renewedBackLogisticsCompany = $("#renewedBackLogisticsCompany option:selected").val();//寄回物流公司
|
|
|
var renewedBackName = $('#renewedBackName').val();
|
|
|
var renewedBackTel = $('#renewedBackTel').val();
|
|
|
- //var renewedBackMachineNo = $('#renewedBackMachineNo').val();
|
|
|
if (renewedBackStatus == 1) {
|
|
|
if (renewedBackLogisticsNo != null && renewedBackLogisticsNo != '') {
|
|
|
- layer.msg("产品未寄回,不能有物流信息!",{icon: 5,time:500});
|
|
|
+ layer.msg("产品未寄回,不能有物流信息!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
if (renewedBackPostage != null && renewedBackPostage != '') {
|
|
|
- layer.msg("产品未寄回,不能有邮费!",{icon: 5,time:500});
|
|
|
+ layer.msg("产品未寄回,不能有邮费!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
if (renewedBackLogisticsCompany != null && renewedBackLogisticsCompany != '') {
|
|
|
- layer.msg("产品未寄回,不能选择物流公司!",{icon: 5,time:500});
|
|
|
+ layer.msg("产品未寄回,不能选择物流公司!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
if (renewedBackName != null && renewedBackName != '') {
|
|
|
- layer.msg("产品未寄回,不能填写寄回人信息!",{icon: 5,time:500});
|
|
|
+ layer.msg("产品未寄回,不能填写寄回人信息!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
if (renewedBackTel != null && renewedBackTel != '') {
|
|
|
- layer.msg("产品未寄回,不能填写寄回人电话号码!",{icon: 5,time:500});
|
|
|
+ layer.msg("产品未寄回,不能填写寄回人电话号码!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
- /*if (renewedBackMachineNo != null && renewedBackMachineNo != '') {
|
|
|
- alert("产品未寄回,不能填写机器编号!");
|
|
|
- renewed_flag = false;
|
|
|
- return renewed_flag;
|
|
|
- }*/
|
|
|
} else if (renewedBackStatus == 2 || renewedBackStatus == 3) {
|
|
|
if (renewedBackLogisticsNo == null || renewedBackLogisticsNo == '') {
|
|
|
- layer.msg("物流信息不能为空!",{icon: 5,time:500});
|
|
|
+ layer.msg("物流信息不能为空!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
if (!money.test(renewedBackPostage)) {
|
|
|
- layer.msg("邮费格式不正确,请重新输入!",{icon: 5,time:500});
|
|
|
+ layer.msg("邮费格式不正确,请重新输入!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
if (renewedBackLogisticsCompany == null || renewedBackLogisticsCompany == '') {
|
|
|
- layer.msg("请选择物流公司!",{icon: 5,time:500});
|
|
|
+ layer.msg("请选择物流公司!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
if (!uname.test(renewedBackName)) {
|
|
|
- layer.msg("寄回人信息格式不正确,请重新输入!",{icon: 5,time:500});
|
|
|
+ layer.msg("寄回人信息格式不正确,请重新输入!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
if (!mobile.test(renewedBackTel)) {
|
|
|
- layer.msg("寄回人电话号码格式不正确,请重新输入!",{icon: 5,time:500});
|
|
|
+ layer.msg("寄回人电话号码格式不正确,请重新输入!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
- /*if (renewedBackMachineNo == null || renewedBackMachineNo == '') {
|
|
|
- alert("机器编号不能为空!");
|
|
|
- renewed_flag = false;
|
|
|
- return renewed_flag;
|
|
|
- }*/
|
|
|
}
|
|
|
var renewedSendName = $('#renewedSendName').val();
|
|
|
if (!uname.test(renewedSendName)) {
|
|
|
- layer.msg("寄回人信息格式不正确,请重新输入!",{icon: 5,time:500});
|
|
|
+ layer.msg("寄回人信息格式不正确,请重新输入!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
var renewedSendTel = $('#renewedSendTel').val();
|
|
|
if (!mobile.test(renewedSendTel)) {
|
|
|
- layer.msg("寄回人电话号码格式不正确,请重新输入!",{icon: 5,time:500});
|
|
|
+ layer.msg("寄回人电话号码格式不正确,请重新输入!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
var renewedSendAddress = $('#renewedSendAddress').val();
|
|
|
if (renewedSendAddress == null || renewedSendAddress == '') {
|
|
|
- layer.msg("寄出地址不能为空!",{icon: 5,time:500});
|
|
|
+ layer.msg("寄出地址不能为空!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
@@ -712,23 +705,23 @@
|
|
|
var renewedSendLogisticsNo = $('#renewedSendLogisticsNo').val();//寄出物流单号
|
|
|
if (renewedSendLogisticsCompany == 1) {
|
|
|
if (renewedSendLogisticsCompany != null && renewedSendLogisticsCompany != '') {
|
|
|
- layer.msg("产品未寄送,不能选择物流公司!",{icon: 5,time:500});
|
|
|
+ layer.msg("产品未寄送,不能选择物流公司!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
if (renewedSendLogisticsNo != null && renewedSendLogisticsNo != '') {
|
|
|
- layer.msg("产品未寄送,不能填写物流单号!",{icon: 5,time:500});
|
|
|
+ layer.msg("产品未寄送,不能填写物流单号!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
} else if (renewedSendLogisticsCompany == 2 || renewedSendLogisticsCompany == 3) {
|
|
|
if (renewedSendLogisticsCompany == null || renewedSendLogisticsCompany == '') {
|
|
|
- layer.msg("请选择寄回物流公司!",{icon: 5,time:500});
|
|
|
+ layer.msg("请选择寄回物流公司!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|
|
|
if (renewedSendLogisticsNo == null || renewedSendLogisticsNo == '') {
|
|
|
- layer.msg("请填写物流单号!",{icon: 5,time:500});
|
|
|
+ layer.msg("请填写物流单号!",{icon: 5,time:1000});
|
|
|
renewed_flag = false;
|
|
|
return renewed_flag;
|
|
|
}
|