소스 검색

【修改】bug

howie 2 년 전
부모
커밋
2ef03f2509
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/supply/apply/components/apply_form.vue
  2. 1 1
      src/views/supply/apply/components/engin_form.vue

+ 1 - 1
src/views/supply/apply/components/apply_form.vue

@@ -478,7 +478,7 @@ export default {
             return this.$errorMsg('请添加引用');
           }
           for(let i=0; i<this.goodsList.length; i++) {
-            if(!this.goodsList[i].invoiceNum) {
+            if(!Number(this.goodsList[i].invoiceNum)) {
               this.$errorMsg('请输入申请数量');
               return;
             }

+ 1 - 1
src/views/supply/apply/components/engin_form.vue

@@ -715,7 +715,7 @@ export default {
             return this.$errorMsg('请添加引用');
           }
           for(let i=0; i<this.goodsList.length; i++) {
-            if(!this.goodsList[i].invoiceNum) {
+            if(!Number(this.goodsList[i].invoiceNum)) {
               this.$errorMsg('请输入申请数量');
               return;
             }