|
|
@@ -12,8 +12,8 @@
|
|
|
:page.sync="page"
|
|
|
@size-change="sizeChange"
|
|
|
@current-change="currentChange"
|
|
|
- @resetColumn="resetColumn('crud', 'option', 'optionBack', 455)"
|
|
|
- @saveColumn="saveColumn('crud', 'option', 'optionBack', 455)"
|
|
|
+ @resetColumn="resetColumn('crud', 'option', 'optionBack', 484)"
|
|
|
+ @saveColumn="saveColumn('crud', 'option', 'optionBack', 484)"
|
|
|
>
|
|
|
<template slot="menuLeft">
|
|
|
<slot name="menuLeft"></slot>
|
|
|
@@ -24,10 +24,10 @@
|
|
|
v-model="row.currentStlAmountRMB"
|
|
|
@change="armbChange(row)"
|
|
|
:controls="false"
|
|
|
- placeholder="请输入 本次签收CNY"
|
|
|
+ placeholder="请输入 本次CNY"
|
|
|
size="mini"
|
|
|
style="width: 100%;"
|
|
|
- :disabled="row.currentStlCurCode != 'CNY'|| (row.currentStlAmountRMB == 0 && row.currentStlAmountUSD == 0)"
|
|
|
+ :disabled="row.currentStlCurCode != 'CNY' || (row.currentStlAmountRMB == 0 && row.currentStlAmountUSD == 0)"
|
|
|
></el-input-number>
|
|
|
<span v-else>{{ row.currentStlAmountRMB }}</span>
|
|
|
</tempalte>
|
|
|
@@ -37,10 +37,10 @@
|
|
|
v-model="row.currentStlAmountUSD"
|
|
|
@change="ausdChange(row)"
|
|
|
:controls="false"
|
|
|
- placeholder="请输入 本次签收USD"
|
|
|
+ placeholder="请输入 本次USD"
|
|
|
size="mini"
|
|
|
style="width: 100%;"
|
|
|
- :disabled="row.currentStlCurCode != 'USD'|| (row.currentStlAmountRMB == 0 && row.currentStlAmountUSD == 0)"
|
|
|
+ :disabled="row.currentStlCurCode != 'USD' || (row.currentStlAmountRMB == 0 && row.currentStlAmountUSD == 0)"
|
|
|
></el-input-number>
|
|
|
<span v-else>{{ row.currentStlAmountUSD }}</span>
|
|
|
</tempalte>
|
|
|
@@ -52,6 +52,18 @@
|
|
|
<span v-if="row.dc == 'D'">{{ row.stlAmountDrUSD }}</span>
|
|
|
<span v-if="row.dc == 'C'">{{ row.stlAmountCrUSD }}</span>
|
|
|
</template>
|
|
|
+ <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>
|
|
|
+ </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>
|
|
|
+ </el-popover>
|
|
|
+ </template>
|
|
|
<template slot="remarkss" slot-scope="{ row }">
|
|
|
<el-input style="width: 100%;" v-model="row.remarkss" v-if="brfalse" size="mini" autocomplete="off" clearable placeholder="请输入 备注">
|
|
|
</el-input>
|
|
|
@@ -66,7 +78,7 @@ import { getWorkDicts } from "@/api/system/dictbiz";
|
|
|
import SearchQuery from "@/components/iosbasic-data/searchquery.vue";
|
|
|
import costDetails from "../assembly/costDetails.vue";
|
|
|
import { getRateList } from "@/api/iosBasicData/rateManagement";
|
|
|
-import { feecenterSelectByAccNoList } from "@/api/iosBasicData/finstlbills";
|
|
|
+import { feecenterSelectByAccNoList, getListAll } from "@/api/iosBasicData/finstlbills";
|
|
|
|
|
|
export default {
|
|
|
components: { SearchQuery, costDetails },
|
|
|
@@ -94,6 +106,44 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ rlaData: [],
|
|
|
+ rlaOption: {
|
|
|
+ header: false,
|
|
|
+ menu: false,
|
|
|
+ align: "center",
|
|
|
+ column: [
|
|
|
+ {
|
|
|
+ label: "来源单号",
|
|
|
+ prop: "srcNo",
|
|
|
+ width: "200",
|
|
|
+ overHidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "来源类型",
|
|
|
+ prop: "srcType",
|
|
|
+ width: "80",
|
|
|
+ overHidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "签收金额",
|
|
|
+ prop: "signedAmount",
|
|
|
+ width: "100",
|
|
|
+ overHidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "签收人",
|
|
|
+ prop: "consigneeName",
|
|
|
+ width: "100",
|
|
|
+ overHidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "签收时间",
|
|
|
+ prop: "signingTime",
|
|
|
+ width: "120",
|
|
|
+ overHidden: true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
ifInvoiceData: [], // 是否数据
|
|
|
invoicelosDara: [], // 发票
|
|
|
curCodeData: [], // 币种
|
|
|
@@ -139,18 +189,30 @@ export default {
|
|
|
overHidden: true
|
|
|
},
|
|
|
{
|
|
|
- label: "本次签收CNY",
|
|
|
+ label: "本次CNY",
|
|
|
prop: "currentStlAmountRMB",
|
|
|
width: 100,
|
|
|
overHidden: true
|
|
|
},
|
|
|
{
|
|
|
- label: "本次签收USD",
|
|
|
+ label: "本次USD",
|
|
|
prop: "currentStlAmountUSD",
|
|
|
width: 100,
|
|
|
overHidden: true
|
|
|
},
|
|
|
{
|
|
|
+ label: "已签收CNY",
|
|
|
+ prop: "reconciliationAmount",
|
|
|
+ width: 100,
|
|
|
+ overHidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "已签收USD",
|
|
|
+ prop: "reconciliationAmountUsd",
|
|
|
+ width: 100,
|
|
|
+ overHidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
label: "币种",
|
|
|
prop: "currentStlCurCode",
|
|
|
width: 60,
|
|
|
@@ -319,18 +381,6 @@ export default {
|
|
|
overHidden: true
|
|
|
},
|
|
|
{
|
|
|
- label: "已签收CNY",
|
|
|
- prop: "reconciliationAmount",
|
|
|
- width: 100,
|
|
|
- overHidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- label: "已签收USD",
|
|
|
- prop: "reconciliationAmountUsd",
|
|
|
- width: 100,
|
|
|
- overHidden: true
|
|
|
- },
|
|
|
- {
|
|
|
label: "已结算CNY",
|
|
|
prop: "stlAmountDr",
|
|
|
width: 90,
|
|
|
@@ -372,11 +422,17 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
async created() {
|
|
|
- this.option = await this.getColumnData(this.getColumnName(455), this.optionBack);
|
|
|
+ this.option = await this.getColumnData(this.getColumnName(484), this.optionBack);
|
|
|
this.isSignforWorkDicts();
|
|
|
this.invoicelosWorkDictsfun();
|
|
|
},
|
|
|
methods: {
|
|
|
+ viewRLA(row) {
|
|
|
+ this.rlaData = [];
|
|
|
+ getListAll({ billId: row.accBillId }).then(res => {
|
|
|
+ this.rlaData = res.data.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
sizeChange(val) {
|
|
|
this.page.currentPage = 1;
|
|
|
this.page.pageSize = val;
|