فهرست منبع

fix:增加默认值

zh 2 سال پیش
والد
کامیت
e29989cc5f
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      src/views/supply/engin/components/engin_form.vue

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

@@ -859,9 +859,9 @@ 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 = ''
         }