Przeglądaj źródła

fix: 工程机选择数据不能清空

zh 2 lat temu
rodzic
commit
ab13ce0649

+ 3 - 4
src/views/supply/pickup/components/pickup_form.vue

@@ -569,10 +569,9 @@ export default {
             }
           }
           if (e == 1) {
-            console.log(item.copyRefLinkman, item.refLinkman)
-            item.refLinkman = item.copyRefLinkman || item.copyReceivingName
-            item.refPhone = item.copyRefPhone || item.copyPhone
-            item.refInstallAddress = item.copyRefInstallAddress || item.copyAddress
+            item.refLinkman = item.copyRefLinkman || item.copyReceivingName  || item.refLinkman 
+            item.refPhone = item.copyRefPhone || item.copyPhone ||  item.refPhone 
+            item.refInstallAddress = item.copyRefInstallAddress || item.copyAddress || item.refInstallAddress 
           }
           if (e == 2) {
             item.receivingName = item.copyReceivingName