|
|
@@ -162,6 +162,7 @@
|
|
|
:multiple="true"
|
|
|
:collapseTags="true"
|
|
|
:disabled="editSave"
|
|
|
+ dataType="string"
|
|
|
></dic-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -396,17 +397,20 @@
|
|
|
</el-col>
|
|
|
<el-col :span="5">
|
|
|
<el-form-item label="业务类型" prop="businessTypes">
|
|
|
- <search-query
|
|
|
- :datalist="businessTypesData"
|
|
|
- :selectValue="form.businessTypes"
|
|
|
- :clearable="true"
|
|
|
- :disabled="editSave"
|
|
|
- :buttonIf="false"
|
|
|
+ <dic-select
|
|
|
+ v-model="form.businessTypes"
|
|
|
+ placeholder="业务类型"
|
|
|
+ key="id"
|
|
|
+ label="label"
|
|
|
+ keyValue="value"
|
|
|
+ :activateCreated="false"
|
|
|
+ :mockData="businessTypesData"
|
|
|
+ :filterable="true"
|
|
|
:multiple="true"
|
|
|
- placeholder="请选择业务类型"
|
|
|
- @corpChange="corpChange($event, 'businessTypes')"
|
|
|
- >
|
|
|
- </search-query>
|
|
|
+ :collapseTags="true"
|
|
|
+ :disabled="editSave"
|
|
|
+ dataType="string"
|
|
|
+ ></dic-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
@@ -816,10 +820,10 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- amountDSubSum:0,
|
|
|
- amountDSubUsdSum:0,
|
|
|
- amountCSubSum:0,
|
|
|
- amountCSubUsdSum:0,
|
|
|
+ amountDSubSum: 0,
|
|
|
+ amountDSubUsdSum: 0,
|
|
|
+ amountCSubSum: 0,
|
|
|
+ amountCSubUsdSum: 0,
|
|
|
activeName: "1",
|
|
|
retrievePopupsType: false, // 弹窗开启关闭
|
|
|
retrievePopupsData: [], // 选择弹窗数据
|
|
|
@@ -1114,7 +1118,6 @@ export default {
|
|
|
this.form.billNoFormat = "HYDZ";
|
|
|
this.form.businessTypeCode = "HYDZ";
|
|
|
this.form.businessType = "CHK"; // 对账单
|
|
|
- this.form.businessTypes = this.form.businessTypes ? this.form.businessTypes.join(",") : ""; // 业务类型
|
|
|
this.form.accountDateFrom = this.form.accountDateFrom ? this.form.accountDateFrom.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.accountDateTo = this.form.accountDateTo ? this.form.accountDateTo.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.auditDateFrom = this.form.auditDateFrom ? this.form.auditDateFrom.slice(0, 10) + " 00:00:00" : null;
|
|
|
@@ -1122,7 +1125,6 @@ export default {
|
|
|
this.form.businessDateEnd = this.form.businessDateEnd ? this.form.businessDateEnd.slice(0, 10) + " 00:00:00" : null;
|
|
|
this.form.businessDateStart = this.form.businessDateStart ? this.form.businessDateStart.slice(0, 10) + " 00:00:00" : null;
|
|
|
this.form.billDate = this.form.billDate ? this.form.billDate.slice(0, 10) + " 00:00:00" : null;
|
|
|
- this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(",") : "";
|
|
|
let addList = this.addData.map((item, index) => {
|
|
|
item.lineNo = Number(index) + 1;
|
|
|
item.pType = item.businessType;
|
|
|
@@ -1219,7 +1221,7 @@ export default {
|
|
|
},
|
|
|
// 详情接口
|
|
|
finstlbillsDetailfun(id, type) {
|
|
|
- this.activeName="2"
|
|
|
+ this.activeName = "2";
|
|
|
this.pageLoading = true;
|
|
|
finstlbillsDetail(id)
|
|
|
.then(res => {
|
|
|
@@ -1244,8 +1246,6 @@ export default {
|
|
|
} else {
|
|
|
this.submitType = false;
|
|
|
}
|
|
|
- this.form.businessTypes = this.form.businessTypes ? this.form.businessTypes.split(",") : []; // 业务类型转换成数组显示
|
|
|
- this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.split(",") : []; // 业务类型转换成数组显示
|
|
|
this.tableData = this.form.finStlBillsItemsList.map(item => {
|
|
|
if (item.curCode == "CNY") {
|
|
|
this.$set(item, "amountRMB", item.amount);
|
|
|
@@ -1331,7 +1331,7 @@ export default {
|
|
|
obj.hblno = this.form.hblno; // HB/L NO
|
|
|
obj.isChecked = this.form.isChecked; // 是否对账(0 未对账 1 已对账)
|
|
|
obj.queryAmount = this.form.queryAmount; // 查询金额
|
|
|
- obj.businessType = this.form.businessTypes ? this.form.businessTypes.join(",") : ""; // 业务类型
|
|
|
+ obj.businessType = this.form.businessTypes; // 业务类型
|
|
|
obj.invoiceStatus = this.form.isInvoice; // 发票状态 0 = 未开 9=已开 2 待开 3 不开
|
|
|
obj.vesselCnName = this.form.vesselCnName; // 中文船名
|
|
|
obj.invoiceNo = this.form.invoiceNo; // 发票号
|
|
|
@@ -1372,7 +1372,7 @@ export default {
|
|
|
obj.hblno = this.form.hblno; // HB/L NO
|
|
|
obj.isChecked = this.form.isChecked; // 是否对账(0 未对账 1 已对账)
|
|
|
obj.queryAmount = this.form.queryAmount; // 查询金额
|
|
|
- obj.businessType = this.form.businessTypes ? this.form.businessTypes.join(",") : ""; // 业务类型
|
|
|
+ obj.businessType = this.form.businessTypes; // 业务类型
|
|
|
obj.invoiceStatus = this.form.isInvoice; // 发票状态 0 = 未开 9=已开 2 待开 3 不开
|
|
|
obj.vesselCnName = this.form.vesselCnName; // 中文船名
|
|
|
obj.invoiceNo = this.form.invoiceNo; // 发票号
|
|
|
@@ -1387,7 +1387,7 @@ export default {
|
|
|
obj.billDateEnd = this.form.accountDateTo; // 财务开始日期
|
|
|
obj.approveTimeStart = this.form.auditDateFrom; // 审核开始日期
|
|
|
obj.approveTimeEnd = this.form.auditDateTo; // 审核结束日期
|
|
|
- obj.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(",") : "";
|
|
|
+ obj.feeCnName = this.form.feeCnName;
|
|
|
finstlbillslistAccBillV1(obj).then(res => {
|
|
|
res.data.data.forEach((item, index) => {
|
|
|
item.accBillId = item.id;
|
|
|
@@ -1492,8 +1492,6 @@ export default {
|
|
|
this.form.billNoFormat = "HYDZ";
|
|
|
this.form.businessTypeCode = "HYDZ";
|
|
|
this.form.businessType = "CHK"; //对账单
|
|
|
- this.form.businessTypes = this.form.businessTypes ? this.form.businessTypes.join(",") : ""; // 业务类型
|
|
|
- this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(",") : "";
|
|
|
this.form.accountDateFrom = this.form.accountDateFrom ? this.form.accountDateFrom.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.accountDateTo = this.form.accountDateTo ? this.form.accountDateTo.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.auditDateFrom = this.form.auditDateFrom ? this.form.auditDateFrom.slice(0, 10) + " 00:00:00" : null;
|
|
|
@@ -1522,8 +1520,6 @@ export default {
|
|
|
this.form.billNoFormat = "HYDZ";
|
|
|
this.form.businessTypeCode = "HYDZ";
|
|
|
this.form.businessType = "CHK"; // 对账单
|
|
|
- this.form.businessTypes = this.form.businessTypes ? this.form.businessTypes.join(",") : ""; // 业务类型
|
|
|
- this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(",") : "";
|
|
|
this.form.accountDateFrom = this.form.accountDateFrom ? this.form.accountDateFrom.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.accountDateTo = this.form.accountDateTo ? this.form.accountDateTo.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.auditDateFrom = this.form.auditDateFrom ? this.form.auditDateFrom.slice(0, 10) + " 00:00:00" : null;
|
|
|
@@ -1547,8 +1543,6 @@ export default {
|
|
|
finstlbillsConfirmReconciliationfun() {
|
|
|
this.pageLoading = true;
|
|
|
this.saveLoading = true;
|
|
|
- this.form.businessTypes = this.form.businessTypes ? this.form.businessTypes.join(",") : ""; // 业务类型
|
|
|
- this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(",") : "";
|
|
|
this.form.accountDateFrom = this.form.accountDateFrom ? this.form.accountDateFrom.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.accountDateTo = this.form.accountDateTo ? this.form.accountDateTo.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.auditDateFrom = this.form.auditDateFrom ? this.form.auditDateFrom.slice(0, 10) + " 00:00:00" : null;
|
|
|
@@ -1577,8 +1571,6 @@ export default {
|
|
|
type: "warning"
|
|
|
}).then(() => {
|
|
|
this.pageLoading = true;
|
|
|
- this.form.businessTypes = this.form.businessTypes ? this.form.businessTypes.join(",") : ""; // 业务类型
|
|
|
- this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(",") : "";
|
|
|
this.form.accountDateFrom = this.form.accountDateFrom ? this.form.accountDateFrom.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.accountDateTo = this.form.accountDateTo ? this.form.accountDateTo.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.auditDateFrom = this.form.auditDateFrom ? this.form.auditDateFrom.slice(0, 10) + " 00:00:00" : null;
|
|
|
@@ -1657,8 +1649,6 @@ export default {
|
|
|
this.form.billNoFormat = "HYDZ";
|
|
|
this.form.businessTypeCode = "HYDZ";
|
|
|
this.form.businessType = "CHK"; //对账单
|
|
|
- this.form.businessTypes = this.form.businessTypes ? this.form.businessTypes.join(",") : ""; // 业务类型
|
|
|
- this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(",") : "";
|
|
|
this.form.accountDateFrom = this.form.accountDateFrom ? this.form.accountDateFrom.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.accountDateTo = this.form.accountDateTo ? this.form.accountDateTo.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.auditDateFrom = this.form.auditDateFrom ? this.form.auditDateFrom.slice(0, 10) + " 00:00:00" : null;
|
|
|
@@ -1697,8 +1687,6 @@ export default {
|
|
|
this.form.billNoFormat = "HYDZ";
|
|
|
this.form.businessTypeCode = "HYDZ";
|
|
|
this.form.businessType = "CHK"; // 对账单
|
|
|
- this.form.businessTypes = this.form.businessTypes ? this.form.businessTypes.join(",") : ""; // 业务类型
|
|
|
- this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(",") : "";
|
|
|
this.form.accountDateFrom = this.form.accountDateFrom ? this.form.accountDateFrom.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.accountDateTo = this.form.accountDateTo ? this.form.accountDateTo.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.auditDateFrom = this.form.auditDateFrom ? this.form.auditDateFrom.slice(0, 10) + " 00:00:00" : null;
|
|
|
@@ -1800,8 +1788,6 @@ export default {
|
|
|
this.form.billNoFormat = "HYDZ";
|
|
|
this.form.businessTypeCode = "HYDZ";
|
|
|
this.form.businessType = "CHK"; //对账单
|
|
|
- this.form.businessTypes = this.form.businessTypes ? this.form.businessTypes.join(",") : ""; // 业务类型
|
|
|
- this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(",") : "";
|
|
|
this.form.accountDateFrom = this.form.accountDateFrom ? this.form.accountDateFrom.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.accountDateTo = this.form.accountDateTo ? this.form.accountDateTo.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.auditDateFrom = this.form.auditDateFrom ? this.form.auditDateFrom.slice(0, 10) + " 00:00:00" : null;
|
|
|
@@ -1826,8 +1812,6 @@ export default {
|
|
|
this.form.billNoFormat = "HYDZ";
|
|
|
this.form.businessTypeCode = "HYDZ";
|
|
|
this.form.businessType = "CHK"; // 对账单
|
|
|
- this.form.businessTypes = this.form.businessTypes ? this.form.businessTypes.join(",") : ""; // 业务类型
|
|
|
- this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(",") : "";
|
|
|
this.form.accountDateFrom = this.form.accountDateFrom ? this.form.accountDateFrom.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.accountDateTo = this.form.accountDateTo ? this.form.accountDateTo.slice(0, 10) + " 00:00:00" : null; // 财务开始日期
|
|
|
this.form.auditDateFrom = this.form.auditDateFrom ? this.form.auditDateFrom.slice(0, 10) + " 00:00:00" : null;
|