增加:商品增加购物协议
This commit is contained in:
parent
bdc19fa37b
commit
0c7671588f
|
|
@ -9,6 +9,7 @@
|
|||
<el-tab-pane :name="'4'" label="营销设置" v-if="config.merchant_type != 2"/>
|
||||
<el-tab-pane :name="'5'" label="积分设置" v-if="config.merchant_type != 2"/>
|
||||
<el-tab-pane :name="'6'" label="其他设置" />
|
||||
<el-tab-pane :name="'7'" label="购买协议" />
|
||||
</el-tabs>
|
||||
</div>
|
||||
<el-form
|
||||
|
|
@ -1348,10 +1349,19 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- 商品详情-->
|
||||
<el-row v-if="currentTab == '7'">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="购买协议:">
|
||||
<vue-ueditor-wrap v-model="formValidate.buy_agreement" :config="myConfig" @beforeInit="addCustomDialog" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!--底部按钮-->
|
||||
<el-form-item style="margin-top:30px;">
|
||||
<el-button v-show="currentTab > 1" type="primary" class="submission" size="small" @click="handleSubmitUp">上一步</el-button>
|
||||
<el-button v-show="currentTab < 6" type="primary" class="submission" size="small" @click="handleSubmitNest('formValidate')">下一步</el-button>
|
||||
<el-button v-show="currentTab == '6' || $route.params.id" :loading="loading" type="primary" class="submission" size="small" @click="handleSubmit('formValidate')">提交</el-button>
|
||||
<el-button v-show="currentTab < 7" type="primary" class="submission" size="small" @click="handleSubmitNest('formValidate')">下一步</el-button>
|
||||
<el-button v-show="currentTab == '7' || $route.params.id" :loading="loading" type="primary" class="submission" size="small" @click="handleSubmit('formValidate')">提交</el-button>
|
||||
<!--<el-button :loading="loading" type="primary" class="submission" size="small" @click="handlePreview('formValidate')">预览</el-button>-->
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
|
@ -1459,6 +1469,7 @@ const defaultObj = {
|
|||
extension_type: 0,
|
||||
integral_rate: -1,
|
||||
content: '',
|
||||
buy_agreement: '',
|
||||
spec_type: 0,
|
||||
give_coupon_ids: [],
|
||||
is_gift_bag: 0,
|
||||
|
|
@ -2695,6 +2706,7 @@ export default {
|
|||
refund_switch: info.refund_switch,
|
||||
extension_type: info.extension_type,
|
||||
content: info.content,
|
||||
buy_agreement: info.buy_agreement || '',
|
||||
spec_type: Number(info.spec_type),
|
||||
give_coupon_ids: info.give_coupon_ids,
|
||||
is_gift_bag: info.is_gift_bag,
|
||||
|
|
|
|||
Loading…
Reference in New Issue