Commit 93802675 authored by 管新明's avatar 管新明

fix:调整发奖来源展示字段

parent f0d02d6b
......@@ -38,7 +38,7 @@
<select value="{{searchInfo.prizeDataType}}" onChange="handleInputChange" data-name='prizeDataType'>
<option value="">全部</option>
<% for(var i = 0; i < formatPrize.length; ++i) {%>
<%- `<option value="${formatPrize[i].prizeDataType}">${formatPrize[i].name}</option> `
<%- `<option value="${formatPrize[i].prizeDataType}">${formatPrize[i].prizeSource}</option> `
%><% } %>
</select>
</form-item>
......@@ -70,7 +70,7 @@
<table-column title="发奖来源" dataIndex="prizeDataType">
<view slot-scope="x">
<% for(var i = 0; i < formatPrize.length; ++i) {%>
<%- `<text a:if="{{x.record.prizeDataType == ${formatPrize[i].prizeDataType}}}">${formatPrize[i].name}</text> `
<%- `<text a:if="{{x.record.prizeDataType == ${formatPrize[i].prizeDataType}}}">${formatPrize[i].prizeSource}</text> `
%><% } %>
</view>
</table-column>
......
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