fix: 基础信息参考价格可修改——脏检查白名单补全 referencePrice

This commit is contained in:
yueli
2026-09-02 18:39:17 +08:00
parent 129cb1119f
commit 87919146de

View File

@ -1473,7 +1473,7 @@ const isArraysEqual = (a: any[], b: any[]): boolean => {
const buildPartialPayload = (current: any, original: any): any => { const buildPartialPayload = (current: any, original: any): any => {
const payload: any = { id: current.id }; const payload: any = { id: current.id };
const compareFields = ['name', 'commonName', 'category', 'type', 'spec', 'unit', 'visibilityLevel', 'isEnabled', 'isInspectionRequired', 'generalImage', 'generalManual', 'companyName', 'productImageRemark', 'manualLinkRemark']; const compareFields = ['name', 'commonName', 'category', 'type', 'spec', 'unit', 'referencePrice', 'visibilityLevel', 'isEnabled', 'isInspectionRequired', 'generalImage', 'generalManual', 'companyName', 'productImageRemark', 'manualLinkRemark'];
for (const key of compareFields) { for (const key of compareFields) {
const currentVal = current[key]; const currentVal = current[key];