Compare commits
No commits in common. "59b536aac93fd84fff55d4432bda0d19320e2e58" and "b8c94a67a0da9b564a90988dbdbe1f76410db4bb" have entirely different histories.
59b536aac9
...
b8c94a67a0
|
|
@ -3,11 +3,6 @@
|
||||||
<head>
|
<head>
|
||||||
<th:block th:include="include :: header('新增发货记录')" />
|
<th:block th:include="include :: header('新增发货记录')" />
|
||||||
<th:block th:include="include :: datetimepicker-css" />
|
<th:block th:include="include :: datetimepicker-css" />
|
||||||
<style>
|
|
||||||
.radio-box {
|
|
||||||
padding-right: 3px !important;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body class="white-bg">
|
<body class="white-bg">
|
||||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
|
@ -28,7 +23,7 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label is-required">发货单号:</label>
|
<label class="col-sm-4 control-label is-required">发货单号:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<input disabled name="deliveryCode" class="form-control" type="text" placeholder="保存后自动生成">
|
<input name="deliveryCode" class="form-control" type="text" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -57,45 +52,42 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label">物流公司:</label>
|
<label class="col-sm-4 control-label">物流公司:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<select name="logisticsCompany" class="form-control" th:with="type=${@dict.getType('logistics_company')}">
|
<input name="logisticsCompany" class="form-control" type="text">
|
||||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
||||||
</select>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label is-required">物流单号:</label>
|
<label class="col-sm-4 control-label">物流单号:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<input name="logisticsCode" class="form-control" type="text" required>
|
<input name="logisticsCode" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label is-required">收货人姓名:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="receiverName" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label is-required">收货人电话:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="receiverPhone" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label is-required">收货地址:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="receiverAddress" class="form-control" type="text" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="col-xs-6">-->
|
|
||||||
<!-- <div class="form-group">-->
|
|
||||||
<!-- <label class="col-sm-4 control-label is-required">收货人姓名:</label>-->
|
|
||||||
<!-- <div class="col-sm-8">-->
|
|
||||||
<!-- <input name="receiverName" class="form-control" type="text" required>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- <div class="col-xs-6">-->
|
|
||||||
<!-- <div class="form-group">-->
|
|
||||||
<!-- <label class="col-sm-4 control-label is-required">收货人电话:</label>-->
|
|
||||||
<!-- <div class="col-sm-8">-->
|
|
||||||
<!-- <input name="receiverPhone" class="form-control" type="text" required>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- <div class="col-xs-6">-->
|
|
||||||
<!-- <div class="form-group">-->
|
|
||||||
<!-- <label class="col-sm-4 control-label is-required">收货地址:</label>-->
|
|
||||||
<!-- <div class="col-sm-8">-->
|
|
||||||
<!-- <input name="receiverAddress" class="form-control" type="text" required>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label is-required">发货状态:</label>
|
<label class="col-sm-4 control-label is-required">发货状态:</label>
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,6 @@
|
||||||
<head>
|
<head>
|
||||||
<th:block th:include="include :: header('修改发货记录')" />
|
<th:block th:include="include :: header('修改发货记录')" />
|
||||||
<th:block th:include="include :: datetimepicker-css" />
|
<th:block th:include="include :: datetimepicker-css" />
|
||||||
<style>
|
|
||||||
.radio-box {
|
|
||||||
padding-right: 3px !important;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body class="white-bg">
|
<body class="white-bg">
|
||||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
|
@ -29,7 +24,7 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label is-required">发货单号:</label>
|
<label class="col-sm-4 control-label is-required">发货单号:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<input disabled name="deliveryCode" th:field="*{deliveryCode}" class="form-control" type="text" placeholder="保存后自动生成">
|
<input name="deliveryCode" th:field="*{deliveryCode}" class="form-control" type="text" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -58,44 +53,42 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label">物流公司:</label>
|
<label class="col-sm-4 control-label">物流公司:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<select name="logisticsCompany" class="form-control" th:field="*{logisticsCompany}" th:with="type=${@dict.getType('logistics_company')}">
|
<input name="logisticsCompany" th:field="*{logisticsCompany}" class="form-control" type="text">
|
||||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
||||||
</select>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label is-required">物流单号:</label>
|
<label class="col-sm-4 control-label">物流单号:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<input name="logisticsCode" th:field="*{logisticsCode}" class="form-control" type="text" required>
|
<input name="logisticsCode" th:field="*{logisticsCode}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label is-required">收货人姓名:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="receiverName" th:field="*{receiverName}" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label is-required">收货人电话:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="receiverPhone" th:field="*{receiverPhone}" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label is-required">收货地址:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="receiverAddress" th:field="*{receiverAddress}" class="form-control" type="text" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="col-xs-6">-->
|
|
||||||
<!-- <div class="form-group">-->
|
|
||||||
<!-- <label class="col-sm-4 control-label is-required">收货人姓名:</label>-->
|
|
||||||
<!-- <div class="col-sm-8">-->
|
|
||||||
<!-- <input name="receiverName" th:field="*{receiverName}" class="form-control" type="text" required>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- <div class="col-xs-6">-->
|
|
||||||
<!-- <div class="form-group">-->
|
|
||||||
<!-- <label class="col-sm-4 control-label is-required">收货人电话:</label>-->
|
|
||||||
<!-- <div class="col-sm-8">-->
|
|
||||||
<!-- <input name="receiverPhone" th:field="*{receiverPhone}" class="form-control" type="text" required>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- <div class="col-xs-6">-->
|
|
||||||
<!-- <div class="form-group">-->
|
|
||||||
<!-- <label class="col-sm-4 control-label is-required">收货地址:</label>-->
|
|
||||||
<!-- <div class="col-sm-8">-->
|
|
||||||
<!-- <input name="receiverAddress" th:field="*{receiverAddress}" class="form-control" type="text" required>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label is-required">发货状态:</label>
|
<label class="col-sm-4 control-label is-required">发货状态:</label>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
<head>
|
<head>
|
||||||
<th:block th:include="include :: header('发货清单列表')" />
|
<th:block th:include="include :: header('发货清单列表')" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="gray-bg">
|
<body class="gray-bg">
|
||||||
<div class="col-sm-12 select-table table-striped" >
|
<div class="col-sm-12 select-table table-striped" >
|
||||||
<input id="uploadInput" type="file" accept=".xls,.xlsx" style="display: none">
|
<input id="uploadInput" type="file" accept=".xls,.xlsx" style="display: none">
|
||||||
|
|
|
||||||
|
|
@ -100,10 +100,10 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label is-required"> 客户名称:</label>
|
<label class="col-sm-4 control-label is-required">客户编码:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input name="customerName" class="form-control" type="text" required
|
<input name="customerCode" class="form-control" type="text" required
|
||||||
onclick="selectCustomer()">
|
onclick="selectCustomer()">
|
||||||
<span class="input-group-addon" style="width: 40px !important;"><i
|
<span class="input-group-addon" style="width: 40px !important;"><i
|
||||||
class="fa fa-search"></i></span>
|
class="fa fa-search"></i></span>
|
||||||
|
|
@ -114,9 +114,9 @@
|
||||||
|
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label is-required">客户编码:</label>
|
<label class="col-sm-4 control-label is-required">客户名称:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<input readonly name="customerCode" class="form-control" type="text" required>
|
<input name="customerName" class="form-control" type="text" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -255,7 +255,7 @@
|
||||||
title: '折扣',
|
title: '折扣',
|
||||||
width: 70,
|
width: 70,
|
||||||
formatter: function (value, row, index) {
|
formatter: function (value, row, index) {
|
||||||
var html = $.common.sprintf("<input readonly class='form-control discount' type='number' name='orderListList[%s].discount' value='%s' step='0.1' max='1' min='0'>", index, value);
|
var html = $.common.sprintf("<input class='form-control discount' type='number' name='orderListList[%s].discount' value='%s' step='0.1' max='1' min='0'>", index, value);
|
||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -314,7 +314,6 @@
|
||||||
title: '选择客户',
|
title: '选择客户',
|
||||||
width: "680",
|
width: "680",
|
||||||
url: url,
|
url: url,
|
||||||
height:'600',
|
|
||||||
callBack: doSubmitCustomer
|
callBack: doSubmitCustomer
|
||||||
};
|
};
|
||||||
$.modal.openOptions(options);
|
$.modal.openOptions(options);
|
||||||
|
|
@ -326,7 +325,6 @@
|
||||||
title: '选择代表处',
|
title: '选择代表处',
|
||||||
width: "680",
|
width: "680",
|
||||||
url: url,
|
url: url,
|
||||||
height:'600',
|
|
||||||
callBack: doSubmitAgent
|
callBack: doSubmitAgent
|
||||||
};
|
};
|
||||||
$.modal.openOptions(options);
|
$.modal.openOptions(options);
|
||||||
|
|
@ -337,7 +335,6 @@
|
||||||
var options = {
|
var options = {
|
||||||
title: '选择代理商',
|
title: '选择代理商',
|
||||||
width: "680",
|
width: "680",
|
||||||
height:'600',
|
|
||||||
url: url,
|
url: url,
|
||||||
callBack: doSubmitPartner
|
callBack: doSubmitPartner
|
||||||
};
|
};
|
||||||
|
|
@ -387,21 +384,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function downloadTem() {
|
function downloadTem() {
|
||||||
var xhr = new XMLHttpRequest(); // 创建XMLHttpRequest对象
|
|
||||||
xhr.open('post', prefix + '/list/export', true); // 设置请求类型和URL
|
|
||||||
// 当请求完成时执行的回调函数
|
|
||||||
$.modal.loading("正在下载,请稍候...");
|
$.modal.loading("正在下载,请稍候...");
|
||||||
xhr.onload = function (data) {
|
$.post(prefix + "/list/export", {}, function (result) {
|
||||||
const url = window.URL.createObjectURL(data.currentTarget.response)
|
if (result.code == web_status.SUCCESS) {
|
||||||
const a=document.createElement('a')
|
window.location.href = ctx + "common/download?fileName=" + encodeURI(result.msg) + "&delete=" + true;
|
||||||
a.href= url
|
} else if (result.code == web_status.WARNING) {
|
||||||
a.download='合同清单模板.xlsx'
|
$.modal.alertWarning(result.msg)
|
||||||
document.append(a)
|
} else {
|
||||||
a.click()
|
$.modal.alertError(result.msg);
|
||||||
a.remove()
|
|
||||||
$.modal.closeLoading();
|
|
||||||
}
|
}
|
||||||
xhr.send();
|
$.modal.closeLoading();
|
||||||
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById('uploadInput').addEventListener('change', function (event) {
|
document.getElementById('uploadInput').addEventListener('change', function (event) {
|
||||||
|
|
@ -451,9 +445,6 @@
|
||||||
let res = Number((price * quantity * discount).toFixed(2))
|
let res = Number((price * quantity * discount).toFixed(2))
|
||||||
$(ele).parent().parent().find('.amount').val(res)
|
$(ele).parent().parent().find('.amount').val(res)
|
||||||
}
|
}
|
||||||
$('[name="versionCode"]').on('focus',function (){
|
|
||||||
$(this).blur()
|
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
@ -107,7 +107,7 @@
|
||||||
<label class="col-sm-4 control-label is-required">客户编码:</label>
|
<label class="col-sm-4 control-label is-required">客户编码:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input name="customerName" th:field="*{customerName}" class="form-control" type="text"
|
<input name="customerCode" th:field="*{customerCode}" class="form-control" type="text"
|
||||||
required onclick="selectCustomer()">
|
required onclick="selectCustomer()">
|
||||||
<span class="input-group-addon" style="width: 40px !important;"><i
|
<span class="input-group-addon" style="width: 40px !important;"><i
|
||||||
class="fa fa-search"></i></span>
|
class="fa fa-search"></i></span>
|
||||||
|
|
@ -119,9 +119,8 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label is-required">客户名称:</label>
|
<label class="col-sm-4 control-label is-required">客户名称:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<input readonly name="customerCode" th:field="*{customerCode}" class="form-control" type="text"
|
<input name="customerName" th:field="*{customerName}" class="form-control" type="text"
|
||||||
required>
|
required>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -207,8 +206,6 @@
|
||||||
title: '选择客户',
|
title: '选择客户',
|
||||||
width: "680",
|
width: "680",
|
||||||
url: url,
|
url: url,
|
||||||
height:'600',
|
|
||||||
|
|
||||||
callBack: doSubmitCustomer
|
callBack: doSubmitCustomer
|
||||||
};
|
};
|
||||||
$.modal.openOptions(options);
|
$.modal.openOptions(options);
|
||||||
|
|
@ -220,8 +217,6 @@
|
||||||
title: '选择代表处',
|
title: '选择代表处',
|
||||||
width: "680",
|
width: "680",
|
||||||
url: url,
|
url: url,
|
||||||
height:'600',
|
|
||||||
|
|
||||||
callBack: doSubmitAgent
|
callBack: doSubmitAgent
|
||||||
};
|
};
|
||||||
$.modal.openOptions(options);
|
$.modal.openOptions(options);
|
||||||
|
|
@ -233,8 +228,6 @@
|
||||||
title: '选择代理商',
|
title: '选择代理商',
|
||||||
width: "680",
|
width: "680",
|
||||||
url: url,
|
url: url,
|
||||||
height:'600',
|
|
||||||
|
|
||||||
callBack: doSubmitPartner
|
callBack: doSubmitPartner
|
||||||
};
|
};
|
||||||
$.modal.openOptions(options);
|
$.modal.openOptions(options);
|
||||||
|
|
@ -324,21 +317,17 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
function downloadTem() {
|
function downloadTem() {
|
||||||
var xhr = new XMLHttpRequest(); // 创建XMLHttpRequest对象
|
|
||||||
xhr.open('post', prefix + '/list/export', true); // 设置请求类型和URL
|
|
||||||
// 当请求完成时执行的回调函数
|
|
||||||
$.modal.loading("正在下载,请稍候...");
|
$.modal.loading("正在下载,请稍候...");
|
||||||
xhr.onload = function (data) {
|
$.post(prefix + "/list/export", {}, function (result) {
|
||||||
const url = window.URL.createObjectURL(data.currentTarget.response)
|
if (result.code == web_status.SUCCESS) {
|
||||||
const a=document.createElement('a')
|
window.location.href = ctx + "common/download?fileName=" + encodeURI(result.msg) + "&delete=" + true;
|
||||||
a.href= url
|
} else if (result.code == web_status.WARNING) {
|
||||||
a.download='合同清单模板.xlsx'
|
$.modal.alertWarning(result.msg)
|
||||||
document.append(a)
|
} else {
|
||||||
a.click()
|
$.modal.alertError(result.msg);
|
||||||
a.remove()
|
|
||||||
$.modal.closeLoading();
|
|
||||||
}
|
}
|
||||||
xhr.send();
|
$.modal.closeLoading();
|
||||||
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -422,7 +411,7 @@
|
||||||
align: 'center',
|
align: 'center',
|
||||||
title: '折扣',
|
title: '折扣',
|
||||||
formatter: function (value, row, index) {
|
formatter: function (value, row, index) {
|
||||||
var html = $.common.sprintf("<input readonly class='form-control discount' type='number' name='orderListList[%s].discount' value='%s' step='0.1' max='1' min='0'>", index, value);
|
var html = $.common.sprintf("<input class='form-control discount' type='number' name='orderListList[%s].discount' value='%s' step='0.1' max='1' min='0'>", index, value);
|
||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -455,9 +444,6 @@
|
||||||
$(this).blur()
|
$(this).blur()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
$('[name="versionCode"]').on('focus',function (){
|
|
||||||
$(this).blur()
|
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
@ -3,47 +3,10 @@
|
||||||
<head>
|
<head>
|
||||||
<th:block th:include="include :: header('选择代表处')" />
|
<th:block th:include="include :: header('选择代表处')" />
|
||||||
</head>
|
</head>
|
||||||
<style>
|
|
||||||
.select-list li{
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
.select-list li label{
|
|
||||||
width: 88px !important;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<body class="gray-bg">
|
<body class="gray-bg">
|
||||||
<div class="container-div">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-12 search-collapse">
|
|
||||||
<form id="formId">
|
|
||||||
<div class="select-list">
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<label>办事处编码:</label>
|
|
||||||
<input type="text" name="agentCode"/>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<label>办公处名称:</label>
|
|
||||||
<input type="text" name="agentName"/>
|
|
||||||
</li>
|
|
||||||
<li style="width: 95%;text-align: right">
|
|
||||||
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i
|
|
||||||
class="fa fa-search"></i> 搜索</a>
|
|
||||||
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i
|
|
||||||
class="fa fa-refresh"></i> 重置</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-sm-12 select-table table-striped" >
|
<div class="col-sm-12 select-table table-striped" >
|
||||||
|
|
||||||
<table id="bootstrap-table"></table>
|
<table id="bootstrap-table"></table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<th:block th:include="include :: footer" />
|
<th:block th:include="include :: footer" />
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -52,13 +15,12 @@
|
||||||
$(function() {
|
$(function() {
|
||||||
var options = {
|
var options = {
|
||||||
url: prefix + "/list",
|
url: prefix + "/list",
|
||||||
showSearch: true,
|
showSearch:false,
|
||||||
showColumns:false,
|
showColumns:false,
|
||||||
showToggle:false,
|
showToggle:false,
|
||||||
showPageGo:true,
|
showPageGo:true,
|
||||||
showRefresh: false,
|
params:{
|
||||||
search: false,
|
},
|
||||||
params: {},
|
|
||||||
columns: [{
|
columns: [{
|
||||||
radio: true
|
radio: true
|
||||||
},
|
},
|
||||||
|
|
@ -82,7 +44,6 @@
|
||||||
};
|
};
|
||||||
$.table.init(options);
|
$.table.init(options);
|
||||||
});
|
});
|
||||||
|
|
||||||
function getSelections() {
|
function getSelections() {
|
||||||
var rows = $('#bootstrap-table').bootstrapTable('getSelections');
|
var rows = $('#bootstrap-table').bootstrapTable('getSelections');
|
||||||
return rows;
|
return rows;
|
||||||
|
|
|
||||||
|
|
@ -3,50 +3,10 @@
|
||||||
<head>
|
<head>
|
||||||
<th:block th:include="include :: header('选择客户')" />
|
<th:block th:include="include :: header('选择客户')" />
|
||||||
</head>
|
</head>
|
||||||
<style>
|
|
||||||
.select-list li {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.select-list li label {
|
|
||||||
width: 88px !important;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<body class="gray-bg">
|
<body class="gray-bg">
|
||||||
<div class="container-div">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-12 search-collapse">
|
|
||||||
<form id="formId">
|
|
||||||
<div class="select-list">
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<label>客户编码:</label>
|
|
||||||
<input type="text" name="customerCode"/>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<label>客户名称:</label>
|
|
||||||
<input type="text" name="customerName"/>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<label>联系人:</label>
|
|
||||||
<input type="text" name="contactPerson"/>
|
|
||||||
</li>
|
|
||||||
<li style="width: 46%;text-align: right;">
|
|
||||||
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i
|
|
||||||
class="fa fa-search"></i> 搜索</a>
|
|
||||||
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i
|
|
||||||
class="fa fa-refresh"></i> 重置</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-12 select-table table-striped" >
|
<div class="col-sm-12 select-table table-striped" >
|
||||||
<table id="bootstrap-table"></table>
|
<table id="bootstrap-table"></table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<th:block th:include="include :: footer" />
|
<th:block th:include="include :: footer" />
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -55,13 +15,12 @@
|
||||||
$(function() {
|
$(function() {
|
||||||
var options = {
|
var options = {
|
||||||
url: prefix + "/list",
|
url: prefix + "/list",
|
||||||
showSearch: true,
|
showSearch:false,
|
||||||
showColumns:false,
|
showColumns:false,
|
||||||
showToggle:false,
|
showToggle:false,
|
||||||
showPageGo:true,
|
showPageGo:true,
|
||||||
showRefresh: false,
|
params:{
|
||||||
search: false,
|
},
|
||||||
params: {},
|
|
||||||
columns: [{
|
columns: [{
|
||||||
radio: true
|
radio: true
|
||||||
},
|
},
|
||||||
|
|
@ -105,7 +64,6 @@
|
||||||
};
|
};
|
||||||
$.table.init(options);
|
$.table.init(options);
|
||||||
});
|
});
|
||||||
|
|
||||||
function getSelections() {
|
function getSelections() {
|
||||||
var rows = $('#bootstrap-table').bootstrapTable('getSelections');
|
var rows = $('#bootstrap-table').bootstrapTable('getSelections');
|
||||||
return rows;
|
return rows;
|
||||||
|
|
|
||||||
|
|
@ -3,52 +3,10 @@
|
||||||
<head>
|
<head>
|
||||||
<th:block th:include="include :: header('选择代理商')" />
|
<th:block th:include="include :: header('选择代理商')" />
|
||||||
</head>
|
</head>
|
||||||
<style>
|
|
||||||
.select-list li{
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
.select-list li label{
|
|
||||||
width: 88px !important;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<body class="gray-bg">
|
<body class="gray-bg">
|
||||||
<div class="container-div">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-12 search-collapse">
|
|
||||||
<form id="formId">
|
|
||||||
<div class="select-list">
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<label>代理商编码:</label>
|
|
||||||
<input type="text" name="partnerCode"/>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<label>代理商名称:</label>
|
|
||||||
<input type="text" name="partnerName"/>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<label>认证级别:</label>
|
|
||||||
<select name="level" th:with="type=${@dict.getType('identify_level')}">
|
|
||||||
<option value="">所有</option>
|
|
||||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
|
||||||
th:value="${dict.dictValue}"></option>
|
|
||||||
</select>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i
|
|
||||||
class="fa fa-search"></i> 搜索</a>
|
|
||||||
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i
|
|
||||||
class="fa fa-refresh"></i> 重置</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-12 select-table table-striped" >
|
<div class="col-sm-12 select-table table-striped" >
|
||||||
<table id="bootstrap-table"></table>
|
<table id="bootstrap-table"></table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<th:block th:include="include :: footer" />
|
<th:block th:include="include :: footer" />
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -58,13 +16,12 @@
|
||||||
$(function() {
|
$(function() {
|
||||||
var options = {
|
var options = {
|
||||||
url: prefix + "/list",
|
url: prefix + "/list",
|
||||||
showSearch: true,
|
showSearch:false,
|
||||||
showColumns:false,
|
showColumns:false,
|
||||||
showToggle:false,
|
showToggle:false,
|
||||||
showPageGo:true,
|
showPageGo:true,
|
||||||
showRefresh: false,
|
params:{
|
||||||
search: false,
|
},
|
||||||
params: {},
|
|
||||||
columns: [{
|
columns: [{
|
||||||
radio: true
|
radio: true
|
||||||
},
|
},
|
||||||
|
|
@ -100,7 +57,6 @@
|
||||||
};
|
};
|
||||||
$.table.init(options);
|
$.table.init(options);
|
||||||
});
|
});
|
||||||
|
|
||||||
function getSelections() {
|
function getSelections() {
|
||||||
var rows = $('#bootstrap-table').bootstrapTable('getSelections');
|
var rows = $('#bootstrap-table').bootstrapTable('getSelections');
|
||||||
return rows;
|
return rows;
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,14 @@
|
||||||
<label>创建时间:</label>
|
<label>创建时间:</label>
|
||||||
<input type="text" class="time-input" placeholder="请选择创建时间" name="createAt"/>
|
<input type="text" class="time-input" placeholder="请选择创建时间" name="createAt"/>
|
||||||
</li>
|
</li>
|
||||||
|
<!-- <li>-->
|
||||||
|
<!-- <label>更新时间:</label>-->
|
||||||
|
<!-- <input type="text" class="time-input" placeholder="请选择更新时间" name="updateAt"/>-->
|
||||||
|
<!-- </li>-->
|
||||||
|
<!-- <li>-->
|
||||||
|
<!-- <label>删除时间:</label>-->
|
||||||
|
<!-- <input type="text" class="time-input" placeholder="请选择删除时间" name="deleteAt"/>-->
|
||||||
|
<!-- </li>-->
|
||||||
<li>
|
<li>
|
||||||
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||||
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue