소스 검색

fix:取反

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

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

@@ -859,7 +859,7 @@ export default {
 
       this.goodsList = this.goodsList.concat(this.rightGoodsList)
       this.goodsList.forEach(k => {
-        if (k.qty) {
+        if (!k.qty) {
           k.qty = 0
         }
         if (!k.cid) {