布产 bug

This commit is contained in:
xielue 2023-09-17 22:04:16 +08:00
parent b4c8420cb4
commit 1380815fb3
1 changed files with 2 additions and 0 deletions

View File

@ -490,6 +490,7 @@ export default {
pageAdd(row) { pageAdd(row) {
const $table = this.$refs.xTable const $table = this.$refs.xTable
const record = { const record = {
} }
if (row) { if (row) {
this.detailsData = JSON.parse(JSON.stringify(this.detailsData)) this.detailsData = JSON.parse(JSON.stringify(this.detailsData))
@ -516,6 +517,7 @@ export default {
pageAdd2(row) { pageAdd2(row) {
const $table = this.$refs.xTable2 const $table = this.$refs.xTable2
const record = { const record = {
component_id:this.detailsData[0].component_id
} }
if (row) { if (row) {
this.detailsData2 = JSON.parse(JSON.stringify(this.detailsData2)) this.detailsData2 = JSON.parse(JSON.stringify(this.detailsData2))