From b885355e199a68a4cec1723c77e89f75508a8593 Mon Sep 17 00:00:00 2001 From: yujk <990961482@qq.com> Date: Fri, 20 May 2022 13:23:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E5=86=9Capp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../paymentAccount/paymentAccountAdd.vue | 4 +- .../paymentApproval/approvalAdd12.vue | 12 +- .../paymentApproval/approvalApproval.vue | 96 ++++--- .../paymentApproval/approvalApproval10.vue | 243 ++++-------------- .../paymentApproval/approvalDetail10.vue | 23 +- .../paymentApproval/approvalModify12.vue | 46 +++- src/views/yinnong/done.vue | 15 +- 7 files changed, 182 insertions(+), 257 deletions(-) diff --git a/src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountAdd.vue b/src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountAdd.vue index c5e13b70..1bd7bcbc 100644 --- a/src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountAdd.vue +++ b/src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountAdd.vue @@ -213,9 +213,9 @@ - + - + 是 否 diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd12.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd12.vue index d4124f87..c5ebe188 100644 --- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd12.vue +++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd12.vue @@ -412,11 +412,9 @@ pageSize: 1000, } listMoneyorder(params1).then((response) => { - console.log(response) this.payerOptions = response.rows; response.rows.map((res,index) => { res['payerFrom'] = '12' - console.log(res) this.payerOptions[index].text = res.billReceiveUnit; this.payerOptions[index].value = res.id; }) @@ -455,7 +453,6 @@ } listProject(queryParams).then(response => { _this.projectList = response.rows; - console.log(response) for (let i = 0; i < response.rows.length; i++) { //_this.projectList[i].set({text: response.rows[i].projectName, value: response.rows[i].id}); _this.$set(_this.projectList[i],"text",response.rows[i].projectName) @@ -638,13 +635,12 @@ }, onConfirmPayer(select){ this.showpayer = false; - console.log(this.form,select) if(this.form.applyDate==""||this.form.applyDate==null){ this.$set(this.form, "payer", "") this.$notify({ type: 'danger', message: "请先选择申请时间!"}); this.orderTypeName = '' }else{ - if(this.form.applyDate>select.endTime){ + if(this.form.applyDate>new Date(select.endTime)){ this.$notify({ type: 'danger', message: "当前申请时间大于汇票的到期日为"+select.endTime+",无法使用!"}); this.$set(this.form, "payer", "") this.form.payerAccount = "" @@ -654,7 +650,7 @@ this.form.expenditureAmount = "" this.$set(this.form, "cashierId", "") this.orderTypeName = '' - }else if(this.form.applyDate { - console.log(this.orderTypeOptions) if(res.dictValue==this.form.orderType){ this.orderTypeName = res.dictLabel } @@ -699,7 +694,6 @@ }, // 钱计算 moneyChange(input) { - console.log(input) let obj = {}; obj = this.chargeItme.find((account) => { //model就是上面的数据源 @@ -750,7 +744,6 @@ message: '此申请单中未上传任何附件,是否确认提交?', }) .then(() => { - console.log(this.form) addCash(this.form).then((response) => { this.chargeItme.map(res => { res.cashId = response.data.id @@ -890,7 +883,6 @@ } } addCash(this.form).then((response) => { - console.log(this.uploadFiles) this.uploadFiles1.map(rr => { const params = new FormData(); params.append("tableId", response.data.id); diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalApproval.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalApproval.vue index 53cb76d2..9fb5de49 100644 --- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalApproval.vue +++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalApproval.vue @@ -20,12 +20,13 @@ - + 线上支付 线下支付 + @@ -49,12 +50,18 @@ + + + + + - 列表信息 + 收款方信息 - - + + + @@ -66,33 +73,18 @@ - 上传附件(收据) - - - - - 附件下载(收据){{fileList1&&fileList1.length==0?':暂无可下载文件':''}} - - {{index+1}}.{{item.fileName}} - - 上传附件(发票) - - - - - 附件下载(发票){{fileList2&&fileList2.length==0?':暂无可下载文件':''}} - - {{index+1}}.{{item.fileName}} - - 上传附件(其他) - - - + 上传附件 + + + + + + + + + + - 附件下载(其他){{fileList3&&fileList3.length==0?':暂无可下载文件':''}} - - {{index+1}}.{{item.fileName}} - 审批意见 @@ -101,7 +93,7 @@ 同意 驳回 - + @@ -119,7 +111,7 @@
列表信息
收款方信息
上传附件(收据)
附件下载(收据){{fileList1&&fileList1.length==0?':暂无可下载文件':''}}
上传附件(发票)
附件下载(发票){{fileList2&&fileList2.length==0?':暂无可下载文件':''}}
上传附件(其他)
上传附件
附件下载(其他){{fileList3&&fileList3.length==0?':暂无可下载文件':''}}