@tongfun/tf-widget 0.1.53 → 0.1.56

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
@@ -316,6 +316,12 @@ export default {
316
316
  - **disable-sum:boolean** 关闭底部合计行
317
317
  - **rules:Array** 单据体校验规则,格式和el-form的校验规则保持一致
318
318
 
319
+ #### data
320
+ data中有的数据可以直接获取,没有提供方法<br>
321
+ 例如:this.$refs.xxx.deleteIds<br>
322
+ - **deleteIds** 单据体中被删除的数据的id,这个id是存入数据库的id,点击新增行生成的数据没有id,删除的时候也不会添加到deleteIds
323
+
324
+
319
325
  #### methods
320
326
  - **getFormateData(filter)** : 输出格式化之后的数据 <br>
321
327
  参数是可选的函数类型,参数是row,其实就是Array.filter中的参数形式,函数的返回值为true的结果,将会被输出到结果中<br>