소스 검색

Merge branch 'master' into new

howie 2 년 전
부모
커밋
3839bc3292
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/supply/engin/components/engin_form.vue

+ 2 - 2
src/views/supply/engin/components/engin_form.vue

@@ -873,8 +873,8 @@ export default {
               this.$errorMsg('请选择销售类型')
               return
             }
-            if (!Number(this.goodsList[i].qty)) {
-              this.$errorMsg('不允许数量为0')
+            if (Number(this.goodsList[i].qty) < 0) {
+              this.$errorMsg('数量不能小于0')
               return
             }
             if (!this.goodsList[i].materialNumber) {