gjy vor 4 Jahren
Ursprung
Commit
b270ef0f3d
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/views/warehouse/warehouseManagementEdit.vue

+ 2 - 2
src/views/warehouse/warehouseManagementEdit.vue

@@ -69,6 +69,7 @@
             class="readonly"
           >
             <ws-input
+              :readonly="true"
               v-model="deptBudgetList.personPhone"
               placeholder="请输入负责人电话"
               maxlength="100"
@@ -316,7 +317,6 @@ export default {
   },
   methods: {
     dataFilter(val) {
-      console.log(val)
       this.deptBudgetList.personCharge = val
       if (val) {
         //val存在
@@ -328,7 +328,6 @@ export default {
             return true
           }
         })
-        console.log(this.options)
       } else {
         //val为空时,还原数组
         this.options = this.staffList
@@ -337,6 +336,7 @@ export default {
     selectstaff(e) {
       for (var i = 0; i < this.staffList.length; i++) {
         if (this.staffList[i].staffName == e) {
+          this.deptBudgetList.personPhone = this.staffList[i].staffMobilePhone
           this.deptBudgetList.personChargeKey = this.staffList[i].staffId
         }
       }