Browse Source

Merge tag 'Hotfix-zh-305' into develop

Finish Hotfix-zh-304
howie 2 years ago
parent
commit
442ae2bbed
1 changed files with 2 additions and 2 deletions
  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) {