Browse Source

前端gly

gjy 4 years ago
parent
commit
b270ef0f3d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/warehouse/warehouseManagementEdit.vue

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

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