diff --git a/src/hooks/web/useCommon.ts b/src/hooks/web/useCommon.ts deleted file mode 100644 index b34e48a..0000000 --- a/src/hooks/web/useCommon.ts +++ /dev/null @@ -1,10 +0,0 @@ - - -export function numToThousands(number) { - if (number === null || number === undefined || number === '') return '' - let arr = number.toString().split('.') - let num = arr[0] - let float = arr[1] - let str = num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") - return float ? (str + '.'+ float) : str; -} diff --git a/src/views/dayPlan/Demand/components/config.ts b/src/views/dayPlan/Demand/components/config.ts index f906236..688b4ac 100644 --- a/src/views/dayPlan/Demand/components/config.ts +++ b/src/views/dayPlan/Demand/components/config.ts @@ -61,7 +61,7 @@ export const columns: BasicColumn[] = [ title: '版本号', componentType: 'input', align: 'left', - width: 100, + width: 80, sorter: true, }, diff --git a/src/views/dayPlan/PngAppro/components/config.ts b/src/views/dayPlan/PngAppro/components/config.ts index 8b3fc1d..28c994f 100644 --- a/src/views/dayPlan/PngAppro/components/config.ts +++ b/src/views/dayPlan/PngAppro/components/config.ts @@ -225,7 +225,7 @@ export const columns: BasicColumn[] = [ }, { - dataIndex: 'poinDelyName', + dataIndex: 'pointDelyName', title: '下载点', componentType: 'input', align: 'left', diff --git a/src/views/dayPlan/PngMeasureSalesPur/components/config.ts b/src/views/dayPlan/PngMeasureSalesPur/components/config.ts index 41bd0da..fecdc51 100644 --- a/src/views/dayPlan/PngMeasureSalesPur/components/config.ts +++ b/src/views/dayPlan/PngMeasureSalesPur/components/config.ts @@ -171,7 +171,7 @@ export const columns: BasicColumn[] = [ sorter: true, }, { - dataIndex: 'ksNmae', + dataIndex: 'ksName', title: '销售合同', componentType: 'input', align: 'left',