工程量清单修改

This commit is contained in:
2025-08-20 19:19:04 +08:00
parent b8652c084b
commit c12fa631e4
2 changed files with 3 additions and 1 deletions

View File

@ -133,6 +133,7 @@ const handleTabChange = (tab) => {
state.queryForm.sheet = '';
state.queryForm.versions = '';
state.work_order_type = tab;
state.versionsData = {};
if (tab <= 2) {
getVersionNums();
} else {
@ -162,6 +163,7 @@ async function getVersionNums(isSheet = true) {
state.queryForm.versions = state.options[0].versions;
// if (state.work_order_type == 3) {
state.versionsData = state.options[0] || [];
console.log('state.versionsData', state.versionsData);
// console.log('state.versionsData', state.versionsData);
// }
// 等待表名加载完成