|
@ -373,7 +373,7 @@ |
|
|
if (res == null) { |
|
|
if (res == null) { |
|
|
that.showMessage('目标库位【' + locationCode + '】不存在'); |
|
|
that.showMessage('目标库位【' + locationCode + '】不存在'); |
|
|
} else { |
|
|
} else { |
|
|
if (res.type == 2 || res.type == 6|| res.type ==3) { |
|
|
if (res.type == 2 || res.type == 6||res.type == 4) { |
|
|
|
|
|
|
|
|
showConfirmMsg('是否要将所有未扫描目标库位的零件,指定目标库位【' + locationCode + '】', |
|
|
showConfirmMsg('是否要将所有未扫描目标库位的零件,指定目标库位【' + locationCode + '】', |
|
|
confirm => { |
|
|
confirm => { |
|
@ -390,7 +390,7 @@ |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} else { |
|
|
} else { |
|
|
that.showMessage('目标库位的库位类型必须是【原料库】或【隔离库】或【半成品库】') |
|
|
that.showMessage('目标库位的库位类型必须是【原料库】或【隔离库】或【成品库】') |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
uni.hideLoading(); |
|
|
uni.hideLoading(); |
|
@ -420,10 +420,10 @@ |
|
|
that.showMessage('目标库位【' + code + '】不存在'); |
|
|
that.showMessage('目标库位【' + code + '】不存在'); |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
|
|
|
if (res.type == 2 || res.type == 6|| res.type == 3) { |
|
|
if (res.type == 2 || res.type == 6||res.type == 4) { |
|
|
this.handledToLocation(this.currentItem, res); |
|
|
this.handledToLocation(this.currentItem, res); |
|
|
} else { |
|
|
} else { |
|
|
this.showMessage('目标库位必须是原料库或者隔离库或者半成品库') |
|
|
this.showMessage('目标库位必须是原料库或者隔离库或者成品库') |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
uni.hideLoading(); |
|
|
uni.hideLoading(); |
|
|