Commit 939c77a3 by liang ce

津贴参数大小写问题

parent 83e9714c
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
{{ cardNo }} {{ cardNo }}
</span> </span>
<span slot="cardStatus" slot-scope="cardStatus, record"> <span slot="cardStatus" slot-scope="cardStatus, record">
<a-badge v-if="record.cardNo != '' && cardStatus !== 'UNACTIVE'" status="success" text="已卡" /> <a-badge v-if="record.cardNo != '' && cardStatus !== 'UNACTIVE'" status="success" text="已卡" />
<a-badge v-else-if="record.cardNo != '' && cardStatus === 'UNACTIVE'" status="error" text="已冻结" /> <a-badge v-else-if="record.cardNo != '' && cardStatus === 'UNACTIVE'" status="error" text="已冻结" />
<a-badge v-else status="default" text="未绑卡" /> <a-badge v-else status="default" text="未绑卡" />
</span> </span>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</div> </div>
<div> <div>
<label>津贴类型</label> <label>津贴类型</label>
<div>{{allowanceDetails.type === 'travel' ? '交通补贴' : '餐补'}}</div> <div>{{allowanceDetails.type === 'TRAVEL' ? '交通补贴' : '餐补'}}</div>
</div> </div>
<div> <div>
<label>单号</label> <label>单号</label>
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<div class="AllowancePayment"> <div class="AllowancePayment">
<div class="searchBox"> <div class="searchBox">
<a-select placeholder="津贴类型" :allowClear="true" style="width: 120px;margin-right: 20px;" @change="selectHandType"> <a-select placeholder="津贴类型" :allowClear="true" style="width: 120px;margin-right: 20px;" @change="selectHandType">
<a-select-option value="travel">交通补助</a-select-option> <a-select-option value="TRAVEL">交通补助</a-select-option>
<a-select-option value="meal">餐补</a-select-option> <a-select-option value="MEAL">餐补</a-select-option>
</a-select> </a-select>
<a-select placeholder="经办人" :allowClear="true" style="width: 120px;margin-right: 20px;" @change="selectAgent"> <a-select placeholder="经办人" :allowClear="true" style="width: 120px;margin-right: 20px;" @change="selectAgent">
<a-select-option v-for="(item, index) in agentList" :key="index" :value="item.ddUserId">{{ item.name }}</a-select-option> <a-select-option v-for="(item, index) in agentList" :key="index" :value="item.ddUserId">{{ item.name }}</a-select-option>
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<a-table :columns="columns" :dataSource="recordsList" size="default" rowKey="grantNumber" :pagination="pagination" @change="handleTableChange"> <a-table :columns="columns" :dataSource="recordsList" size="default" rowKey="grantNumber" :pagination="pagination" @change="handleTableChange">
<span slot="recipient">成员</span> <span slot="recipient">成员</span>
<span slot="money">金额</span> <span slot="money">金额</span>
<span slot="type" slot-scope="type">{{ type === 'travel' ? '交通补助' : '餐补' }}</span> <span slot="type" slot-scope="type">{{ type === 'TRAVEL' ? '交通补助' : '餐补' }}</span>
<span slot="grantNumber">单号</span> <span slot="grantNumber">单号</span>
<span slot="agentId">经办人</span> <span slot="agentId">经办人</span>
<span slot="createTime" slot-scope="createTime"> <span slot="createTime" slot-scope="createTime">
...@@ -49,10 +49,10 @@ ...@@ -49,10 +49,10 @@
]" ]"
placeholder="请选择津贴类型" placeholder="请选择津贴类型"
> >
<a-select-option value="travel"> <a-select-option value="TRAVEL">
交通补助 交通补助
</a-select-option> </a-select-option>
<a-select-option value="meal"> <a-select-option value="MEAL">
餐补 餐补
</a-select-option> </a-select-option>
</a-select> </a-select>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="title">查看津贴</div> <div class="title">查看津贴</div>
<a-table :columns="columns" :dataSource="subsidyList" size="default" rowKey="couponId" :pagination="pagination" @change="handleTableChange"> <a-table :columns="columns" :dataSource="subsidyList" size="default" rowKey="couponId" :pagination="pagination" @change="handleTableChange">
<span slot="type" slot-scope="type"> <span slot="type" slot-scope="type">
{{ type === 'travel' ? '交通补贴' : '餐补'}} {{ type === 'TRAVEL' ? '交通补贴' : '餐补'}}
</span> </span>
<span slot="initialAmount">发放金额</span>> <span slot="initialAmount">发放金额</span>>
<span slot="residueAmount">余额</span> <span slot="residueAmount">余额</span>
......
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