Commit ec236de7 authored by zhengke's avatar zhengke

修改

parent 75e0182e
...@@ -23,20 +23,22 @@ ...@@ -23,20 +23,22 @@
<div class="text-caption q-mb-lg q-px-md text-grey-6">优惠设置</div> <div class="text-caption q-mb-lg q-px-md text-grey-6">优惠设置</div>
<table class="col-12"> <table class="col-12">
<thead> <thead>
<tr> <tr style="height:60px;">
<td colspan="5"><a style="cursor:pointer;color:blue;" @click="addPrice()">新增优惠</a></td> <td colspan="5" style="text-align:right;">
<q-btn color="accent" size="sm" icon="add" label="新增优惠" @click="addPrice()" />
</td>
</tr> </tr>
<tr> <tr>
<td style="width:200px"> <td style="width:280px">
优惠类型 优惠类型
</td> </td>
<td style="width:400px"> <td style="width:180px">
优惠条件 优惠条件
</td> </td>
<td style="width:100px"> <td style="width:120px">
同行返佣 同行返佣
</td> </td>
<td style="width:100px"> <td style="width:120px">
销售返佣 销售返佣
</td> </td>
<td style="width:100px"> <td style="width:100px">
...@@ -56,11 +58,11 @@ ...@@ -56,11 +58,11 @@
<template v-if="item.PriceDiscountType==1"> <template v-if="item.PriceDiscountType==1">
<q-input filled stack-label maxlength="8" :dense="false" v-model="item.BuyNum" ref="BuyNum" <q-input filled stack-label maxlength="8" :dense="false" v-model="item.BuyNum" ref="BuyNum"
class="col-6 q-pr-lg q-pb-lg" label="买" @keyup.native="checkPrice(item,'BuyNum')" class="col-6 q-pr-lg q-pb-lg" label="买" @keyup.native="checkPrice(item,'BuyNum')"
:rules="[val => !!val || '买']" style="width:100px" /> :rules="[val => !!val || '买']" style="width:80px;display:inline-block;" />
<q-input filled stack-label maxlength="8" :dense="false" v-model="item.SendNum" ref="SendNum" <q-input filled stack-label maxlength="8" :dense="false" v-model="item.SendNum" ref="SendNum"
class="col-6 q-pr-lg q-pb-lg" label="送" @keyup.native="checkPrice(item,'SendNum')" class="col-6 q-pr-lg q-pb-lg" label="送" @keyup.native="checkPrice(item,'SendNum')"
:rules="[val => !!val || '送']" style="width:100px" /> :rules="[val => !!val || '送']" style="width:80px;display:inline-block;" />
</template> </template>
<!--刷卡分期--> <!--刷卡分期-->
<template v-else-if="item.PriceDiscountType==5"> <template v-else-if="item.PriceDiscountType==5">
...@@ -85,7 +87,8 @@ ...@@ -85,7 +87,8 @@
style="width:100px" /> style="width:100px" />
</td> </td>
<td> <td>
<a style="cursor:pointer;color:blue;" @click="delPrice(index)">删除</a> <q-btn flat size="xs" icon="iconfont icon-shanchu" title="删除" color="negative" style="font-weight:400"
class="q-mr-xs" label="" @click="delPrice(index)" />
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment