待结算记录
This commit is contained in:
@ -9,11 +9,11 @@
|
||||
<template v-if="column.dataIndex === 'settledSign'">
|
||||
{{ Number(record.settledSign) == 1 ? '已结算': '未结算' }}
|
||||
</template>
|
||||
</template>
|
||||
<template v-if="column.dataIndex === 'file'">
|
||||
<div v-for="item in (record.lngFileUploadList )" class="fileCSS">
|
||||
<a @click="handleDownload(item)">{{item.fileOrg}}</a>
|
||||
</div>
|
||||
<template v-if="column.dataIndex === 'file'">
|
||||
<div v-for="item in (record.lngFileUploadList )" class="fileCSS">
|
||||
<a @click="handleDownload(item)">{{item.fileOrg}}</a>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
</BasicTable>
|
||||
</div>
|
||||
@ -57,7 +57,7 @@
|
||||
{ dataIndex: 'qtyMeaM3', title: '完成量(方)', align: 'left',width: 120},
|
||||
{ dataIndex: 'rateM3Gj', title: '比值(方/吉焦)', align: 'left',width: 120},
|
||||
{ dataIndex: 'ksName', title: '销售合同', align: 'left',},
|
||||
{ dataIndex: 'file', title: '附件', align: 'left',},
|
||||
{ dataIndex: 'file', title: '附件', align: 'left',width: 200},
|
||||
{ dataIndex: 'settledSign', title: '已结算', align: 'left',width: 100},
|
||||
];
|
||||
|
||||
@ -102,6 +102,16 @@
|
||||
},
|
||||
afterFetch: (res) => {
|
||||
tableData.value = res || []
|
||||
tableData.value.forEach(v => {
|
||||
let a = v.attachList ? v.attachList.split(',') : []
|
||||
v.lngFileUploadList = []
|
||||
a.forEach(k => {
|
||||
v.lngFileUploadList.push({
|
||||
fileOrg: k.split('@')[0],
|
||||
fileUrl: k.split('@')[1]
|
||||
})
|
||||
})
|
||||
})
|
||||
},
|
||||
rowSelection: {
|
||||
type: props.selectType,
|
||||
|
||||
@ -43,8 +43,8 @@
|
||||
{ title: t('价格描述'), dataIndex: 'priceDesc', width:130},
|
||||
{ title: t('数量(吉焦)'), dataIndex: 'qtySettleGj', width: 120},
|
||||
{ title: t('数量(方)'), dataIndex: 'qtySettleM3', width: 120},
|
||||
{ title: t('价格(元/方)'), dataIndex: 'priceM3', width: 120},
|
||||
{ title: t('价格(元/吉焦)'), dataIndex: 'priceGj', width: 120},
|
||||
{ title: t('价格(元/方)'), dataIndex: 'priceM3', width: 120},
|
||||
{ title: t('金额(元)'), dataIndex: 'amount', width: 120},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user