|
@@ -203,13 +203,15 @@ export default {
|
|
},
|
|
},
|
|
//新增折转
|
|
//新增折转
|
|
addTurnAround() {
|
|
addTurnAround() {
|
|
- turnAroundXiaLa({
|
|
|
|
|
|
+ if(this.warehouseType==2){
|
|
|
|
+ turnAroundXiaLa({
|
|
id: this.warehouseId,
|
|
id: this.warehouseId,
|
|
- })
|
|
|
|
|
|
+ })
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.goodsNameList = response
|
|
this.goodsNameList = response
|
|
})
|
|
})
|
|
|
|
+ }
|
|
turnAroundGoodsNameAll({
|
|
turnAroundGoodsNameAll({
|
|
constId: 'CON2',
|
|
constId: 'CON2',
|
|
})
|
|
})
|
|
@@ -252,6 +254,16 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
binNo(e) {
|
|
binNo(e) {
|
|
|
|
+ if(this.warehouseType==1){
|
|
|
|
+ turnAroundXiaLa({
|
|
|
|
+ id: this.binNoList[e].id,
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.goodsNameList = response
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+
|
|
this.transformationAdd.beforeBinNo = this.binNoList[e].binNumber
|
|
this.transformationAdd.beforeBinNo = this.binNoList[e].binNumber
|
|
this.transformationAdd.positionId = this.binNoList[e].id
|
|
this.transformationAdd.positionId = this.binNoList[e].id
|
|
},
|
|
},
|