修改资产管理

This commit is contained in:
ibuler
2015-09-09 00:19:17 +08:00
parent 4eb78e151e
commit 8bf9103fcf
29 changed files with 1280 additions and 2369 deletions

View File

@@ -70,17 +70,17 @@ function move(from, to, from_o, to_o) {
});
}
function move_left(from, to, from_o, to_o) {
$("#" + from + " option").each(function () {
if ($(this).prop("selected") == true) {
$("#" + to).append(this);
if( typeof from_o !== 'undefined'){
$("#"+to_o).append($("#"+from_o +" option[value='"+this.value+"']"));
}
}
$(this).attr("selected",'true');
});
}
//function move_left(from, to, from_o, to_o) {
// $("#" + from + " option").each(function () {
// if ($(this).prop("selected") == true) {
// $("#" + to).append(this);
// if( typeof from_o !== 'undefined'){
// $("#"+to_o).append($("#"+from_o +" option[value='"+this.value+"']"));
// }
// }
// $(this).attr("selected",'true');
// });
//}
//function move_all(from, to) {
// $("#" + from).children().each(function () {