| | |
| | | thatEditRow:this.editRow, |
| | | isTableShow: true, |
| | | form: {}, |
| | | // BomTableData:[], |
| | | BomTableData: this.editRow.BomTableData, |
| | | BomTableData:[], |
| | | // BomTableData: this.editRow.BomTableData, |
| | | // BomTableData: JSON.parse(this.editRow.BomTableData), |
| | | // BomTableData: [{ id: 303, createdAt: "2024-02-05 18:02:47", updatedAt: "2024-02-05 18:02:47",name: "kg", isDefault: false }], |
| | | work: 1, |
| | |
| | | watch: { |
| | | }, |
| | | created() { |
| | | console.log(this.thatEditRow,"thatEditRow") |
| | | }, |
| | | mounted() { }, |
| | | mounted() { |
| | | }, |
| | | methods: { |
| | | handleAdd() { |
| | | this.BomTableData=this.thatEditRow.BomTableData |
| | |
| | | console.log(this.codenumberList.replace(/,/g, "")); |
| | | }, |
| | | switchChange(scope, val) { |
| | | this.BomTableData=this.thatEditRow.BomTableData |
| | | let arr = []; |
| | | for (let i in this.BomTableData) { |
| | | if (this.BomTableData[i].isDefault) { |