Commit 8b8259b4 by 王志慧

fixed

1 parent a53193a3
......@@ -20,9 +20,12 @@
<el-form label-width="154px" :inline="true">
<el-row v-for="(item, index) in paymentDataRow" :key="index">
<el-form-item v-for="(subItem, subIndex) in item.rowList" :key="subIndex" :label="subItem.label + ':'" class="row-item">
<span v-if="subItem.addHtml" class="flex_sc">
<div class="table_point" :style="{ background: subItem.addHtml(recordInfo).color }"></div>
{{ subItem.addHtml(recordInfo).status }}
<span v-if="subItem.addHtml">
{{ subItem.addHtml(recordInfo) }}
</span>
<span v-else-if="subItem.addStyle" class="flex_sc">
<div class="table_point" :style="{ background: subItem.addStyle(recordInfo).color }"></div>
{{ subItem.addStyle(recordInfo).status }}
</span>
<span v-else class="detail-txt ellipsis-1" :title="recordInfo[subItem.name]">{{ recordInfo[subItem.name] ? recordInfo[subItem.name] + (subItem.suffix || '') : '-' }}</span>
</el-form-item>
......@@ -121,7 +124,7 @@ export default {
},
{
label: '申请时间',
name: 'applyDateStart'
name: 'createdDate'
}
]
this.paymentData = [
......@@ -147,12 +150,15 @@ export default {
},
{
label: '付款渠道',
name: 'channel'
name: 'channel',
addHtml: obj => {
return obj.channel == 'TXIAT' ? '熠轩' : '--'
}
},
{
label: '状态',
name: 'status',
addHtml: obj => {
addStyle: obj => {
return {
status: tableStatus[obj.status],
color: colors[obj.status]
......
......@@ -189,7 +189,7 @@ export default {
fn: '驳回'
},
condition: row => {
return row.status == 0||row.status == 1
return row.status == 0 || row.status == 1
},
listeners: {
click: row => {
......@@ -302,7 +302,11 @@ export default {
{
label: '付款渠道',
prop: 'channel',
width: '200px'
width: '200px',
formatter: cellValue => {
let arr = this.baseData.channelList.filter(item => item.confId == cellValue.channel)
return arr.length>0 ? arr[0].confLabel : '--'
}
}
]
},
......@@ -375,10 +379,10 @@ export default {
optionId: 'id',
optionLabel: 'text',
optionList: [
{
text: '拓博',
id: 'LG'
},
// {
// text: '拓博',
// id: 'LG'
// },
{
text: '熠轩',
id: 'TXIAT'
......@@ -604,7 +608,7 @@ export default {
this.payForm = {
payMoney: '',
admin: '',
channel: 'LG',
channel: 'TXIAT',
captcha: '',
remark: ''
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!