#
whycq
2023-04-12 a6d8fdbf7979ce4c217563d0c62494cc03893021
pages/basics/outPakin.vue
@@ -148,8 +148,8 @@
            hide:true,
            ownerList: [],
            ownerList2: '',
            owner: '',
            ownerId: 0
            owner: '亚和',
            ownerId: 2
            
         }
      },
@@ -185,7 +185,6 @@
               url: that.commonUrl + '/locOwner/list/auth',
               header: {'token':uni.getStorageSync('token')},
               success(result) {
                  console.log(result);
                  for (var i = 0; i < result.data.data.records.length; i++) {
                     if(result.data.data.records[i].id == 1){
                        break
@@ -207,7 +206,6 @@
                  this.ownerId = this.ownerList2[key].id
               }
            }
            console.log(this.ownerId);
         },
         radioChange(evt) {
            for (let i = 0; i < this.origins.length; i++) {
@@ -231,7 +229,7 @@
                data: JSON.stringify({
                  barcode: that.barcode,
                  origin: that.origin,
                  owner: that.owner,
                  owner: that.ownerId,
                  combMats: that.matList
               }),
               method: 'POST',