|
|
@@ -28,6 +28,10 @@
|
|
|
<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="customSelectedHeader" slot-scope="{ column }">
|
|
|
+ <el-button v-if="customselectList.length == 0" type="text" @click="customSelectionAll('全选')">全选</el-button>
|
|
|
+ <el-button v-if="customselectList.length" type="text" @click="customSelectionAll('取消')">取消</el-button>
|
|
|
+ </template>
|
|
|
<template slot="customSelected" slot-scope="{ row }">
|
|
|
<el-checkbox v-model="row.customSelected" @change="customSelection(row)"> </el-checkbox>
|
|
|
</template>
|
|
|
@@ -76,22 +80,22 @@
|
|
|
<span v-else>{{ row.reconciliationAmountUsd }}</span>
|
|
|
</template>
|
|
|
<template slot="stlAmountDr" slot-scope="{ row }">
|
|
|
- <el-popover trigger="click" v-if="Number(row.dc=='D'?row.stlAmountDr:row.stlAmountCr)">
|
|
|
+ <el-popover trigger="click" v-if="Number(row.dc == 'D' ? row.stlAmountDr : row.stlAmountCr)">
|
|
|
<avue-crud :data="rlaData" :option="rlaOption"></avue-crud>
|
|
|
<span style="color: #409eff; cursor: pointer" slot="reference" @click="viewRLA(row, '结算中心')">
|
|
|
- {{ row.dc=='D'?row.stlAmountDr:row.stlAmountCr }}
|
|
|
+ {{ row.dc == "D" ? row.stlAmountDr : row.stlAmountCr }}
|
|
|
</span>
|
|
|
</el-popover>
|
|
|
- <span v-else>{{ row.dc=='D'?row.stlAmountDr:row.stlAmountCr }}</span>
|
|
|
+ <span v-else>{{ row.dc == "D" ? row.stlAmountDr : row.stlAmountCr }}</span>
|
|
|
</template>
|
|
|
<template slot="stlAmountDrUsd" slot-scope="{ row }">
|
|
|
- <el-popover trigger="click" v-if="Number(row.dc=='D'?row.stlAmountDrUsd:row.stlAmountCrUsd)">
|
|
|
+ <el-popover trigger="click" v-if="Number(row.dc == 'D' ? row.stlAmountDrUsd : row.stlAmountCrUsd)">
|
|
|
<avue-crud :data="rlaData" :option="rlaOption"></avue-crud>
|
|
|
<span style="color: #409eff; cursor: pointer" slot="reference" @click="viewRLA(row, '结算中心')">
|
|
|
- {{ row.dc=='D'?row.stlAmountDrUsd:row.stlAmountCrUsd }}
|
|
|
+ {{ row.dc == "D" ? row.stlAmountDrUsd : row.stlAmountCrUsd }}
|
|
|
</span>
|
|
|
</el-popover>
|
|
|
- <span v-else> {{ row.dc=='D'?row.stlAmountDrUsd:row.stlAmountCrUsd }}</span>
|
|
|
+ <span v-else> {{ row.dc == "D" ? row.stlAmountDrUsd : row.stlAmountCrUsd }}</span>
|
|
|
</template>
|
|
|
<template slot-scope="{ row, index }" slot="menu">
|
|
|
<el-button type="text" size="small" @click="rowCell(row, index)"> {{ row.$cellEdit ? "保存" : "编辑" }} </el-button>
|
|
|
@@ -106,6 +110,7 @@ import { feecenterSelectByAccNoList, getListAll } from "@/api/iosBasicData/finst
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+ allCustomSelected: false,
|
|
|
amountDSubSum: 0,
|
|
|
amountDSubUsdSum: 0,
|
|
|
amountCSubSum: 0,
|
|
|
@@ -265,14 +270,14 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
- // {
|
|
|
- // label: "签收日期",
|
|
|
- // prop: "signforDate",
|
|
|
- // type: "date",
|
|
|
- // format: "yyyy-MM-dd",
|
|
|
- // width: 80,
|
|
|
- // overHidden: true,
|
|
|
- // },
|
|
|
+ {
|
|
|
+ label: "签收日期",
|
|
|
+ prop: "signforDate",
|
|
|
+ type: "date",
|
|
|
+ format: "yyyy-MM-dd",
|
|
|
+ width: 80,
|
|
|
+ overHidden: true,
|
|
|
+ },
|
|
|
{
|
|
|
label: "已签收CNY",
|
|
|
prop: "reconciliationAmount",
|
|
|
@@ -291,12 +296,12 @@ export default {
|
|
|
// width: 80,
|
|
|
// overHidden: true,
|
|
|
// },
|
|
|
- {
|
|
|
- label: "结算单金额",
|
|
|
- prop: "stlAmount",
|
|
|
- width: 80,
|
|
|
- overHidden: true,
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // label: "结算单金额",
|
|
|
+ // prop: "stlAmount",
|
|
|
+ // width: 80,
|
|
|
+ // overHidden: true,
|
|
|
+ // },
|
|
|
// {
|
|
|
// label: "销账日期",
|
|
|
// prop: "clearedDate",
|
|
|
@@ -306,12 +311,43 @@ export default {
|
|
|
// overHidden: true,
|
|
|
// },
|
|
|
{
|
|
|
+ label: "审核日期",
|
|
|
+ prop: "approvedDate",
|
|
|
+ type: "date",
|
|
|
+ format: "yyyy-MM-dd",
|
|
|
+ width: 80,
|
|
|
+ overHidden: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
label: "操作员",
|
|
|
prop: "operatorName",
|
|
|
width: 80,
|
|
|
overHidden: true,
|
|
|
},
|
|
|
{
|
|
|
+ label: "业务员",
|
|
|
+ prop: "srcCnName",
|
|
|
+ width: 80,
|
|
|
+ overHidden: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "业务类型",
|
|
|
+ prop: "businessType",
|
|
|
+ type: "select",
|
|
|
+ dicData: [
|
|
|
+ {
|
|
|
+ label: "海运出口",
|
|
|
+ value: "SE",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "海运进口",
|
|
|
+ value: "SI",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ width: 100,
|
|
|
+ overHidden: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
label: "订舱号",
|
|
|
prop: "bookingNo",
|
|
|
width: 80,
|
|
|
@@ -497,6 +533,21 @@ export default {
|
|
|
// this.lastSelectedRowIndex = currentIndex; // 更新起始行索引
|
|
|
// }
|
|
|
},
|
|
|
+ customSelectionAll(type) {
|
|
|
+ this.lastCustomSelectedRowIndex = null;
|
|
|
+ if (type == "全选") {
|
|
|
+ this.pageData.forEach((item) => {
|
|
|
+ item.customSelected = true;
|
|
|
+ });
|
|
|
+ this.customselectList = this.pageData.filter((item) => item.customSelected == true);
|
|
|
+ }
|
|
|
+ if (type == "取消") {
|
|
|
+ this.pageData.forEach((item) => {
|
|
|
+ item.customSelected = false;
|
|
|
+ });
|
|
|
+ this.customselectList = [];
|
|
|
+ }
|
|
|
+ },
|
|
|
customSelection(row) {
|
|
|
// lastCustomSelectedRowIndex
|
|
|
const currentIndex = this.pageData.indexOf(row); // 获取当前行索引
|
|
|
@@ -699,15 +750,16 @@ export default {
|
|
|
item.billNo = item.businessBillDivideNo ? item.businessBillDivideNo : item.businessBillNo;
|
|
|
item.dc = item.accountDc; // 收付
|
|
|
item.isSignfor = item.isSignFor;
|
|
|
+ item.signforDate = item.signforDate?item.signforDate+' 00:00:00':null;
|
|
|
// item.isChecked = 0;
|
|
|
if (item.curCode == "CNY") {
|
|
|
this.$set(item, "amountRMB", item.amount);
|
|
|
- this.$set(item, "currentInvoiceAmountRMB", Number(item.currentInvoiceAmount ? item.currentInvoiceAmount : 0));
|
|
|
+ this.$set(item, "currentInvoiceAmountRMB", Number(item.appliedInvoiceAmount ? item.appliedInvoiceAmount : 0));
|
|
|
this.$set(item, "currentStlAmountRMB", Number(item.reconciliationCurrentAmount ? item.reconciliationCurrentAmount : 0));
|
|
|
this.$set(item, "currentStlAmountUSD", Number(0));
|
|
|
} else {
|
|
|
this.$set(item, "amountUSD", item.amount);
|
|
|
- this.$set(item, "currentInvoiceAmountUSD", Number(item.currentInvoiceAmount ? item.currentInvoiceAmount : 0));
|
|
|
+ this.$set(item, "currentInvoiceAmountUSD", Number(item.appliedInvoiceAmount ? item.appliedInvoiceAmount : 0));
|
|
|
this.$set(item, "currentStlAmountUSD", Number(item.reconciliationCurrentAmount ? item.reconciliationCurrentAmount : 0));
|
|
|
this.$set(item, "currentStlAmountRMB", Number(0));
|
|
|
}
|