浏览代码

【修改】零售发货申请单、工程发货申请

howie 2 年之前
父节点
当前提交
9e37863671
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      src/views/supply/apply/components/engin_return_form.vue

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

@@ -915,9 +915,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) {