diff --git a/src/views/Repository/RepCategory.vue b/src/views/Repository/RepCategory.vue index 23c085e6..026dd093 100644 --- a/src/views/Repository/RepCategory.vue +++ b/src/views/Repository/RepCategory.vue @@ -27,7 +27,7 @@ {{ $t('public.print') }} - {{ $t('updates.lx') }} + {{ $t('public.add') }} diff --git a/src/views/SaleContract/AddSaleContract.vue b/src/views/SaleContract/AddSaleContract.vue index cab7795a..adad1c01 100644 --- a/src/views/SaleContract/AddSaleContract.vue +++ b/src/views/SaleContract/AddSaleContract.vue @@ -466,7 +466,7 @@ export default { components: { MyAgent, MyPackage, MyCustomer, MyInstallmentapply, MyOpportunity, MyDelivery, MyPlan, MyApply, MySupplier, MyDetail, MyEmp }, data() { const validatePass4 = (rule, value, callback) => { - if (this.customerId === undefined || this.customerId === null || this.customerId === '') { + if (this.personalForm.customerId === undefined || this.personalForm.customerId === null || this.personalForm.customerId === '') { callback(new Error('请选择客户')) } else { callback()