Browse Source

获取单据表格数据

ymy 2 years ago
parent
commit
fe0425ddc7
1 changed files with 11 additions and 0 deletions
  1. 11 0
      src/benyun/components/byBill/byBill.vue

+ 11 - 0
src/benyun/components/byBill/byBill.vue

@@ -310,6 +310,17 @@ export default class ByBill extends VueViews {
     return d;
   }
 
+  //获取单据表格数据
+  getBillTableData(n:any){
+    let d:Array<any>=[];
+    const code = 'billTable_'+n;
+    if(this.$refs[code]){
+      d = (this.$refs[code] as any)[0].getValue();
+    }
+    return d;
+  }
+
+
   //设置单据表单数据
   setBillFormValue(value:any){
     if(this.$refs['billForm']){