dlt-for-react 2.0.6 → 2.0.7
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.
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ npm publish
|
|
|
8
8
|
|
|
9
9
|
## 前端 dlt-for-react 依赖包版本更新记录
|
|
10
10
|
|
|
11
|
-
##### 当前最新版本:2.0.
|
|
11
|
+
##### 当前最新版本:2.0.7
|
|
12
12
|
|
|
13
13
|
##### 安装依赖
|
|
14
14
|
|
|
@@ -16,6 +16,10 @@ npm publish
|
|
|
16
16
|
|
|
17
17
|
##### 版本修改记录
|
|
18
18
|
|
|
19
|
+
#### V2.0.7—2024 年 4 月 7 日
|
|
20
|
+
|
|
21
|
+
1. 修改 HqWzSelector 字段
|
|
22
|
+
|
|
19
23
|
#### V2.0.6—2024 年 4 月 7 日
|
|
20
24
|
|
|
21
25
|
1. 新增 HqWzSelector 规则型号字段
|
|
@@ -210,20 +210,20 @@ var HqWzSelector = exports.HqWzSelector = function (_React$Component) {
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
}, {
|
|
213
|
-
key: "
|
|
214
|
-
title: "
|
|
215
|
-
|
|
213
|
+
key: "jysl",
|
|
214
|
+
title: "库存数量",
|
|
215
|
+
width: "80",
|
|
216
216
|
sorted: false,
|
|
217
217
|
render: function render(text, record, index) {
|
|
218
|
-
var temp = record.
|
|
219
|
-
if (temp && temp.length >
|
|
218
|
+
var temp = record.JYSL || record.jysl;
|
|
219
|
+
if (temp && temp.length > 10) {
|
|
220
220
|
return _react2.default.createElement(
|
|
221
221
|
"font",
|
|
222
222
|
null,
|
|
223
223
|
_react2.default.createElement(
|
|
224
224
|
_tooltip2.default,
|
|
225
225
|
{ title: temp },
|
|
226
|
-
temp.substring(0,
|
|
226
|
+
temp.substring(0, 10),
|
|
227
227
|
"..."
|
|
228
228
|
)
|
|
229
229
|
);
|
|
@@ -236,20 +236,20 @@ var HqWzSelector = exports.HqWzSelector = function (_React$Component) {
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
}, {
|
|
239
|
-
key: "
|
|
240
|
-
title: "
|
|
241
|
-
|
|
239
|
+
key: "dj",
|
|
240
|
+
title: "单价",
|
|
241
|
+
minWidth: "80",
|
|
242
242
|
sorted: false,
|
|
243
243
|
render: function render(text, record, index) {
|
|
244
|
-
var temp = record.
|
|
245
|
-
if (temp && temp.length >
|
|
244
|
+
var temp = record.DJ || record.dj;
|
|
245
|
+
if (temp && temp.length > 10) {
|
|
246
246
|
return _react2.default.createElement(
|
|
247
247
|
"font",
|
|
248
248
|
null,
|
|
249
249
|
_react2.default.createElement(
|
|
250
250
|
_tooltip2.default,
|
|
251
251
|
{ title: temp },
|
|
252
|
-
temp.substring(0,
|
|
252
|
+
temp.substring(0, 10),
|
|
253
253
|
"..."
|
|
254
254
|
)
|
|
255
255
|
);
|