浏览代码

金额对比

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
         }