Add file size update after upload

This commit is contained in:
wkc
2026-03-12 13:41:40 +08:00
parent c68e694536
commit 6a3cfa9ea6
7 changed files with 294 additions and 25 deletions

View File

@@ -0,0 +1,26 @@
const assert = require("assert");
const fs = require("fs");
const path = require("path");
const componentPath = path.resolve(
__dirname,
"../../src/views/ccdiProject/components/detail/UploadData.vue"
);
const source = fs.readFileSync(componentPath, "utf8");
assert(
/:picker-options="pullBankInfoDatePickerOptions"/.test(source),
"拉取本行信息日期范围应绑定专用的 picker-options"
);
assert(
/pullBankInfoDatePickerOptions/.test(source),
"组件脚本中应定义拉取本行信息日期范围的专用配置"
);
assert(
/getPullBankInfoMaxSelectableDate/.test(source),
"组件脚本中应提供“最晚可选日期”为昨天的统一 helper"
);
console.log("upload-data-pull-bank-info-date-limit test passed");