...
|
...
|
@@ -126,7 +126,13 @@ $(document).on('click', '.edit-class-btn', function () { |
|
|
url: '/erpproduct/standardSort/update',
|
|
|
data: (function () {
|
|
|
var input = $('#standardSortName').val();
|
|
|
if (input === '' || $.trim(input) === '')return "参数名称不能为空";
|
|
|
if (input === '' || $.trim(input) === ''){ return "参数名称不能为空";}
|
|
|
var orderBy = $('#orderBy').val();
|
|
|
if (orderBy < 0)
|
|
|
{
|
|
|
common.util.__tip("排序不能为负数", "warning");
|
|
|
return;
|
|
|
}
|
|
|
return {
|
|
|
id: item.id,
|
|
|
standardSortName: $("#standardSortName").val(),
|
...
|
...
|
|