|
|
@@ -102,13 +102,13 @@
|
|
|
<template slot="reconciliationAmount" slot-scope="{ row }">
|
|
|
<el-popover trigger="click">
|
|
|
<avue-crud :data="rlaData" :option="rlaOption"></avue-crud>
|
|
|
- <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row)">{{ row.reconciliationAmount }}</span>
|
|
|
+ <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row, '对账')">{{ row.reconciliationAmount }}</span>
|
|
|
</el-popover>
|
|
|
</template>
|
|
|
<template slot="reconciliationAmountUsd" slot-scope="{ row }">
|
|
|
<el-popover trigger="click">
|
|
|
<avue-crud :data="rlaData" :option="rlaOption"></avue-crud>
|
|
|
- <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row)">{{ row.reconciliationAmountUsd }}</span>
|
|
|
+ <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row, '对账')">{{ row.reconciliationAmountUsd }}</span>
|
|
|
</el-popover>
|
|
|
</template>
|
|
|
</avue-crud>
|
|
|
@@ -413,9 +413,9 @@ export default {
|
|
|
this.invoicelosWorkDictsfun();
|
|
|
},
|
|
|
methods: {
|
|
|
- viewRLA(row) {
|
|
|
+ viewRLA(row, type) {
|
|
|
this.rlaData = [];
|
|
|
- getListAll({ billId: row.accBillId }).then(res => {
|
|
|
+ getListAll({ billId: row.accBillId, srcType: type }).then(res => {
|
|
|
this.rlaData = res.data.data;
|
|
|
});
|
|
|
},
|
|
|
@@ -452,7 +452,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- ausdChange(row) {
|
|
|
+ ausdChange(row) {
|
|
|
if (Number(row.amount - row.reconciliationAmountUsd) > 0) {
|
|
|
if (Number(row.currentStlAmountUSD) < 0) {
|
|
|
return this.$message.error("本次金额不能输入负数");
|