diff --git a/src/views/content/richText/Index.vue b/src/views/content/richText/Index.vue index ffe302e..cab3554 100644 --- a/src/views/content/richText/Index.vue +++ b/src/views/content/richText/Index.vue @@ -54,6 +54,10 @@ export default { title: 'ID', dataIndex: 'id' }, + { + title: '协议名称', + dataIndex: 'name' + }, { title: '协议类型', dataIndex: 'type' diff --git a/src/views/content/richText/modules/AddForm.vue b/src/views/content/richText/modules/AddForm.vue index 4928b72..2cc447a 100644 --- a/src/views/content/richText/modules/AddForm.vue +++ b/src/views/content/richText/modules/AddForm.vue @@ -10,6 +10,9 @@ > + + + diff --git a/src/views/content/richText/modules/EditForm.vue b/src/views/content/richText/modules/EditForm.vue index 9f81b05..6254cda 100644 --- a/src/views/content/richText/modules/EditForm.vue +++ b/src/views/content/richText/modules/EditForm.vue @@ -10,6 +10,9 @@ > + + + @@ -66,7 +69,7 @@ export default { setFieldsValue () { const { record, form: { setFieldsValue } } = this this.$nextTick(() => { - setFieldsValue(pick(record, ['type', 'content'])) + setFieldsValue(pick(record, ['name', 'type', 'content'])) }) }, diff --git a/src/views/goods/category/modules/AddForm.vue b/src/views/goods/category/modules/AddForm.vue index 977f3f1..01164df 100644 --- a/src/views/goods/category/modules/AddForm.vue +++ b/src/views/goods/category/modules/AddForm.vue @@ -48,6 +48,14 @@ + + + + + + diff --git a/src/views/goods/category/modules/EditForm.vue b/src/views/goods/category/modules/EditForm.vue index 3b47928..94777fa 100644 --- a/src/views/goods/category/modules/EditForm.vue +++ b/src/views/goods/category/modules/EditForm.vue @@ -51,6 +51,14 @@ + + + + + + @@ -127,7 +135,7 @@ export default { const { record, form: { setFieldsValue } } = this // 设置表单内容 this.$nextTick(() => { - setFieldsValue(_.pick(record, ['name', 'parent_id', 'image_id', 'status', 'sort','is_paihang','is_hot', 'is_in_store'])) + setFieldsValue(_.pick(record, ['name', 'parent_id', 'image_id', 'status', 'sort', 'is_paihang', 'is_hot', 'is_in_store', 'is_brand'])) }) }, diff --git a/src/views/market/presale/Index.vue b/src/views/market/presale/Index.vue index b6e9b96..8815bd5 100644 --- a/src/views/market/presale/Index.vue +++ b/src/views/market/presale/Index.vue @@ -66,16 +66,21 @@ export default { dataIndex: 'status', scopedSlots: { customRender: 'status' } }, + { + title: '预售时间', + width: '180px', + dataIndex: 'p_time' + }, { title: '创建时间', width: '180px', dataIndex: 'ctime' }, - { + /* { title: '更新时间', width: '180px', dataIndex: 'p_time' - }, + }, */ { title: '操作', dataIndex: 'action', diff --git a/src/views/market/presale/modules/AddForm.vue b/src/views/market/presale/modules/AddForm.vue index 44139b6..67e3cfc 100644 --- a/src/views/market/presale/modules/AddForm.vue +++ b/src/views/market/presale/modules/AddForm.vue @@ -22,6 +22,13 @@ /> + + + diff --git a/src/views/market/presale/modules/EditForm.vue b/src/views/market/presale/modules/EditForm.vue index f6ec468..258cfda 100644 --- a/src/views/market/presale/modules/EditForm.vue +++ b/src/views/market/presale/modules/EditForm.vue @@ -23,6 +23,13 @@ /> + + + @@ -84,7 +91,7 @@ export default { setFieldsValue () { const { record, form: { setFieldsValue } } = this this.$nextTick(() => { - setFieldsValue(pick(record, ['name', 'goods_list', 'status'])) + setFieldsValue(pick(record, ['name', 'goods_list', 'p_time', 'status'])) }) },