Prechádzať zdrojové kódy

Merge branch 'hotfix/Hotfix-zh-309' into develop

howie 2 rokov pred
rodič
commit
fe44667d48

+ 5 - 3
src/views/supply/apply/components/apply_return_form.vue

@@ -707,9 +707,11 @@ export default {
               this.$errorMsg('请输入申请数量')
               return
             }
-            if (Number(this.goodsList[i].invoiceNum) > 0) {
-              this.$errorMsg('申请数量需为负数')
-              return
+            if (this.goodsList[i].type == 2) {
+              if (Number(this.goodsList[i].invoiceNum) > 0) {
+                this.$errorMsg('申请数量需为负数')
+                return
+              }
             }
           }
           // if(!this.screenForm.warehouse) {