task#16101,工单记账模块提示样式更改
This commit is contained in:
@ -509,7 +509,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
if (this.form.supplierOtherAmount > 0) {
|
if (this.form.supplierOtherAmount > 0) {
|
||||||
if (this.form.supplierOtherAmountRemark == '') {
|
if (this.form.supplierOtherAmountRemark == '') {
|
||||||
this.$alert('请填写其他费用说明');
|
this.$toast('请填写其他费用说明');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -645,7 +645,8 @@ export default {
|
|||||||
this.form.supplierBasementFee = this.orderInfo.refBasementFee
|
this.form.supplierBasementFee = this.orderInfo.refBasementFee
|
||||||
}
|
}
|
||||||
if (this.form.supplierSettleRatio?.code != 5 && (this.serviceType == '困境救援' || this.serviceType == '困境-吊车' || this.serviceType == '困境救援-事故' || this.serviceType == '困境救援-故障')){
|
if (this.form.supplierSettleRatio?.code != 5 && (this.serviceType == '困境救援' || this.serviceType == '困境-吊车' || this.serviceType == '困境救援-事故' || this.serviceType == '困境救援-故障')){
|
||||||
await this.$alert("该案件为困境案件,需确认填写基本费用")
|
// await this.$alert("该案件为困境案件,需确认填写基本费用")
|
||||||
|
this.$toast("该案件为困境案件,需确认填写基本费用")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
cancelBtn() {
|
cancelBtn() {
|
||||||
@ -654,16 +655,16 @@ export default {
|
|||||||
async save() {
|
async save() {
|
||||||
if (this.form.supplierOtherAmount > 0) {
|
if (this.form.supplierOtherAmount > 0) {
|
||||||
if (this.form.supplierOtherAmountRemark == '') {
|
if (this.form.supplierOtherAmountRemark == '') {
|
||||||
this.$alert('请填写其他费用说明');
|
this.$toast('请填写其他费用说明');
|
||||||
return;
|
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){
|
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('取消或服务不成功结算的困境案件,基本费用的填写不能超过起步价');
|
this.$toast('取消或服务不成功结算的困境案件,基本费用的填写不能超过起步价');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.accountStatus >= 4) {
|
if (this.accountStatus >= 4) {
|
||||||
this.$alert('已进入后续流程,不允许操作');
|
this.$toast('已进入后续流程,不允许操作');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
@ -717,7 +718,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async confirmAudit() {
|
async confirmAudit() {
|
||||||
if (this.accountStatus >= 4) {
|
if (this.accountStatus >= 4) {
|
||||||
this.$alert('已进入后续流程,不允许操作');
|
this.$toast('已进入后续流程,不允许操作');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.loading1 = true;
|
this.loading1 = true;
|
||||||
|
Reference in New Issue
Block a user