| | |
| | | type="primary" |
| | | text |
| | | @click="() =>{ |
| | | currentRowId = row.id; |
| | | currentRow = row; |
| | | showEdit = true; |
| | | }" |
| | | >{{ row.productName }} |
| | | </el-button> |
| | | </template> |
| | | </PIMTable> |
| | | <StructureEdit v-if="showEdit" v-model:show-model="showEdit" :product-model-id="currentRowId"/> |
| | | <StructureEdit v-if="showEdit" v-model:show-model="showEdit" :record="currentRow"/> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | const tableLoading = ref(false); |
| | | const showEdit = ref(false); |
| | | const selectedRows = ref([]); |
| | | const currentRowId = ref(0); |
| | | const currentRow = ref({}); |
| | | const page = reactive({ |
| | | current: 1, |
| | | size: 10, |