补提 dev 上未进主干的 10 个改动(运力组织/运单导入/凭证批次/运输计划) #17

Merged
b2894lxlx merged 10 commits from feature/20261110-补开dev未合并改动-web into master 2026-11-10 17:45:22 +08:00
Showing only changes of commit 6b6c9ed6ed - Show all commits
+8 -1
View File
@@ -1044,6 +1044,10 @@ const openBatchDialog = async row => {
batchDialogMode.value = voucher?.id ? 'change' : 'upload';
batchTarget.value = voucher?.id ? voucher : undefined;
batchSelection.value = [];
// 弹窗内的搜索条件是模块级状态,不重置就会带着上一次的筛选条件打开。
resetBatchSearch();
batchRows.value = [];
batchPage.total = 0;
batchVisible.value = true;
if (!projectOptions.value.length) await loadProjects();
await loadBatches();
@@ -1076,7 +1080,7 @@ const handleWaybillCountInput = value => {
batchQuery.waybillCount = filtered.replace(/^0+/, '');
}
};
const resetBatchQuery = () => {
const resetBatchSearch = () => {
Object.assign(batchQuery, {
batchNo: '',
projectId: '',
@@ -1085,6 +1089,9 @@ const resetBatchQuery = () => {
});
batchCreateRange.value = [];
batchPage.current = 1;
};
const resetBatchQuery = () => {
resetBatchSearch();
loadBatches();
};
const updateWaybillBatch = async (target, selected) => {