fix: 基础信息参考价格可修改——脏检查白名单补全 referencePrice
This commit is contained in:
@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user