ztxkui 4.2.23-320 → 4.2.23-321

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,8 @@ import { Table } from '../index.build';
10
10
  // store
11
11
  // 自定义组件
12
12
  // 其他文件
13
- // import { dataSource } from './data';
13
+ import { data111 } from './data';
14
+ import { toThousand, exactRound } from 'ztxkutils/dist/tools';
14
15
  var BasicTable = function (_a) {
15
16
  // const columns: ColumnsType<any> = [
16
17
  // {
@@ -163,10 +164,11 @@ var BasicTable = function (_a) {
163
164
  key: 'associatedProcessInstId',
164
165
  },
165
166
  {
166
- title: '流程名称',
167
- dataIndex: 'associatedProcessInstName',
168
- key: 'associatedProcessInstName',
169
- width: 560,
167
+ title: '待退货款N',
168
+ width: 140,
169
+ dataIndex: 'pendingRefundAmountTotal',
170
+ key: 'pendingRefundAmountTotal',
171
+ render: function (text) { return toThousand(exactRound(text, 2)); },
170
172
  },
171
173
  // {
172
174
  // title: '流程模板',
@@ -198,6 +200,6 @@ var BasicTable = function (_a) {
198
200
  React.createElement("br", null),
199
201
  React.createElement("b", null, "\u5217\u4F38\u7F29\uFF1B"),
200
202
  "isResizableColumn\u5C5E\u6027\u9ED8\u8BA4\u4E3Atrue\uFF0C\u5982\u679C\u4E0D\u9700\u8981\u5217\u4F38\u7F29\u53EF\u4EE5\u4F20\u5165false"),
201
- React.createElement(Table, { dataSource: [], columns: columns1, rowKey: "id" })));
203
+ React.createElement(Table, { dataSource: data111, columns: columns1, rowKey: "id", scroll: { y: 500 } })));
202
204
  };
203
205
  export default BasicTable;
@@ -54,6 +54,10 @@ export declare const dataSource3: {
54
54
  test9: string;
55
55
  test10: string;
56
56
  }[];
57
+ export declare const data111: {
58
+ id: string;
59
+ pendingRefundAmountTotal: string;
60
+ }[];
57
61
  export declare const list1: {
58
62
  name: string;
59
63
  id: string;