bug
This commit is contained in:
@@ -15,7 +15,8 @@
|
|||||||
<ai-select
|
<ai-select
|
||||||
v-model="form.type"
|
v-model="form.type"
|
||||||
placeholder="请选择商品类型"
|
placeholder="请选择商品类型"
|
||||||
:selectList="dict.getDict('integralSGType')">
|
:selectList="dict.getDict('integralSGType')"
|
||||||
|
@change="onChange">
|
||||||
</ai-select>
|
</ai-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item style="width: 100%" label="商品类型说明" prop="typeExplain">
|
<el-form-item style="width: 100%" label="商品类型说明" prop="typeExplain">
|
||||||
@@ -78,7 +79,8 @@
|
|||||||
typeExplain: '',
|
typeExplain: '',
|
||||||
title: '',
|
title: '',
|
||||||
description: '',
|
description: '',
|
||||||
jdUrl: 'pages/gold/item/pages/detail/index?sku=60626768856&sourceType=wx-zhongwei&ea_ptag=17078.27.755',
|
type: '',
|
||||||
|
jdUrl: '',
|
||||||
jdAppid: 'wx91d27dbf599dff74',
|
jdAppid: 'wx91d27dbf599dff74',
|
||||||
retailPrice: undefined,
|
retailPrice: undefined,
|
||||||
picUrl: []
|
picUrl: []
|
||||||
@@ -111,6 +113,14 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
onChange () {
|
||||||
|
if (this.form.type === '2') {
|
||||||
|
this.form.jdUrl = 'pages/gold/item/pages/detail/index?sku=60626768856&sourceType=wx-zhongwei&ea_ptag=17078.27.755'
|
||||||
|
} else {
|
||||||
|
this.form.jdUrl = ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
confirm () {
|
confirm () {
|
||||||
this.$refs.form.validate((valid) => {
|
this.$refs.form.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|||||||
@@ -15,7 +15,8 @@
|
|||||||
<ai-select
|
<ai-select
|
||||||
v-model="form.type"
|
v-model="form.type"
|
||||||
placeholder="请选择商品类型"
|
placeholder="请选择商品类型"
|
||||||
:selectList="dict.getDict('integralSGType')">
|
:selectList="dict.getDict('integralSGType')"
|
||||||
|
@change="onChange">
|
||||||
</ai-select>
|
</ai-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item style="width: 100%" label="商品类型说明" prop="typeExplain">
|
<el-form-item style="width: 100%" label="商品类型说明" prop="typeExplain">
|
||||||
@@ -78,7 +79,8 @@
|
|||||||
typeExplain: '',
|
typeExplain: '',
|
||||||
title: '',
|
title: '',
|
||||||
description: '',
|
description: '',
|
||||||
jdUrl: 'pages/gold/item/pages/detail/index?sku=60626768856&sourceType=wx-zhongwei&ea_ptag=17078.27.755',
|
type: '',
|
||||||
|
jdUrl: '',
|
||||||
jdAppid: 'wx91d27dbf599dff74',
|
jdAppid: 'wx91d27dbf599dff74',
|
||||||
retailPrice: undefined,
|
retailPrice: undefined,
|
||||||
picUrl: []
|
picUrl: []
|
||||||
@@ -111,6 +113,14 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
onChange () {
|
||||||
|
if (this.form.type === '2') {
|
||||||
|
this.form.jdUrl = 'pages/gold/item/pages/detail/index?sku=60626768856&sourceType=wx-zhongwei&ea_ptag=17078.27.755'
|
||||||
|
} else {
|
||||||
|
this.form.jdUrl = ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
confirm () {
|
confirm () {
|
||||||
this.$refs.form.validate((valid) => {
|
this.$refs.form.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user