|
@@ -829,7 +829,7 @@
|
|
|
</el-select>
|
|
|
</template>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="仓储业务" prop="fFeeid" v-if="typevalue == 1">
|
|
|
+ <el-form-item label="仓储业务" prop="fFeeid" v-if="typevalue == 1 || typevalue == 3">
|
|
|
<el-select
|
|
|
v-model="queryParameter.fBilltype"
|
|
|
size="small"
|
|
@@ -864,7 +864,7 @@
|
|
|
<el-form-item
|
|
|
label="审核日期"
|
|
|
prop="timeExamine"
|
|
|
- v-if="typevalue == 1"
|
|
|
+ v-if="typevalue == 1 || typevalue == 3"
|
|
|
>
|
|
|
<el-date-picker
|
|
|
size="small"
|
|
@@ -882,7 +882,7 @@
|
|
|
label="出入库日期"
|
|
|
label-width="85px"
|
|
|
prop="fAccbilldate"
|
|
|
- v-if="typevalue == 1"
|
|
|
+ v-if="typevalue == 1 || typevalue == 3"
|
|
|
>
|
|
|
<el-date-picker
|
|
|
size="small"
|
|
@@ -2414,18 +2414,35 @@ export default {
|
|
|
return sums;
|
|
|
},
|
|
|
approvalRevocation() {
|
|
|
- let data = {
|
|
|
- id: this.queryParams.fId,
|
|
|
- actId: this.contrastId,
|
|
|
- billId: this.queryParams.fId,
|
|
|
- };
|
|
|
- revocation(data).then((data) => {
|
|
|
- if (data.code === 200) {
|
|
|
- this.$message.success("撤销成功");
|
|
|
- this.open = false;
|
|
|
- this.getList();
|
|
|
- }
|
|
|
- });
|
|
|
+ if(Cookies.get("sysType") == 3){
|
|
|
+ let data = {
|
|
|
+ id: this.queryParams.fId,
|
|
|
+ actId: 450,
|
|
|
+ billId: this.queryParams.fId,
|
|
|
+ };
|
|
|
+ revocation(data).then((data) => {
|
|
|
+ if (data.code === 200) {
|
|
|
+ this.$message.success("撤销成功");
|
|
|
+ this.mainTable = false
|
|
|
+ this.open = false;
|
|
|
+ this.getList();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ let data = {
|
|
|
+ id: this.queryParams.fId,
|
|
|
+ actId: this.contrastId,
|
|
|
+ billId: this.queryParams.fId,
|
|
|
+ };
|
|
|
+ revocation(data).then((data) => {
|
|
|
+ if (data.code === 200) {
|
|
|
+ this.$message.success("撤销成功");
|
|
|
+ this.mainTable = false
|
|
|
+ this.open = false;
|
|
|
+ this.getList();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
changefBilltype() {
|
|
|
this.businessTypeOption = [];
|
|
@@ -2476,6 +2493,7 @@ export default {
|
|
|
adoPt() {
|
|
|
this.approval = this.$route.query.data;
|
|
|
if (this.approval) {
|
|
|
+ this.doNot = true
|
|
|
this.Xbutton = false;
|
|
|
this.approval = JSON.parse(this.approval);
|
|
|
this.hide = false;
|
|
@@ -2544,6 +2562,31 @@ export default {
|
|
|
this.mainTable = true;
|
|
|
this.title = "修改付费列表";
|
|
|
});
|
|
|
+ }else if(Cookies.get("sysType") == 3){
|
|
|
+ getCharge(this.approval.billId).then((response) => {
|
|
|
+ this.Operator = response.data.tFee.createBy;
|
|
|
+ if (response.data.feeDoList != 0) {
|
|
|
+ response.data.feeDoList.map((e) => {
|
|
|
+ if (e.fBsdate) {
|
|
|
+ e.fBsdate = e.fBsdate.slice(0, 10);
|
|
|
+ }
|
|
|
+ if (e.fSrcdc) {
|
|
|
+ if (e.fSrcdc == "D") {
|
|
|
+ e.fSrcdc = "收";
|
|
|
+ } else {
|
|
|
+ e.fSrcdc = "付";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.increase_s = response.data.feeDoList;
|
|
|
+ this.fWbuOptions = response.data.feesList;
|
|
|
+ this.queryParams = response.data.tFee;
|
|
|
+ this.fWbuOptions = response.data.feesList;
|
|
|
+ this.fMblnoOptions = response.data.corps;
|
|
|
+ this.mainTable = true;
|
|
|
+ this.title = "修改付费列表";
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -2578,10 +2621,17 @@ export default {
|
|
|
immediateApproval() {
|
|
|
this.addOrUpdateVisib = true;
|
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.ApprovalComments.init(
|
|
|
- this.approval.billId,
|
|
|
- this.approval.actId
|
|
|
- );
|
|
|
+ if(Cookies.get("sysType") == 3){
|
|
|
+ this.$refs.ApprovalComments.init(
|
|
|
+ this.approval.billId,
|
|
|
+ 450
|
|
|
+ );
|
|
|
+ }else{
|
|
|
+ this.$refs.ApprovalComments.init(
|
|
|
+ this.approval.billId,
|
|
|
+ this.approval.actId
|
|
|
+ );
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
// 查看审批流
|
|
@@ -2591,7 +2641,11 @@ export default {
|
|
|
let id = "448";
|
|
|
let actId = "110";
|
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.addOrUpdate.init(this.queryParams.fId, this.contrastId);
|
|
|
+ if(Cookies.get("sysType") == 3){
|
|
|
+ this.$refs.addOrUpdate.init(this.queryParams.fId, 450);
|
|
|
+ }else{
|
|
|
+ this.$refs.addOrUpdate.init(this.queryParams.fId, this.contrastId);
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
|
|
@@ -2603,6 +2657,7 @@ export default {
|
|
|
formDate.append("tFeeDo", JSON.stringify(this.increase_s));
|
|
|
backCharge(formDate).then((response) => {
|
|
|
this.open = false;
|
|
|
+ this.mainTable = false
|
|
|
this.msgSuccess("操作成功");
|
|
|
this.getList();
|
|
|
});
|
|
@@ -2817,6 +2872,111 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
+ }else if(Cookies.get("sysType") == 3){
|
|
|
+ getCharge(row.fId).then((response) => {
|
|
|
+ this.Operator = response.data.tFee.createBy;
|
|
|
+ if (response.data.feeDoList != 0) {
|
|
|
+ response.data.feeDoList.map((e) => {
|
|
|
+ if (e.fBsdate) {
|
|
|
+ e.fBsdate = e.fBsdate.slice(0, 10);
|
|
|
+ }
|
|
|
+ if (e.fSrcdc) {
|
|
|
+ if (e.fSrcdc == "D") {
|
|
|
+ e.fSrcdc = "收";
|
|
|
+ } else {
|
|
|
+ e.fSrcdc = "付";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.increase_s = response.data.feeDoList;
|
|
|
+ this.fWbuOptions = response.data.feesList;
|
|
|
+ this.queryParams = response.data.tFee;
|
|
|
+ this.fWbuOptions = response.data.feesList;
|
|
|
+ this.fMblnoOptions = response.data.corps;
|
|
|
+ this.mainTable = true;
|
|
|
+ this.mainTable = true
|
|
|
+ this.title = "付费列表";
|
|
|
+ this.tablefilter = true;
|
|
|
+ if (res == 1) {
|
|
|
+ console.log(this.Operator)
|
|
|
+ console.log(this.Lander)
|
|
|
+ this.notChange = true;
|
|
|
+ if (this.Operator == this.Lander) {
|
|
|
+ this.tablefilter = false;
|
|
|
+ this.reset();
|
|
|
+ this.pass = {
|
|
|
+ fAmtdr: 0, //应收合计
|
|
|
+ fAmtcr: 0, //应付合计
|
|
|
+ fMblno: "", //提单号
|
|
|
+ fName: "", //货权方
|
|
|
+ fFeesName: "", //结算单位
|
|
|
+ fCorpid: "", //结算单位ID
|
|
|
+ };
|
|
|
+ const fId = row.fId || this.ids;
|
|
|
+ getCharge(fId).then((response) => {
|
|
|
+ if (response.data.feeDoList != 0) {
|
|
|
+ response.data.feeDoList.map((e) => {
|
|
|
+ if (e.fBsdate) {
|
|
|
+ e.fBsdate = e.fBsdate.slice(0, 10);
|
|
|
+ }
|
|
|
+ if (e.fSrcdc) {
|
|
|
+ if (e.fSrcdc == "D") {
|
|
|
+ e.fSrcdc = "收";
|
|
|
+ } else {
|
|
|
+ e.fSrcdc = "付";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.increase_s = response.data.feeDoList;
|
|
|
+ this.fWbuOptions = response.data.feesList;
|
|
|
+ this.queryParams = response.data.tFee;
|
|
|
+ this.fWbuOptions = response.data.feesList;
|
|
|
+ this.fMblnoOptions = response.data.corps;
|
|
|
+ this.mainTable = true;
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.notChange = true;
|
|
|
+ // this.$message.error('未知异常,请联系管理员')
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ this.notChange = true;
|
|
|
+ this.reset();
|
|
|
+ this.pass = {
|
|
|
+ fAmtdr: 0, //应收合计
|
|
|
+ fAmtcr: 0, //应付合计
|
|
|
+ fMblno: "", //提单号
|
|
|
+ fName: "", //货权方
|
|
|
+ fFeesName: "", //结算单位
|
|
|
+ fCorpid: "", //结算单位ID
|
|
|
+ };
|
|
|
+ const fId = row.fId || this.ids;
|
|
|
+ getCharge(fId).then((response) => {
|
|
|
+ if (response.data.feeDoList != 0) {
|
|
|
+ response.data.feeDoList.map((e) => {
|
|
|
+ if (e.fBsdate) {
|
|
|
+ e.fBsdate = e.fBsdate.slice(0, 10);
|
|
|
+ }
|
|
|
+ if (e.fSrcdc) {
|
|
|
+ if (e.fSrcdc == "D") {
|
|
|
+ e.fSrcdc = "收";
|
|
|
+ } else {
|
|
|
+ e.fSrcdc = "付";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.increase_s = response.data.feeDoList;
|
|
|
+ this.fWbuOptions = response.data.feesList;
|
|
|
+ this.queryParams = response.data.tFee;
|
|
|
+ this.fWbuOptions = response.data.feesList;
|
|
|
+ this.fMblnoOptions = response.data.corps;
|
|
|
+ this.mainTable = true;
|
|
|
+ this.tablefilter = true;
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
//打印功能
|
|
@@ -2864,12 +3024,39 @@ export default {
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
|
});
|
|
|
- } else {
|
|
|
+ } else if(Cookies.get("sysType") == 2){
|
|
|
collectFees(formDate).then((response) => {
|
|
|
this.msgSuccess("操作成功");
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
|
});
|
|
|
+ }else if(Cookies.get("sysType") == 3){
|
|
|
+ formDate.append('billsType','KHFF')
|
|
|
+ collectFee(formDate).then((response) => {
|
|
|
+ this.msgSuccess("操作成功");
|
|
|
+ this.getList();
|
|
|
+ this.queryParams = {
|
|
|
+ fId: null,
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 10,
|
|
|
+ fBillno: null,
|
|
|
+ fCtrlcorpid: null,
|
|
|
+ fCorpid: null,
|
|
|
+ tMblno: null,
|
|
|
+ fAmtdr: null,
|
|
|
+ fAmtcr: null,
|
|
|
+ fBilltype: null,
|
|
|
+ fBillstatus: null,
|
|
|
+ fRemarks: null,
|
|
|
+ fAccbilldate: null,
|
|
|
+ fDeptid: null,
|
|
|
+ chargingMethod: null,
|
|
|
+ invoiceNo: null,
|
|
|
+ bank: null,
|
|
|
+ waterBillNo: null,
|
|
|
+ }
|
|
|
+ this.increase_s = []
|
|
|
+ });
|
|
|
}
|
|
|
} else {
|
|
|
this.$message.error("表单为空不允许操作");
|
|
@@ -2952,55 +3139,126 @@ export default {
|
|
|
},
|
|
|
//确认导入
|
|
|
confirmImport() {
|
|
|
- this.doNot = true;
|
|
|
this.hide = true;
|
|
|
+ this.pass.fAmtdr = 0;
|
|
|
+ this.pass.fAmtcr = 0;
|
|
|
for (let item in this.selection) {
|
|
|
+ this.pass.fAmtcr = Number(this.pass.fAmtcr);
|
|
|
+ this.pass.fAmtdr = Number(this.pass.fAmtdr);
|
|
|
this.pass.fAmtcr += Number(this.selection[item].fAmt);
|
|
|
this.pass.fAmtdr += Number(this.selection[item].fAmtdr);
|
|
|
}
|
|
|
- console.log(this.pass.fAmtcr);
|
|
|
if (this.state_s == true) {
|
|
|
if (this.selection.length == "0") {
|
|
|
this.$message.error("未选择导入行");
|
|
|
} else {
|
|
|
+ let Num = []
|
|
|
for (let item in this.selection) {
|
|
|
this.empty.push(this.selection[item].fMblno);
|
|
|
this.nothing.push(this.selection[item].fName);
|
|
|
- }
|
|
|
- //去重提单号
|
|
|
- this.empty = new Set(this.empty);
|
|
|
- this.empty = Array.from(this.empty);
|
|
|
- //去重货权方
|
|
|
- this.nothing = new Set(this.nothing);
|
|
|
- this.nothing = Array.from(this.nothing);
|
|
|
+ if (this.increase_s.length === 0) {
|
|
|
+ this.increase_s = this.increase_s.concat(this.selection);
|
|
|
+ //去重提单号
|
|
|
+ this.empty = new Set(this.empty);
|
|
|
+ this.empty = Array.from(this.empty);
|
|
|
+ //去重货权方
|
|
|
+ this.nothing = new Set(this.nothing);
|
|
|
+ this.nothing = Array.from(this.nothing);
|
|
|
|
|
|
- if (this.empty.length <= 1) {
|
|
|
- this.pass.fMblno = this.empty[0];
|
|
|
- } else {
|
|
|
- this.pass.fMblno = this.empty[0] + "...";
|
|
|
- }
|
|
|
- if (this.nothing.length <= 1) {
|
|
|
- this.pass.fName = this.nothing[0];
|
|
|
- } else {
|
|
|
- this.pass.fName = this.nothing[0] + "...";
|
|
|
+ if (this.empty.length <= 1) {
|
|
|
+ this.pass.fMblno = this.empty[0];
|
|
|
+ } else {
|
|
|
+ this.pass.fMblno = this.empty[0] + "...";
|
|
|
+ }
|
|
|
+ if (this.nothing.length <= 1) {
|
|
|
+ this.pass.fName = this.nothing[0];
|
|
|
+ } else {
|
|
|
+ this.pass.fName = this.nothing[0] + "...";
|
|
|
+ }
|
|
|
+ this.queryParams.tMblno = this.pass.fMblno; //提单号
|
|
|
+ this.queryParams.fCtrlcorpid = this.pass.fName;
|
|
|
+ this.queryParams.fCorpid = this.queryParameter.fToCorpid;
|
|
|
+ this.queryParams.fAmtcr = this.pass.fAmtcr;
|
|
|
+ this.queryParams.fAmtdr = this.pass.fAmtdr;
|
|
|
+ this.innerVisible = false;
|
|
|
+ this.chargeList_s = [];
|
|
|
+ this.queryParameter = {
|
|
|
+ fCorpid: "",
|
|
|
+ fToCorpid: this.queryParams.fCorpid,
|
|
|
+ fMblno: "",
|
|
|
+ fStatementNo: "",
|
|
|
+ fFeeid: "",
|
|
|
+ timeExamine: "",
|
|
|
+ timeInterval: "",
|
|
|
+ fSystemType: Cookies.get("sysType")
|
|
|
+ };
|
|
|
+ return
|
|
|
+ }else{
|
|
|
+ for (let li in this.increase_s) {
|
|
|
+ if (this.selection[item].fSrcid !== this.increase_s[li].fSrcid) {
|
|
|
+ this.Fee = this.increase_s.concat(this.selection);
|
|
|
+ console.log(this.Fee);
|
|
|
+ let result = [];
|
|
|
+ let obj = {};
|
|
|
+ for (let lis in this.Fee) {
|
|
|
+ if (!obj[this.Fee[lis].fSrcid]) {
|
|
|
+ result.push(this.Fee[lis]);
|
|
|
+ obj[this.Fee[lis].fSrcid] = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //去重提单号
|
|
|
+ this.empty = new Set(this.empty);
|
|
|
+ this.empty = Array.from(this.empty);
|
|
|
+ //去重货权方
|
|
|
+ this.nothing = new Set(this.nothing);
|
|
|
+ this.nothing = Array.from(this.nothing);
|
|
|
+
|
|
|
+ if (this.empty.length <= 1) {
|
|
|
+ this.pass.fMblno = this.empty[0];
|
|
|
+ } else {
|
|
|
+ this.pass.fMblno = this.empty[0] + "...";
|
|
|
+ }
|
|
|
+ if (this.nothing.length <= 1) {
|
|
|
+ this.pass.fName = this.nothing[0];
|
|
|
+ } else {
|
|
|
+ this.pass.fName = this.nothing[0] + "...";
|
|
|
+ }
|
|
|
+ // this.increase_s = this.increase_s.concat(this.selection);
|
|
|
+ this.queryParams.tMblno = this.pass.fMblno; //提单号
|
|
|
+ this.queryParams.fCtrlcorpid = this.pass.fName;
|
|
|
+ this.queryParams.fCorpid = this.queryParameter.fToCorpid;
|
|
|
+ this.queryParams.fAmtcr = Number(this.pass.fAmtcr).toFixed(2);
|
|
|
+ this.queryParams.fAmtdr = Number(this.pass.fAmtdr).toFixed(2);
|
|
|
+ this.innerVisible = false;
|
|
|
+ this.chargeList_s = [];
|
|
|
+ this.queryParameter = {
|
|
|
+ fCorpid: "",
|
|
|
+ fToCorpid: this.queryParams.fCorpid,
|
|
|
+ fMblno: "",
|
|
|
+ fStatementNo: "",
|
|
|
+ fFeeid: "",
|
|
|
+ fBilltype: "",
|
|
|
+ fBusinessType: "",
|
|
|
+ fVslid: "",
|
|
|
+ fVoyid: "",
|
|
|
+ timeExamine: "",
|
|
|
+ timeInterval: "",
|
|
|
+ fSystemType: Cookies.get("sysType")
|
|
|
+ };
|
|
|
+ this.increase_s = result;
|
|
|
+ } else {
|
|
|
+ let i = Number(item) + 1;
|
|
|
+ Num += i + '、'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
- this.increase_s = this.increase_s.concat(this.selection);
|
|
|
- this.queryParams.tMblno = this.pass.fMblno; //提单号
|
|
|
- this.queryParams.fCtrlcorpid = this.pass.fName;
|
|
|
- this.queryParams.fCorpid = this.queryParameter.fToCorpid;
|
|
|
- this.queryParams.fAmtcr = this.pass.fAmtcr;
|
|
|
- this.queryParams.fAmtdr = this.pass.fAmtdr;
|
|
|
- this.innerVisible = false;
|
|
|
- this.chargeList_s = [];
|
|
|
- this.queryParameter = {
|
|
|
- fCorpid: "",
|
|
|
- fToCorpid: "",
|
|
|
- fMblno: "",
|
|
|
- fStatementNo: "",
|
|
|
- fFeeid: "",
|
|
|
- timeExamine: "",
|
|
|
- timeInterval: "",
|
|
|
- };
|
|
|
+ MessageBox.confirm("第" + (Num).slice(0,Num.length-1) + "行重复,请重新选择",{
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }
|
|
|
+ )
|
|
|
}
|
|
|
} else if (this.state_s == false) {
|
|
|
this.$message.error("本次金额不能大于原定金额");
|
|
@@ -3031,6 +3289,13 @@ export default {
|
|
|
this.total = response.total;
|
|
|
this.loading = false;
|
|
|
});
|
|
|
+ }else if(Cookies.get("sysType") == 3){
|
|
|
+ this.tableFilter.fBilltype = 'KHFF'
|
|
|
+ listCharge(this.tableFilter).then((response) => {
|
|
|
+ this.chargeList = response.rows;
|
|
|
+ this.total = response.total;
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
// 取消按钮
|
|
@@ -3094,7 +3359,7 @@ export default {
|
|
|
this.Ttime += Number(this.chargeList_s[item].fAmtdr);
|
|
|
}
|
|
|
});
|
|
|
- } else {
|
|
|
+ } else if(Cookies.get("sysType") == 2){
|
|
|
searchs(this.queryParameter).then((response) => {
|
|
|
this.chargeList_s = response.rows;
|
|
|
this.$message.success("查询成功");
|
|
@@ -3103,6 +3368,16 @@ export default {
|
|
|
this.Ttime += Number(this.chargeList_s[item].fAmtdr);
|
|
|
}
|
|
|
});
|
|
|
+ }else if(Cookies.get("sysType") == 3){
|
|
|
+ this.queryParameter.fSystemType = this.queryParams.fSystemType
|
|
|
+ search(this.queryParameter).then((response) => {
|
|
|
+ this.chargeList_s = response.rows;
|
|
|
+ this.$message.success("查询成功");
|
|
|
+ for (let item in this.chargeList_s) {
|
|
|
+ this.totAL += Number(this.chargeList_s[item].fAmt);
|
|
|
+ this.Ttime += Number(this.chargeList_s[item].fAmtdr);
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
} else {
|
|
|
this.rules = {
|
|
@@ -3127,7 +3402,7 @@ export default {
|
|
|
this.$message.error("暂无数据");
|
|
|
}
|
|
|
});
|
|
|
- } else {
|
|
|
+ } else if(Cookies.get("sysType") == 2){
|
|
|
searchs(this.queryParameter).then((response) => {
|
|
|
this.chargeList_s = response.rows;
|
|
|
if (this.chargeList_s.length !== 0) {
|
|
@@ -3142,6 +3417,22 @@ export default {
|
|
|
this.$message.error("暂无数据");
|
|
|
}
|
|
|
});
|
|
|
+ }else if(Cookies.get("sysType") == 3){
|
|
|
+ this.queryParameter.fSystemType = this.queryParams.fSystemType
|
|
|
+ search(this.queryParameter).then((response) => {
|
|
|
+ this.chargeList_s = response.rows;
|
|
|
+ if (this.chargeList_s.length !== 0) {
|
|
|
+ this.$message.success("查询成功");
|
|
|
+ this.totAL = 0;
|
|
|
+ this.Ttime = 0;
|
|
|
+ for (let item in this.chargeList_s) {
|
|
|
+ this.totAL += Number(this.chargeList_s[item].fAmt);
|
|
|
+ this.Ttime += Number(this.chargeList_s[item].fAmtdr);
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ this.$message.error("暂无数据");
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
});
|
|
@@ -3202,16 +3493,16 @@ export default {
|
|
|
this.mainTable = true
|
|
|
this.hide = true;
|
|
|
this.reset();
|
|
|
- (this.pass = {
|
|
|
+ this.pass = {
|
|
|
fAmtdr: 0, //应收合计
|
|
|
fAmtcr: 0, //应付合计
|
|
|
fMblno: "", //提单号
|
|
|
fName: "", //货权方
|
|
|
fFeesName: "", //结算单位
|
|
|
fCorpid: "", //结算单位ID
|
|
|
- }),
|
|
|
+ },
|
|
|
// this.queryParams = []
|
|
|
- (this.increase_s = []);
|
|
|
+ this.increase_s = [];
|
|
|
this.queryParams = {
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
@@ -3232,6 +3523,7 @@ export default {
|
|
|
waterBillNo: null,
|
|
|
fSystemType: Cookies.get("sysType"),
|
|
|
};
|
|
|
+ this.doNot = false
|
|
|
this.resetForm("queryParams");
|
|
|
this.mainTable = true;
|
|
|
this.title = "添加财务数据主";
|
|
@@ -3303,6 +3595,31 @@ export default {
|
|
|
this.mainTable = true;
|
|
|
this.title = "修改付费列表";
|
|
|
});
|
|
|
+ }else if(Cookies.get("sysType") == 3){
|
|
|
+ getCharge(fId).then((response) => {
|
|
|
+ this.Operator = response.data.tFee.createBy;
|
|
|
+ if (response.data.feeDoList != 0) {
|
|
|
+ response.data.feeDoList.map((e) => {
|
|
|
+ if (e.fBsdate) {
|
|
|
+ e.fBsdate = e.fBsdate.slice(0, 10);
|
|
|
+ }
|
|
|
+ if (e.fSrcdc) {
|
|
|
+ if (e.fSrcdc == "D") {
|
|
|
+ e.fSrcdc = "收";
|
|
|
+ } else {
|
|
|
+ e.fSrcdc = "付";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.increase_s = response.data.feeDoList;
|
|
|
+ this.fWbuOptions = response.data.feesList;
|
|
|
+ this.queryParams = response.data.tFee;
|
|
|
+ this.fWbuOptions = response.data.feesList;
|
|
|
+ this.fMblnoOptions = response.data.corps;
|
|
|
+ this.mainTable = true;
|
|
|
+ this.title = "修改付费列表";
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
@@ -3318,15 +3635,17 @@ export default {
|
|
|
if (Cookies.get("sysType") == 1) {
|
|
|
addCharge(formData).then((response) => {
|
|
|
this.msgSuccess("新增成功");
|
|
|
- // this.increase_s = []
|
|
|
- // this.open = false
|
|
|
this.getList();
|
|
|
});
|
|
|
- } else {
|
|
|
+ } else if(Cookies.get("sysType") == 2){
|
|
|
addCharges(formData).then((response) => {
|
|
|
this.msgSuccess("新增成功");
|
|
|
- // this.increase_s = []
|
|
|
- // this.open = false
|
|
|
+ this.getList();
|
|
|
+ });
|
|
|
+ }else if(Cookies.get("sysType") == 3){
|
|
|
+ formData.append("billsType", 'KHFF');
|
|
|
+ addCharge(formData).then((response) => {
|
|
|
+ this.msgSuccess("新增成功");
|
|
|
this.getList();
|
|
|
});
|
|
|
}
|
|
@@ -3352,13 +3671,21 @@ export default {
|
|
|
// this.open = false
|
|
|
this.getList();
|
|
|
});
|
|
|
- } else {
|
|
|
+ } else if(Cookies.get("sysType") == 2){
|
|
|
addCharges(formData).then((response) => {
|
|
|
this.msgSuccess("修改成功");
|
|
|
// this.increase_s = []
|
|
|
// this.open = false
|
|
|
this.getList();
|
|
|
});
|
|
|
+ }else if(Cookies.get("sysType") == 3){
|
|
|
+ formData.append("billsType", 'KHFF');
|
|
|
+ addCharge(formData).then((response) => {
|
|
|
+ this.msgSuccess("修改成功");
|
|
|
+ // this.increase_s = []
|
|
|
+ // this.open = false
|
|
|
+ this.getList();
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
}
|