.
This commit is contained in:
@@ -325,7 +325,6 @@
|
|||||||
methods: {
|
methods: {
|
||||||
handleCheckedCitiesChange(value) {
|
handleCheckedCitiesChange(value) {
|
||||||
console.log(value, 'value')
|
console.log(value, 'value')
|
||||||
this.dataForm.tagList = value
|
|
||||||
},
|
},
|
||||||
// 获取商品标签
|
// 获取商品标签
|
||||||
getTags() {
|
getTags() {
|
||||||
@@ -352,6 +351,7 @@
|
|||||||
init(id) {
|
init(id) {
|
||||||
this.dataForm.productId = id || 0
|
this.dataForm.productId = id || 0
|
||||||
this.visible = true
|
this.visible = true
|
||||||
|
this.getTags()
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs['dataForm'].resetFields()
|
this.$refs['dataForm'].resetFields()
|
||||||
if (this.dataForm.productId) {
|
if (this.dataForm.productId) {
|
||||||
@@ -486,7 +486,7 @@
|
|||||||
'author': this.dataForm.author,
|
'author': this.dataForm.author,
|
||||||
'publisher': this.dataForm.publisher,
|
'publisher': this.dataForm.publisher,
|
||||||
'pubDate': this.dataForm.pubDate,
|
'pubDate': this.dataForm.pubDate,
|
||||||
'shoproudLabels': this.dataForm.tagList,
|
'shoproudLabels': this.dataForm.tags,
|
||||||
// 'format': this.dataForm.format, // 开本
|
// 'format': this.dataForm.format, // 开本
|
||||||
'isFreeMail': this.dataForm.isFreeMail,
|
'isFreeMail': this.dataForm.isFreeMail,
|
||||||
// 'pageNum': this.dataForm.pageNum,
|
// 'pageNum': this.dataForm.pageNum,
|
||||||
|
|||||||
Reference in New Issue
Block a user