|
|
@ -6,22 +6,22 @@ |
|
|
|
<!-- 商品信息--> |
|
|
|
<!-- 商品信息--> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="选择商品:" prop="good"> |
|
|
|
<el-form-item label="选择商品:" prop="good"> |
|
|
|
<cgood v-model="form1.good":disabled="true" ></cgood> |
|
|
|
<cgood v-model="form1.good" ></cgood> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="拼团名称" prop="title"> |
|
|
|
<el-form-item label="拼团名称" prop="title"> |
|
|
|
<el-input v-model="formValidate.title" style="width: 500px;" placeholder="请输入拼团名称"/> |
|
|
|
<el-input v-model="formValidate.title" @input="onInput()" style="width: 500px;" placeholder="请输入拼团名称"/> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="拼团简介" prop="info"> |
|
|
|
<el-form-item label="拼团简介" prop="info"> |
|
|
|
<el-input v-model="formValidate.info" style="width: 500px;" placeholder="请输入拼团简介"/> |
|
|
|
<el-input v-model="formValidate.info" @input="onInput()" style="width: 500px;" placeholder="请输入拼团简介"/> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="单位" prop="unitName"> |
|
|
|
<el-form-item label="单位" prop="unitName"> |
|
|
|
<el-input v-model="formValidate.unitName" style="width: 500px;" placeholder="请输入单位"/> |
|
|
|
<el-input v-model="formValidate.unitName" @input="onInput()" style="width: 500px;" placeholder="请输入单位"/> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-col :span="24"> |
|
|
@ -382,7 +382,8 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
'form1.good': { |
|
|
|
'form1.good': { |
|
|
|
handler(val,oldVal){ |
|
|
|
handler(val,oldVal){ |
|
|
|
this.getInfoChooseGood (val.cform.id) |
|
|
|
console.log(val) |
|
|
|
|
|
|
|
this.getInfoChooseGood (val.productId) |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
@ -390,6 +391,9 @@ export default { |
|
|
|
this.getInfo(); |
|
|
|
this.getInfo(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
onInput(){ |
|
|
|
|
|
|
|
this.$forceUpdate(); |
|
|
|
|
|
|
|
}, |
|
|
|
confirm () { |
|
|
|
confirm () { |
|
|
|
let that = this; |
|
|
|
let that = this; |
|
|
|
that.createBnt = true; |
|
|
|
that.createBnt = true; |
|
|
|