|
@@ -434,16 +434,17 @@ export default {
|
|
|
...m,
|
|
...m,
|
|
|
}
|
|
}
|
|
|
}))
|
|
}))
|
|
|
|
|
+ this.$refs.table.setData([...this.tableData, ...list]);
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ // if (salesOrderIds.length > 0) {
|
|
|
|
|
+ // listBomBySalesOrderIds({ salesOrderIds: salesOrderIds }).then((res) => {
|
|
|
|
|
+ // this.$refs.table.setData([...this.tableData, ...res]);
|
|
|
|
|
|
|
|
- if (salesOrderIds.length > 0) {
|
|
|
|
|
- listBomBySalesOrderIds({ salesOrderIds: salesOrderIds }).then((res) => {
|
|
|
|
|
- this.$refs.table.setData([...this.tableData, ...res]);
|
|
|
|
|
-
|
|
|
|
|
- this.$refs.table.toggleRowExpansionAll()
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // this.$refs.table.toggleRowExpansionAll()
|
|
|
|
|
+ // })
|
|
|
|
|
+ // }
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
remove(row, index) {
|
|
remove(row, index) {
|