@tongfun/tf-widget 0.2.18-beta.5 → 0.2.18-beta.6
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 +11 -0
- package/lib/tf-widget.css +2 -2
- package/lib/tf-widget.umd.js +55 -49
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -220,3 +220,14 @@ export default {
|
|
|
220
220
|
| ---- | ---- |
|
|
221
221
|
| change | function({ row, value }) 值发生改变 |
|
|
222
222
|
| selected | function({ row, value }) 基础资料选中事件 |
|
|
223
|
+
|
|
224
|
+
## 4 关于标准化之后的基础资料表单
|
|
225
|
+
|
|
226
|
+
### 4.1 说明
|
|
227
|
+
标准化,是按照金蝶的控件功能来实现基础资料的弹窗列表中,可以直接打开表单新增和修改的数据的功能原型 <br>
|
|
228
|
+
因为缺少通用表单的功能,所以现在将全部的用作基础资料的表单迁移到本包中<br>
|
|
229
|
+
在基础资料的通用控件中,通过动态的异步组件,以code为依据,加载对应的表单组件,达到效果<br>
|
|
230
|
+
如果要添加新的基础资料,按照遗下步骤进行操作
|
|
231
|
+
- 1 在basic-datas目录添加子目录,添加表单组件
|
|
232
|
+
- 2 在@enums中registerSheet文件中,添加code到目录名的映射关系
|
|
233
|
+
- 3 在@components/basic-form-edit中componets选项中异步的引入相关的基础资料表单组件
|