Commit e7ef174f authored by 季圣华's avatar 季圣华
Browse files

优化系统单据代码,更新sql

parent 195e5223
This diff is collapsed.
...@@ -26,27 +26,29 @@ ...@@ -26,27 +26,29 @@
/** /**
* 扩展datagrid的editors方法,支持combogrid * 扩展datagrid的editors方法,支持combogrid
*/ */
$.extend($.fn.datagrid.defaults.editors, { if($.fn.datagrid) {
combogrid: { $.extend($.fn.datagrid.defaults.editors, {
init: function (container, options) { combogrid: {
var input = $('<input type="text" style="height: 22px;" class="datagrid-editable-input">').appendTo(container); init: function (container, options) {
input.combogrid(options); var input = $('<input type="text" style="height: 22px;" class="datagrid-editable-input">').appendTo(container);
return input; input.combogrid(options);
}, return input;
destroy: function (target) { },
$(target).combogrid('destroy'); destroy: function (target) {
}, $(target).combogrid('destroy');
getValue: function (target) { },
return $(target).combogrid('getValue'); getValue: function (target) {
}, return $(target).combogrid('getValue');
setValue: function (target, value) { },
$(target).combogrid('setValue', value); setValue: function (target, value) {
}, $(target).combogrid('setValue', value);
resize: function (target, width) { },
$(target).combogrid('resize', width); resize: function (target, width) {
$(target).combogrid('resize', width);
}
} }
} });
}); }
$(function() { $(function() {
domresize(); domresize();
......
...@@ -192,7 +192,6 @@ ...@@ -192,7 +192,6 @@
if(depot.isDefault){ if(depot.isDefault){
defDepotId = depot.id; defDepotId = depot.id;
} }
depotString = depotString + ",";
} }
} }
depotString = depotString.substring(0, depotString.length-1); depotString = depotString.substring(0, depotString.length-1);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment