diff --git a/static/js/channel.js b/static/js/channel.js
index bf77716..dad2043 100644
--- a/static/js/channel.js
+++ b/static/js/channel.js
@@ -220,7 +220,7 @@ $(function () {
'' +
'';
var costInput = '';
+ (r.status === '已执行' ? '' : ' disabled') + ' style="width:90px;height:28px;padding:0 6px;font-size:12px;border:1px solid #d9dee8;border-radius:4px;text-align:right;">';
html += '
' +
'| ' + r.id + ' | ' +
'' + escHtml(r.channel_type) + ' | ' +
@@ -249,11 +249,8 @@ $(function () {
var status = $(this).val();
var $row = $(this).closest('tr');
var $cost = $row.find('.plan-cost');
- if (status === '已执行') {
- $cost.prop('disabled', false).css({ background: '#fff', color: '#1e2a3a' });
- } else {
- $cost.prop('disabled', true).css({ background: '#f2f4f8', color: '#8a94a6' });
- }
+ // 仅控制可编辑性,不改 CSS 样式(保持「已执行」的样式呈现)
+ $cost.prop('disabled', status !== '已执行');
httpPost('channel/plan_save.php', { id: id, status: status }).then(function () {
Dialog.toast('状态已更新为「' + status + '」');
}).catch(function () {
@@ -336,7 +333,7 @@ $(function () {
' ' +
' ' +
' ' +
+ (r.status === '已执行' ? '' : ' disabled') + '>' +
' ' +
' ' +
' ' +
@@ -358,8 +355,8 @@ $(function () {
$('#plan-form select[name="status"]').on('change', function () {
var enabled = $(this).val() === '已执行';
var $cost = $('#plan-form input[name="cost"]');
+ // 仅控制可编辑性,不改 CSS 样式
$cost.prop('disabled', !enabled);
- $cost.css({ background: enabled ? '#fff' : '#f2f4f8', color: enabled ? '#1e2a3a' : '#8a94a6' });
if (!enabled) $cost.val('');
});
diff --git a/static/js/config.js b/static/js/config.js
index 11c96ca..aec4ad1 100644
--- a/static/js/config.js
+++ b/static/js/config.js
@@ -5,7 +5,7 @@ var BASE_URL = '/api/';
var PAGE_SIZE = 20;
/** 系统版本号(logo旁展示):修改代码后运行 tools/bump_version.php 自动递增 */
-var APP_VERSION = 'v1.0.24';
+var APP_VERSION = 'v1.0.25';
/** 页脚版权/备案信息(在 config.js 中修改) */
var FOOTER_TEXT = '© 2026 SuperLink 管理系统 版权所有 | 备案号:请替换为真实备案号';