发放类型
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
<a-col :span="12">
|
||||
<a-form-item field="coupon_client" label="使用平台:">
|
||||
<a-select
|
||||
disabled
|
||||
placeholder="请选择使用平台"
|
||||
v-model="modalForm.coupon_client"
|
||||
>
|
||||
@@ -43,6 +44,7 @@
|
||||
<a-col :span="12">
|
||||
<a-form-item field="application_scope" label="使用范围:">
|
||||
<a-select
|
||||
disabled
|
||||
@change="changeScope"
|
||||
placeholder="请选择使用范围"
|
||||
v-model="modalForm.application_scope"
|
||||
@@ -66,6 +68,7 @@
|
||||
<a-col :span="12">
|
||||
<a-form-item field="coupon_type" label="发放类型:">
|
||||
<a-select
|
||||
disabled
|
||||
placeholder="请选择发放类型"
|
||||
v-model="modalForm.coupon_type"
|
||||
@change="changeType"
|
||||
@@ -104,6 +107,7 @@
|
||||
<a-col :span="12">
|
||||
<a-form-item field="valid_type" label="有效类型:">
|
||||
<a-select
|
||||
disabled
|
||||
placeholder="请选择发放类型"
|
||||
v-model="modalForm.valid_type"
|
||||
@change="changeValidType"
|
||||
@@ -857,6 +861,8 @@ const rules = {
|
||||
coupon_type: [{ required: true, message: '请选择发放类型' }],
|
||||
distribution_object: [{ required: true, message: '请选择发放对象' }],
|
||||
valid_type: [{ required: true, message: '请选择有效类型' }],
|
||||
coupon_count:[{ required: true, message: '请输入发放数量' }],
|
||||
coupon_price:[{ required: true, message: '请输入优惠卷金额' }]
|
||||
};
|
||||
defineExpose({
|
||||
changeStatus,
|
||||
|
||||
@@ -55,6 +55,18 @@
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12" >
|
||||
<a-form-item field="amount_total" label="优惠卷:">
|
||||
<span>{{modalForm.order_product_coupon?modalForm.order_product_coupon.coupon_use_price:0}}元</span>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item field="logistics_fee" label="优惠金额:">
|
||||
<span>{{ modalForm.discount_amount>0?'-'+modalForm.discount_amount:0 }}元</span>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<a-form-item field="payment_amount_total" label="实付金额:">
|
||||
|
||||
Reference in New Issue
Block a user