Explorar el Código

经销商提货列表详情

zhouhao hace 2 años
padre
commit
9d79a889f6
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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) {