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;