第3项:旧界面与 React 共用对账、回收及基础业务规则

This commit is contained in:
黄健铭 committed 2026-12-05 07:43:18 -08:00
1 parent 54c05879d5
commit 389952f31c
65 files changed
+2265 -3800

No files matched your search

+24 -29
View File
@@ -5,6 +5,15 @@ module.exports = {
'public/calculations.js': {
LedgerCalc: 'writable',
},
'public/ledger-values.js': {
LedgerValues: 'writable',
},
'public/report-rules.js': {
ReportRules: 'writable',
},
'public/recovery-rules.js': {
RecoveryRules: 'writable',
},
'public/order-formula.js': {
OrderFormula: 'writable',
},
@@ -559,7 +568,6 @@ module.exports = {
submitDailyFundsForm: 'writable',
validateDailyFunds: 'writable',
validateDailyReimbursements: 'writable',
validateReimbursement: 'writable',
},
'public/cost-funding-ui.js': {
loadReimbursementFundingOptions: 'writable',
@@ -644,7 +652,7 @@ module.exports = {
customerMaterialCache: 'writable',
customerMaterialCacheUser: 'writable',
customerMaterialListHTML: 'writable',
customerMaterialOldLines: 'writable',
customerMaterialOldLines: 'readonly',
customerMaterialOptions: 'writable',
customerMaterialOwnUsage: 'writable',
customerMaterialPage: 'writable',
@@ -659,10 +667,10 @@ module.exports = {
loadRecoveryPools: 'writable',
loadRecoveryQuote: 'writable',
openRecovery: 'writable',
recoveryCalculate: 'writable',
recoveryCalculate: 'readonly',
recoveryCardRate: 'writable',
recoveryCustomerRateField: 'writable',
recoveryDefaults: 'writable',
recoveryDefaults: 'readonly',
recoveryDetail: 'writable',
recoveryDetailCostsHTML: 'writable',
recoveryDetailHTML: 'writable',
@@ -679,17 +687,14 @@ module.exports = {
recoveryFormDraft: 'writable',
recoveryFormHTML: 'writable',
recoveryGetFilters: 'writable',
recoveryInput: 'writable',
recoveryInput: 'readonly',
recoveryItemEvent: 'writable',
recoveryItemFields: 'readonly',
recoveryItemHTML: 'writable',
recoveryItemsCalculate: 'writable',
recoveryItemsFormDraft: 'writable',
recoveryItemsFormHTML: 'writable',
recoveryItemsInput: 'writable',
recoveryItemsPoolOptions: 'writable',
recoveryItemsSummaryHTML: 'writable',
recoveryLimit: 'writable',
recoveryLinkedOrderActionsHTML: 'writable',
recoveryLinkedOrderNoticeHTML: 'writable',
recoveryListHTML: 'writable',
@@ -697,38 +702,36 @@ module.exports = {
recoveryMemberField: 'writable',
recoveryModeNames: 'readonly',
recoveryMoney: 'readonly',
recoveryMul: 'writable',
recoveryNewWeight: 'writable',
recoveryMul: 'readonly',
recoveryNewWeight: 'readonly',
recoveryNumberField: 'writable',
recoveryPageRules: 'readonly',
recoveryPoolOptions: 'writable',
recoveryPrefix: 'readonly',
recoveryProductDraft: 'writable',
recoveryProductFields: 'readonly',
recoveryProductFieldsHTML: 'writable',
recoveryProductInput: 'writable',
recoveryProductLaborHTML: 'writable',
recoveryQuoteRequest: 'writable',
recoveryQuoteTimer: 'writable',
recoverySetLabel: 'writable',
recoverySettlementHTML: 'writable',
recoverySharedOldDraft: 'writable',
recoverySharedOldDraft: 'readonly',
recoveryStoredDraft: 'writable',
recoverySurplusFieldsHTML: 'writable',
recoverySurplusSync: 'writable',
recoverySyncFieldModes: 'writable',
recoverySyncInternal: 'writable',
recoveryText: 'readonly',
recoveryUnits: 'writable',
recoveryUnits: 'readonly',
recoveryUseDailyRate: 'writable',
recoveryUser: 'readonly',
recoveryValidationOriginal: 'writable',
rememberRecoveryDraft: 'writable',
renderCustomerMaterials: 'writable',
renderRecoveries: 'writable',
submitRecovery: 'writable',
syncRecoveryForm: 'writable',
syncRecoveryItems: 'writable',
validateRecoveryInput: 'writable',
validateRecoveryInput: 'readonly',
},
'public/recovery-changes-ui.js': {
applyRecoveryChangeRestrictions: 'writable',
@@ -765,7 +768,6 @@ module.exports = {
recoveryEditRequest: 'writable',
recoveryEditRowsHTML: 'writable',
recoveryEditingFormHTML: 'writable',
recoveryInputShape: 'writable',
recoveryMaterialBatchHTML: 'writable',
recoveryReviewEntry: 'writable',
recoveryReviewRequest: 'writable',
@@ -954,6 +956,7 @@ module.exports = {
currentMember: 'writable',
currentOrder: 'writable',
currentReport: 'writable',
currentReportRules: 'writable',
currentSalesperson: 'writable',
dateField: 'readonly',
defaultPaymentRecipient: 'writable',
@@ -1008,7 +1011,6 @@ module.exports = {
isCreditCardAccount: 'writable',
label: 'readonly',
legacyCountConfirmationHTML: 'writable',
legacyTeamMembers: 'readonly',
lineHTML: 'writable',
loadAfterSaleChangeCount: 'writable',
loadAfterSaleChanges: 'writable',
@@ -1145,17 +1147,16 @@ module.exports = {
renderSettings: 'writable',
renderStock: 'writable',
reportActiveAccounts: 'writable',
reportAfterSaleAmount: 'writable',
reportAfterSaleAmount: 'readonly',
reportAfterSaleHint: 'writable',
reportAfterSaleRecoveryCosts: 'writable',
reportBusinessAmount: 'writable',
reportCostAmount: 'writable',
reportCostDetails: 'writable',
reportCostFormula: 'writable',
reportCostIdentity: 'writable',
reportCostItemAmount: 'writable',
reportCostItems: 'writable',
reportCurrentAccountDays: 'writable',
reportCostItems: 'readonly',
reportCurrentAccountDays: 'readonly',
reportCurrentAccountDirection: 'writable',
reportCurrentAccountFormula: 'writable',
reportCurrentAccountText: 'writable',
@@ -1204,7 +1205,7 @@ module.exports = {
reportRecipientReceiptsText: 'writable',
reportRequest: 'writable',
reportRowAmount: 'writable',
reportRowCost: 'writable',
reportRowCost: 'readonly',
reportSummaryAmount: 'writable',
reportUnsettledHTML: 'writable',
requestBackoffs: 'readonly',
@@ -1270,7 +1271,6 @@ module.exports = {
tab: 'writable',
teamDataKeys: 'writable',
teamDefaultPayer: 'writable',
teamMemberCatalog: 'writable',
teamMemberEnabled: 'writable',
teamMemberKeys: 'writable',
teamMemberName: 'writable',
@@ -1290,17 +1290,12 @@ module.exports = {
validPeopleCountDaily: 'writable',
validateAfterSaleDetail: 'writable',
validateAfterSaleRequest: 'writable',
validateCurrentAccount: 'writable',
validateDailyProfits: 'writable',
validateIssueDraft: 'writable',
validateNewPocketSelections: 'writable',
validateOrderBook: 'writable',
validateOrderIdentity: 'writable',
validateOwnerAdvances: 'writable',
validateOwnershipBusiness: 'writable',
validateOwnershipReceipts: 'writable',
validatePeopleCountHistory: 'writable',
validatePoolMaterialCosts: 'writable',
validateRelatedPriceLocks: 'writable',
validateReport: 'writable',
yuan: 'readonly',