Browse Source

fix:默认1改为0

zh 2 năm trước cách đây
mục cha
commit
bd9b99294f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/supply/engin/components/engin_form.vue

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

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