diff --git a/src/views/workOrder/accounting.vue b/src/views/workOrder/accounting.vue index 17f1c4f9..d67aabd3 100644 --- a/src/views/workOrder/accounting.vue +++ b/src/views/workOrder/accounting.vue @@ -529,8 +529,8 @@ export default { this.form.supplierBasePrice = data.data.basePrice this.form.supplierExtraPrice = data.data.extraPrice this.form.supplierSettleAmount = data.data.totalPrice - if (data.supplierTyreAmount){ - this.form.supplierTyreAmount=data.supplierTyreAmount + if (data.data?.supplierTyreAmount){ + this.form.supplierTyreAmount=data.data.supplierTyreAmount } } // }