diff --git a/litemall-admin/src/views/goods/list.vue b/litemall-admin/src/views/goods/list.vue index ec3a59e6..915a5c3a 100644 --- a/litemall-admin/src/views/goods/list.vue +++ b/litemall-admin/src/views/goods/list.vue @@ -36,15 +36,9 @@ {{ props.row.brandId }} - -
-
- - - @@ -58,6 +52,15 @@ + + + + @@ -142,23 +145,8 @@ export default { sort: 'add_time', order: 'desc' }, - dataForm: { - id: undefined, - goodsSn: undefined, - name: undefined, - counterPrice: undefined, - retailPrice: undefined, - isHot: false, - isNew: true, - isOnSale: true, - picUrl: undefined, - brief: undefined, - desc: undefined, - keywords: undefined, - gallery: [], - categoryId: undefined, - brandId: undefined - }, + descDetail: '', + descDialogVisible: false, downloadLoading: false } }, @@ -196,6 +184,10 @@ export default { handleUpdate(row) { this.$router.push({ path: '/goods/edit', query: { id: row.id }}) }, + showDesc(desc) { + this.descDetail = desc + this.descDialogVisible = true + }, handleDelete(row) { deleteGoods(row).then(response => { this.$notify({