zhengnaiwen_citu 3 miesięcy temu
rodzic
commit
651b28da14
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/salary/claim/staff/staffForm.vue

+ 1 - 1
src/views/salary/claim/staff/staffForm.vue

@@ -133,7 +133,7 @@ export default {
         if (!valid) {
           return
         }
-        if (this.formValues.amount > this.itemData.residualAmount) {
+        if (+this.formValues.amount > +this.itemData.residualAmount) {
           this.$message.error('分润金额不能大于认领金额')
           return
         }