task#16101,工单记账模块提示样式更改

This commit is contained in:
2024-11-19 10:37:36 +08:00
parent 872e0ea91a
commit 8350cfb2a5

View File

@ -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;