style: valuation item adapt to single line
This commit is contained in:
parent
37fa7feac0
commit
804e253203
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hera/plugin-core",
|
"name": "@hera/plugin-core",
|
||||||
"version": "1.3.0-alpha.8",
|
"version": "1.4.0-alpha.0",
|
||||||
"displayName": "Hera platform",
|
"displayName": "Hera platform",
|
||||||
"displayName.zh-CN": "赫拉平台",
|
"displayName.zh-CN": "赫拉平台",
|
||||||
"description": "Hera platform as nocobase plugin.",
|
"description": "Hera platform as nocobase plugin.",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hera/plugin-rental",
|
"name": "@hera/plugin-rental",
|
||||||
"version": "1.3.0-alpha.9",
|
"version": "1.4.0-alpha.0",
|
||||||
"main": "dist/server/index.js",
|
"main": "dist/server/index.js",
|
||||||
"displayName": "professional construction materials rental system - customized based on hera",
|
"displayName": "professional construction materials rental system - customized based on hera",
|
||||||
"displayName.zh-CN": "专业建材租赁系统 - 基于赫拉定制",
|
"displayName.zh-CN": "专业建材租赁系统 - 基于赫拉定制",
|
||||||
|
@ -9,7 +9,6 @@ import { onFieldInit, onFieldValueChange } from '@formily/core';
|
|||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import { useRequest } from '@nocobase/client';
|
import { useRequest } from '@nocobase/client';
|
||||||
import { ConversionLogics, RecordCategory } from '../../utils/constants';
|
import { ConversionLogics, RecordCategory } from '../../utils/constants';
|
||||||
import { Descriptions } from 'antd';
|
|
||||||
import { formatQuantity } from '../../utils/currencyUtils';
|
import { formatQuantity } from '../../utils/currencyUtils';
|
||||||
|
|
||||||
// 按合同计算换算
|
// 按合同计算换算
|
||||||
@ -270,14 +269,15 @@ export const RecordItemValuationQuantity = (props) => {
|
|||||||
reqProduct.loading,
|
reqProduct.loading,
|
||||||
reqWeightRules.loading,
|
reqWeightRules.loading,
|
||||||
]);
|
]);
|
||||||
return result.map((item, index) => (
|
return (
|
||||||
<div key={index}>
|
<>
|
||||||
<span>
|
{result.map((item, index) => (
|
||||||
{item.label}:{item.value}
|
<span key={index} style={{ marginRight: '1rem' }}>
|
||||||
</span>
|
{item.label}:{item.value}
|
||||||
<span> </span>
|
</span>
|
||||||
</div>
|
))}
|
||||||
));
|
</>
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
RecordItemValuationQuantity.displayName = 'RecordItemValuationQuantity';
|
RecordItemValuationQuantity.displayName = 'RecordItemValuationQuantity';
|
||||||
|
Loading…
Reference in New Issue
Block a user