赠送金币钻石-平台id输入框去除空白字符
This commit is contained in:
@@ -187,7 +187,6 @@ export default {
|
||||
});
|
||||
|
||||
$('#btnScan').click(function () {
|
||||
console.log("star===>>" + $("#ernos").text() + ", " + $("#ernos").val());
|
||||
if (!$('#ernos').val()) {
|
||||
$("#tipMsg").text("请输入耳伴号");
|
||||
$("#tipModal").modal('show');
|
||||
@@ -223,7 +222,9 @@ export default {
|
||||
return;
|
||||
}
|
||||
var type = $('#type').val();
|
||||
var erBanNos = $("#ernos").val();
|
||||
var erBanNos = $("#ernos").val().split('\n').map((line) => line.trim())
|
||||
.filter((s) => s && s != '').join('\n');
|
||||
console.info(111, erBanNos)
|
||||
var actualAmount = $('#actualAmount').val();
|
||||
var num = $('#num').val();
|
||||
var busType = $('#busType').val();
|
||||
@@ -418,7 +419,8 @@ function initUserInfoTable () {
|
||||
var param = {
|
||||
page: params.pageNumber,
|
||||
pageSize: params.pageSize,
|
||||
"ernos": $("#ernos").val(),
|
||||
"ernos": $("#ernos").val().split('\n').map((line) => line.trim())
|
||||
.filter((s) => s && s != '').join('\n'),
|
||||
};
|
||||
return param;
|
||||
},
|
||||
|
Reference in New Issue
Block a user