Commit f2afe434 authored by 王波's avatar 王波

恢复下拉选择

parent c898ab9f
......@@ -21,16 +21,12 @@
</radio-group>
</form-item>
<form-item style="width:100%" size="large" class="probability-prize-content-formItem" label="奖品类型" required>
<view class="probability-prize-content-formitem-choosePrize-wrap">
<radio-group value="{{isEdit ? prizeDialogData.record.type : prizeInitData.type}}" onChange="onPrizeTypeChange">
<radio a:if="{{typeChecked.includes(1)}}" value="{{1}}">优惠券</radio>
<radio a:if="{{typeChecked.includes(2)}}" value="{{2}}">积分</radio>
<radio a:if="{{typeChecked.includes(3)}}" value="{{3}}">实物</radio>
<!-- <radio a:if="{{typeChecked.includes(5)}}" value="{{5}}">降级奖品</radio> -->
</radio-group>
</view>
<select onChange="onPrizeTypeChange" defaultValue="{{isEdit ? prizeDialogData.record.type : prizeInitData.type}}">
<option a:if="{{typeChecked.includes(1)}}" value="{{1}}">优惠券</option>
<option a:if="{{typeChecked.includes(2)}}" value="{{2}}">积分</option>
<option a:if="{{typeChecked.includes(3)}}" value="{{3}}">实物</option>
<!-- <option a:if="{{typeChecked.includes(5)}}" value="{{5}}">降级奖品</option> -->
</select>
</form-item>
<form-item a:if="{{[EQUITY_TYPE].includes(prizeInitData.type)}}" validateState="{{choosePrizeTips.status}}" style="width:100%" size="large" help="{{choosePrizeTips.content}}" class="probability-prize-content-formItem probability-prize-content-formItem-choosePrize" label="选择奖品" required>
<view class="probability-prize-content-formitem-choosePrize-wrap">
......
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