소스 검색

金额对比

zhengnaiwen_citu 3 달 전
부모
커밋
651b28da14
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
         }