Commit 8b8259b4 by 王志慧

fixed

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