refactor: 清理代码 - 移除死代码和调试语句

- 移除未使用的 currentListId 变量
- 移除空的 setupInfiniteScroll 函数
- 移除重复的 partner 变量声明
- 移除调试用的 console.log 语句

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
lizhilun
2026-03-25 22:18:49 +08:00
co-authored by Claude Opus 4.6
parent 9126348d1b
commit 19e5a48f07
2 changed files with 1 additions and 24 deletions
-1
View File
@@ -123,7 +123,6 @@ async function submitRecord() {
const partner = document.getElementById('fPartner')?.value.trim() || '';
if (currentCategory === '派单') {
const rebate = parseFloat(document.getElementById('fRebate').value);
const partner = document.getElementById('fPartner')?.value.trim() || '';
if (!quantity || !unit_price || !rebate || !boss || !partner) { showToast('请填写完整信息(包括负责打单的陪玩)'); return; }
body.quantity = quantity;
body.unit_price = unit_price;