ccj 2 years ago
parent
commit
2892ef4e59
1 changed files with 8 additions and 7 deletions
  1. 8 7
      src/views/warehousenew/transformation.vue

+ 8 - 7
src/views/warehousenew/transformation.vue

@@ -203,13 +203,7 @@ export default {
     },
     //新增折转
     addTurnAround() {
-      turnAroundXiaLa({
-        id: this.warehouseId,
-      })
-        .toPromise()
-        .then((response) => {
-          this.goodsNameList = response
-        })
+      
       turnAroundGoodsNameAll({
         constId: 'CON2',
       })
@@ -254,6 +248,13 @@ export default {
     binNo(e) {
       this.transformationAdd.beforeBinNo = this.binNoList[e].binNumber
       this.transformationAdd.positionId = this.binNoList[e].id
+      turnAroundXiaLa({
+        id: this.transformationAdd.positionId,
+      })
+        .toPromise()
+        .then((response) => {
+          this.goodsNameList = response
+        })
     },
     binNo1(e) {
       this.transformationAdd.afterBinNo = this.binNoList[e].binNumber