From 8350cfb2a5270e9843461ab56c51f4736f9c3605 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Tue, 19 Nov 2024 10:37:36 +0800 Subject: [PATCH] =?UTF-8?q?task#16101=EF=BC=8C=E5=B7=A5=E5=8D=95=E8=AE=B0?= =?UTF-8?q?=E8=B4=A6=E6=A8=A1=E5=9D=97=E6=8F=90=E7=A4=BA=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/workOrder/accounting.vue | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/views/workOrder/accounting.vue b/src/views/workOrder/accounting.vue index 21a8273e..b1785478 100644 --- a/src/views/workOrder/accounting.vue +++ b/src/views/workOrder/accounting.vue @@ -509,7 +509,7 @@ export default { }else { if (this.form.supplierOtherAmount > 0) { if (this.form.supplierOtherAmountRemark == '') { - this.$alert('请填写其他费用说明'); + this.$toast('请填写其他费用说明'); return; } } @@ -645,7 +645,8 @@ export default { this.form.supplierBasementFee = this.orderInfo.refBasementFee } if (this.form.supplierSettleRatio?.code != 5 && (this.serviceType == '困境救援' || this.serviceType == '困境-吊车' || this.serviceType == '困境救援-事故' || this.serviceType == '困境救援-故障')){ - await this.$alert("该案件为困境案件,需确认填写基本费用") + // await this.$alert("该案件为困境案件,需确认填写基本费用") + this.$toast("该案件为困境案件,需确认填写基本费用") } }, cancelBtn() { @@ -654,16 +655,16 @@ export default { async save() { if (this.form.supplierOtherAmount > 0) { if (this.form.supplierOtherAmountRemark == '') { - this.$alert('请填写其他费用说明'); + this.$toast('请填写其他费用说明'); return; } } - if (this.isBasement && ((this.form.supplierSettleRatio && this.form?.supplierSettleRatio?.code==3)|| this.form?.taskStatus?.code==19002) && (this.basePriceDisabled || this.isBasementSettle)&&this.form.supplierBasePrice>this.form.startPrice){ - this.$alert('取消或服务不成功结算的困境案件,基本费用的填写不能超过起步价'); + if (this.isBasement && ((this.form.supplierSettleRatio && this.form?.supplierSettleRatio?.code==3)|| this.form?.taskStatus?.code==19002) && !(this.basePriceDisabled || this.isBasementSettle) && (this.form.supplierBasePrice>this.form.startPrice)){ + this.$toast('取消或服务不成功结算的困境案件,基本费用的填写不能超过起步价'); return; } if (this.accountStatus >= 4) { - this.$alert('已进入后续流程,不允许操作'); + this.$toast('已进入后续流程,不允许操作'); return; } this.loading = true; @@ -717,7 +718,7 @@ export default { }, async confirmAudit() { if (this.accountStatus >= 4) { - this.$alert('已进入后续流程,不允许操作'); + this.$toast('已进入后续流程,不允许操作'); return; } this.loading1 = true;