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