zhangyuewww 3 yıl önce
ebeveyn
işleme
a9980cd978

+ 0 - 1
src/views/houseSelfCollect/acquisitionManagement.vue

@@ -170,7 +170,6 @@
       getWarehouseSelf() {
         selectWarehouseSelf({
           compId: this.compId,
-          personCharge: this.accountName,
         }).toPromise().then((response) => {
           console.log(response)
           this.warehouseList = response

+ 0 - 1
src/views/houseSelfCollect/inspectionManagement.vue

@@ -217,7 +217,6 @@ export default {
     selectWarehouse(){
        selectWarehouseSelf({
         compId: sessionStorage.getItem('ws-pf_compId'),
-        personCharge: sessionStorage.getItem('ws-pf_staffName'),
       })
         .toPromise()
         .then((response) => {

+ 0 - 1
src/views/houseSelfCollect/paymentManagement.vue

@@ -304,7 +304,6 @@ export default {
     this.userJurisdiction = getHp('acquisitionManagement.acquisitionPay.print')
     selectWarehouseSelf({
       compId: sessionStorage.getItem('ws-pf_compId'),
-      personCharge: sessionStorage.getItem('ws-pf_staffName'),
     })
       .toPromise()
       .then((response) => {

+ 0 - 1
src/views/houseSelfCollect/weighingManagement.vue

@@ -256,7 +256,6 @@ export default {
     selectWarehouse(){
       selectWarehouseSelf({
         compId: sessionStorage.getItem('ws-pf_compId'),
-        personCharge: sessionStorage.getItem('ws-pf_staffName'),
       })
         .toPromise()
         .then((response) => {

+ 0 - 1
src/views/outboundManagement/qualityInspectionManagement.vue

@@ -142,7 +142,6 @@ export default {
     getList() {
       selectWarehouseSelf({
         compId: sessionStorage.getItem('ws-pf_compId'),
-        personCharge: sessionStorage.getItem('ws-pf_staffName'),
       })
         .toPromise()
         .then((response) => {

+ 0 - 1
src/views/outboundManagement/weighingManagement.vue

@@ -191,7 +191,6 @@
 			selectWarehouse() {
 				selectWarehouseSelf({
 						compId: sessionStorage.getItem('ws-pf_compId'),
-						personCharge: sessionStorage.getItem('ws-pf_staffName'),
 					})
 					.toPromise()
 					.then((response) => {

+ 16 - 2
src/views/warehouse/warehouseManagementAdd.vue

@@ -75,13 +75,14 @@
           <el-select
             v-model="deptBudgetList.otherPersonCharge"
             placeholder="请选择其他负责人"
+            @change="selectstaffOther"
             multiple
           >
             <el-option
-              v-for="item in options"
+              v-for="item in optionsOther"
               :key="item.value"
               :label="item.staffName"
-              :value="item.staffName"
+              :value="item.staffName + ' ' + item.staffMobilePhone "
             />
           </el-select>
         </ws-form-item>
@@ -274,6 +275,7 @@ export default {
       radio: 1,
       personCharge: [],
       options: [],
+      optionsOther: [],
       staffList: [],
       polygons: [
         {
@@ -356,6 +358,14 @@ export default {
         this.options = this.staffList
       }
     },
+    selectstaffOther(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
+      //   }
+      // }
+    },
     selectstaff(e) {
       for (var i = 0; i < this.staffList.length; i++) {
         if (this.staffList[i].staffName == e) {
@@ -690,8 +700,12 @@ export default {
         .then((response) => {
           // this.agent = response
           this.options = response
+          this.optionsOther = response
           this.staffList = response
           this.personCharge = response
+          // for(var i=0;i<response.length;i++){
+          //   this.optionsOther.push(response[i].staffName+" "+response[i].staffMobilePhone)
+          // }
         })
     },
     selectChapterTwo(e) {

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

@@ -85,10 +85,10 @@
             multiple
           >
             <el-option
-              v-for="item in options"
+              v-for="item in optionsOther"
               :key="item.value"
               :label="item.staffName"
-              :value="item.staffName"
+              :value="item.staffName + ' ' + item.staffMobilePhone "
             />
           </el-select>
         </ws-form-item>
@@ -311,6 +311,7 @@ export default {
         },
       },
       options: [],
+      optionsOther: [],
       value: '',
       accessoryTFs: false,
       addressUrls: [],
@@ -322,6 +323,7 @@ export default {
       .toPromise()
       .then((response) => {
         this.options = response
+        this.optionsOther = response
         this.staffList = response
       })
     this.showType = this.isShow