소스 검색

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

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