Parcourir la source

经销商提货列表详情

zhouhao il y a 2 ans
Parent
commit
9d79a889f6
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/views/supply/pickup/components/pickup_form.vue

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

@@ -448,11 +448,13 @@ export default {
             this.mainForm.company = item.logisticsCompany
             this.logisticsNumber = item.logisticsNumber
             if (this.logisticsNumber === '001' && this.deliverList && this.deliverList.length) {
-              this.deliverList.forEach(k => {
+              if (!this.listItem) {
+                this.deliverList.forEach(k => {
                 this.$set(k, 'receivingName', '')
                 this.$set(k, 'phone', '')
                 this.$set(k, 'address', '')
               })
+              }
             }
           })
         }else if (this.isFront===false) {