|
|
@@ -19,14 +19,14 @@
|
|
|
<template slot="menuLeft">
|
|
|
<el-button size="small" type="text" :disabled="disabled" @click="allClick('确认选定行')" style="color: #409eff">确认选定行</el-button>
|
|
|
<el-button type="text" size="small" :disabled="pageData.length == 0" style="color: #409eff" @click="allClick('一键编辑')">一键编辑</el-button>
|
|
|
- <el-tag type="danger" style="margin-right: 2px; color: #f56c6c">应收(CNY):{{ amountDSubSum || 0 }}</el-tag>
|
|
|
- <el-tag type="danger" style="margin-right: 2px; color: #f56c6c">应收(USD):{{ amountDSubUsdSum || 0 }}</el-tag>
|
|
|
- <el-tag type="danger" style="margin-right: 2px; color: #000000">应付(CNY):{{ amountCSubSum || 0 }}</el-tag>
|
|
|
- <el-tag type="danger" style="margin-right: 2px; color: #000000; margin-right: 50px">应付(USD):{{ amountCSubUsdSum || 0 }}</el-tag>
|
|
|
- <el-tag type="success" style="margin-right: 2px; color: #f56c6c">应收(CNY):{{ amountDSubSum2 || 0 }}</el-tag>
|
|
|
- <el-tag type="success" style="margin-right: 2px; color: #f56c6c">应收(USD):{{ amountDSubUsdSum2 || 0 }}</el-tag>
|
|
|
- <el-tag type="success" style="margin-right: 2px; color: #000000">应付(CNY):{{ amountCSubSum2 || 0 }}</el-tag>
|
|
|
- <el-tag type="success" style="margin-right: 2px; color: #000000">应付(USD):{{ amountCSubUsdSum2 || 0 }}</el-tag>
|
|
|
+ <el-tag type="danger" style="margin-right: 2px; color: #f56c6c">应收(CNY):{{ amountDSubSum | formatNumber }}</el-tag>
|
|
|
+ <el-tag type="danger" style="margin-right: 2px; color: #f56c6c">应收(USD):{{ amountDSubUsdSum | formatNumber }}</el-tag>
|
|
|
+ <el-tag type="danger" style="margin-right: 2px; color: #000000">应付(CNY):{{ amountCSubSum | formatNumber }}</el-tag>
|
|
|
+ <el-tag type="danger" style="margin-right: 2px; color: #000000; margin-right: 50px">应付(USD):{{ amountCSubUsdSum | formatNumber }}</el-tag>
|
|
|
+ <el-tag type="success" style="margin-right: 2px; color: #f56c6c">应收(CNY):{{ amountDSubSum2 | formatNumber }}</el-tag>
|
|
|
+ <el-tag type="success" style="margin-right: 2px; color: #f56c6c">应收(USD):{{ amountDSubUsdSum2 | formatNumber }}</el-tag>
|
|
|
+ <el-tag type="success" style="margin-right: 2px; color: #000000">应付(CNY):{{ amountCSubSum2 | formatNumber }}</el-tag>
|
|
|
+ <el-tag type="success" style="margin-right: 2px; color: #000000">应付(USD):{{ amountCSubUsdSum2 | formatNumber }}</el-tag>
|
|
|
</template>
|
|
|
<template slot="customSelected" slot-scope="{ row }">
|
|
|
<el-checkbox v-model="row.customSelected" @change="customSelection(row)"> </el-checkbox>
|
|
|
@@ -84,14 +84,14 @@
|
|
|
</el-popover>
|
|
|
<span v-else>{{ row.stlAmountDr }}</span>
|
|
|
</template>
|
|
|
- <template slot="stlAmountDrUSD" slot-scope="{ row }">
|
|
|
- <el-popover trigger="click" v-if="Number(row.stlAmountDrUSD)">
|
|
|
+ <template slot="stlAmountDrUsd" slot-scope="{ row }">
|
|
|
+ <el-popover trigger="click" v-if="Number(row.stlAmountDrUsd)">
|
|
|
<avue-crud :data="rlaData" :option="rlaOption"></avue-crud>
|
|
|
<span style="color: #409eff; cursor: pointer" slot="reference" @click="viewRLA(row, '结算中心')">
|
|
|
- {{ row.stlAmountDrUSD }}
|
|
|
+ {{ row.stlAmountDrUsd }}
|
|
|
</span>
|
|
|
</el-popover>
|
|
|
- <span v-else>{{ row.stlAmountDrUSD }}</span>
|
|
|
+ <span v-else>{{ row.stlAmountDrUsd }}</span>
|
|
|
</template>
|
|
|
<template slot-scope="{ row, index }" slot="menu">
|
|
|
<el-button type="text" size="small" @click="rowCell(row, index)"> {{ row.$cellEdit ? "保存" : "编辑" }} </el-button>
|
|
|
@@ -401,7 +401,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: "已结算USD",
|
|
|
- prop: "stlAmountDrUSD",
|
|
|
+ prop: "stlAmountDrUsd",
|
|
|
width: 80,
|
|
|
overHidden: true,
|
|
|
},
|
|
|
@@ -462,6 +462,11 @@ export default {
|
|
|
document.removeEventListener("keydown", this.handleKeyDown);
|
|
|
document.removeEventListener("keyup", this.handleKeyUp);
|
|
|
},
|
|
|
+ filters: {
|
|
|
+ formatNumber(value) {
|
|
|
+ return Number(value ? value : 0).toFixed(2);
|
|
|
+ },
|
|
|
+ },
|
|
|
methods: {
|
|
|
handleKeyDown(e) {
|
|
|
if (e.key === "Shift" || e.keyCode === 16) {
|
|
|
@@ -628,7 +633,7 @@ export default {
|
|
|
billNoFormat: "HYDZ",
|
|
|
businessTypeCode: "HYDZ",
|
|
|
businessType: "CHK",
|
|
|
- finStlBillsItemsList:[...this.form.finStlBillsItemsList, ...this.selectionList] ,
|
|
|
+ finStlBillsItemsList: [...this.form.finStlBillsItemsList, ...this.selectionList],
|
|
|
};
|
|
|
const loading = this.$loading({
|
|
|
lock: true,
|