Procházet zdrojové kódy

Finish Hotfix-zh-304

howie před 2 roky
rodič
revize
361539077a

+ 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) {