|
@@ -376,7 +376,7 @@ export const dowmColumns: BasicColumn[] = [
|
|
|
dataIndex: 'customerTypeStr',
|
|
|
width: 100,
|
|
|
customRender: ({ record }) => {
|
|
|
- return record.customerTypeStr ? record.customerTypeStr : '直销';
|
|
|
+ return record.customerType == 1 ? '经销' : '直销';
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -516,7 +516,7 @@ export const localCameraColumns: BasicColumn[] = [
|
|
|
dataIndex: 'customerTypeStr',
|
|
|
width: 100,
|
|
|
customRender: ({ record }) => {
|
|
|
- return record.customerTypeStr ? record.customerTypeStr : '直销';
|
|
|
+ return record.customerType == 1 ? '经销' : '直销';
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -567,7 +567,7 @@ export const localCameraColumns: BasicColumn[] = [
|
|
|
},
|
|
|
{
|
|
|
title: '相机SN',
|
|
|
- dataIndex: 'snCode',
|
|
|
+ dataIndex: 'snCodes',
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
@@ -637,7 +637,7 @@ export const differenceColumns: BasicColumn[] = [
|
|
|
dataIndex: 'customerTypeStr',
|
|
|
width: 100,
|
|
|
customRender: ({ record }) => {
|
|
|
- return record.customerTypeStr ? record.customerTypeStr : '直销';
|
|
|
+ return record.customerType == 1 ? '经销' : '直销';
|
|
|
},
|
|
|
},
|
|
|
{
|