|
@@ -37,7 +37,7 @@
|
|
|
<div class="form-group">
|
|
|
<label>台账列显示</label>
|
|
|
<table class="table table-hover table-bordered">
|
|
|
- <thead><tr><th>名称</th><th>是否显示</th><th>别名</th><th></th></tr></thead>
|
|
|
+ <thead><tr><th>名称</th><th>是否显示</th><th>别名</th><th>位置</th></tr></thead>
|
|
|
<tbody id="ledger_col_list">
|
|
|
<% for (const sl of sjsRela.ledgerCol) { %>
|
|
|
<tr>
|
|
@@ -87,4 +87,12 @@
|
|
|
obj.value = obj.getAttribute('org');
|
|
|
});
|
|
|
};
|
|
|
+ const updateColPos = function(sub, field, obj) {
|
|
|
+ const data = { sub, field, key: 'pos', value: obj.value };
|
|
|
+ postData('show/update-sjs', data, function() {
|
|
|
+ obj.setAttribute('org', obj.value);
|
|
|
+ }, function () {
|
|
|
+ obj.value = obj.getAttribute('org');
|
|
|
+ });
|
|
|
+ }
|
|
|
</script>
|