dev2 #1
@ -44,7 +44,7 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-form-item :label="__('砍价商品')" prop="product_item_name">
|
||||
<el-form-item :label="__('砍价商品')" prop="product_item_name">
|
||||
<el-input
|
||||
v-model="form.product_item_name"
|
||||
clearable
|
||||
@ -53,6 +53,23 @@
|
||||
@focus="showItemTable"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<div class="grid-content bg-purple">
|
||||
<el-form-item :label="__('砍价有效期')" prop="cut_hour">
|
||||
<el-input v-model="form.cut_hour" placeholder="请输入有效期(小时)" clearable />
|
||||
</el-form-item>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<div class="grid-content bg-purple"></div>
|
||||
<el-form-item :label="__('活动商品总数')" prop="product_count">
|
||||
<el-input v-model="form.product_count" placeholder="请输入参与活动商品总数" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
|
||||
<el-form-item :label="__('砍价底价')" prop="cut_down_min_limit_price">
|
||||
<el-input
|
||||
v-model="form.cut_down_min_limit_price"
|
||||
@ -123,6 +140,8 @@
|
||||
activity_type_id: 1124,
|
||||
activity_starttime: '',
|
||||
activity_endtime: '',
|
||||
cut_hour:'',
|
||||
product_count:''
|
||||
},
|
||||
title: '',
|
||||
dialogFormVisible: false,
|
||||
@ -171,6 +190,12 @@
|
||||
message: this.__('活动结束时间'),
|
||||
},
|
||||
],
|
||||
cut_hour: [
|
||||
{ required: true, trigger: 'blur', message: this.__(' 砍价有效期') },
|
||||
],
|
||||
product_count: [
|
||||
{ required: true, trigger: 'blur', message: this.__('参与活动商品总数') },
|
||||
],
|
||||
},
|
||||
}
|
||||
},
|
||||
@ -212,6 +237,8 @@
|
||||
row.activity_rule.cut_down_min_limit_price,
|
||||
cut_down_type: row.activity_rule.cut_down_type,
|
||||
cut_down_user_num: row.activity_rule.cut_down_user_num,
|
||||
cut_hour:row.activity_rule.cut_hour,
|
||||
product_count:row.activity_rule.product_count
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user