|
|
|
@ -67,14 +67,14 @@
|
|
|
|
|
<span class="title">未付USD:</span>
|
|
|
|
|
<span class="count">{{ pusd }}</span>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="box">
|
|
|
|
|
<!-- <span class="box">
|
|
|
|
|
<span class="title">未收其他:</span>
|
|
|
|
|
<span class="count">{{ rother }}</span>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="box">
|
|
|
|
|
<span class="title">未付其他:</span>
|
|
|
|
|
<span class="count">{{ pother }}</span>
|
|
|
|
|
</span>
|
|
|
|
|
</span> -->
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</BasicTable>
|
|
|
|
@ -140,11 +140,13 @@
|
|
|
|
|
const res = await GetBizList(p)
|
|
|
|
|
res.data.forEach((item, index) => {
|
|
|
|
|
item['idIndex'] = item.id + index
|
|
|
|
|
if (item['unpaidRMB']) item['unpaidRMB'] = numberThousandFormat(item['unpaidRMB'], 2, true)
|
|
|
|
|
if (item['unpaidUSD']) item['unpaidUSD'] = numberThousandFormat(item['unpaidUSD'], 2, true)
|
|
|
|
|
if (item['unBilledRMB']) item['unBilledRMB'] = numberThousandFormat(item['unBilledRMB'], 2, true)
|
|
|
|
|
if (item['unBilledUSD']) item['unBilledUSD'] = numberThousandFormat(item['unBilledUSD'], 2, true)
|
|
|
|
|
if (item['unreceivedTotal']) item['unreceivedTotal'] = numberThousandFormat(item['unreceivedTotal'], 2, true)
|
|
|
|
|
item['unpaidRMB'] = numberThousandFormat(item['unpaidRMB'], 2, true)
|
|
|
|
|
item['unpaidUSD'] = numberThousandFormat(item['unpaidUSD'], 2, true)
|
|
|
|
|
item['unreceivedRMB'] = numberThousandFormat(item['unreceivedRMB'], 2, true)
|
|
|
|
|
item['unreceivedUSD'] = numberThousandFormat(item['unreceivedUSD'], 2, true)
|
|
|
|
|
item['unBilledRMB'] = numberThousandFormat(item['unBilledRMB'], 2, true)
|
|
|
|
|
item['unBilledUSD'] = numberThousandFormat(item['unBilledUSD'], 2, true)
|
|
|
|
|
item['unreceivedTotal'] = numberThousandFormat(item['unreceivedTotal'], 2, true)
|
|
|
|
|
})
|
|
|
|
|
if (res?.data?.length) state.historyRowKeys = [res.data[0].id + 0]
|
|
|
|
|
setSelectedRows([res.data[0]])
|
|
|
|
@ -506,12 +508,13 @@
|
|
|
|
|
pother.value = 0
|
|
|
|
|
// 计算业务表合计
|
|
|
|
|
rows.forEach(item => {
|
|
|
|
|
rrmb.value = rrmb.value + item.unreceivedRMB || 0
|
|
|
|
|
prmb.value = prmb.value + item.unpaidRMB || 0
|
|
|
|
|
rusd.value = rusd.value + item.unreceivedUSD || 0
|
|
|
|
|
pusd.value = pusd.value + item.unpaidUSD || 0
|
|
|
|
|
rother.value = rother.value + item.unreceivedOther || 0
|
|
|
|
|
pother.value = pother.value + item.unpaidOther || 0
|
|
|
|
|
rrmb.value = numberThousandFormat(rrmb.value + Number(item.unreceivedRMB) || 0, 2, true)
|
|
|
|
|
prmb.value = numberThousandFormat(prmb.value + Number(item.unpaidRMB) || 0, 2, true)
|
|
|
|
|
rusd.value = numberThousandFormat(rusd.value + Number(item.unreceivedUSD) || 0, 2, true)
|
|
|
|
|
pusd.value = numberThousandFormat(pusd.value + Number(item.unpaidUSD) || 0, 2, true)
|
|
|
|
|
// rother.value = rother.value + Number(item.unreceivedOther) || 0
|
|
|
|
|
// pother.value = pother.value + Number(item.unpaidOther) || 0
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|